Commit fa5bdad
fix(install): symlink into an on-PATH dir so
Root cause of 'command not found: insta' after the one-liner: we installed
only to ~/.insta/bin (never on PATH), so the recommended
'curl … | sh && insta project create' chain called insta in a shell whose
PATH the piped script can't change. Railway avoids this by installing where
PATH already looks (and sudo-escalating if needed). Now: after installing to
~/.insta/bin, symlink into a writable on-PATH dir (/usr/local/bin, else
~/.local/bin) so bare 'insta' resolves in the same shell with no reload;
fall back to profile-append + an explicit this-shell export only when no
such dir exists. Verified live: fresh install → 'command -v insta' resolves,
v0.0.13, no manual step.
Claude-Session: https://claude.ai/code/session_01GMbAe5K1RfwaAcge5inX7P
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>insta runs immediately (#41)1 parent 4a9875f commit fa5bdad
1 file changed
Lines changed: 34 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
122 | 139 | | |
123 | 140 | | |
124 | 141 | | |
| |||
130 | 147 | | |
131 | 148 | | |
132 | 149 | | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
142 | 167 | | |
143 | 168 | | |
144 | 169 | | |
| |||
0 commit comments