Commit 0b48956
Fix claude-code install at unsupported location (3.0.0)
The previous install copied the launcher shim from $HOME/.local/bin to
/usr/local/bin, which trips Claude Code's "unsupported install
location" check (the auto-updater can only manage paths matching the
canonical .claude/local/ + .local/bin/ layout) and breaks the launcher,
which expects supporting files at its original $HOME-relative path.
Run the official native installer with HOME pointed at the remote
user's home, producing the canonical layout, then chown the result.
Same root-not-sudo pattern as the nvm feature. Major bump because the
binary location changes.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 703f7c0 commit 0b48956
2 files changed
Lines changed: 13 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | 3 | | |
9 | 4 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
14 | 10 | | |
15 | 11 | | |
16 | | - | |
| 12 | + | |
17 | 13 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
21 | 18 | | |
22 | 19 | | |
23 | 20 | | |
24 | | - | |
| 21 | + | |
25 | 22 | | |
26 | 23 | | |
27 | 24 | | |
| |||
0 commit comments