Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-code

Advanced setup changedsetup

Upstream edited this page at 23 Nov 2026 04:18 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 23 Nov 2026 04:37 UTC.

Upstream edited
Recorded here
Lines+34added
Lines−12removed
From line 36 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits46to this page, all time

#### Custom launchers #### Restore the managed launcher

The whole hunk

from line 36, old and new numbered
/
lines
from line 36
3636>
3737> **macOS, Linux, WSL:**
3838>
39> ```bash theme={null}
39> ```bash theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null}
4040> curl -fsSL https://claude.ai/install.sh | bash
4141> ```
4242>
from line 44
4444>
4545> **Windows PowerShell:**
4646>
47> ```powershell theme={null}
47> ```powershell theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null}
4848> irm https://claude.ai/install.ps1 | iex
4949> ```
5050>
5151> **Windows CMD:**
5252>
53> ```batch theme={null}
53> ```batch theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null}
5454> curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
5555> ```
5656>
from line 68
6868 
6969> [tab] Homebrew
7070>
71> ```bash theme={null}
71> ```bash theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null}
7272> brew install --cask claude-code
7373> ```
7474>
from line 80
8080 
8181> [tab] WinGet
8282>
83> ```powershell theme={null}
83> ```powershell theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null}
8484> winget install Anthropic.ClaudeCode
8585> ```
8686>
from line 181
181181 
182182Run `claude doctor` in your shell to see the result of the last update attempt Claude Code recorded. On a native installation, if it reports a failed attempt, see [`Auto-update failed` in the session footer](https://code.claude.com/docs/en/troubleshoot-install#auto-update-failed) for what to do next.
183183 
184On macOS and Linux, the native installer manages the launcher at `~/.local/bin/claude` as a symlink into `~/.local/share/claude/versions/`. If you replace that launcher with your own script or symlink, auto-update and `claude update` leave it in place: new versions still install under the `versions/` directory, and your launcher decides which version runs.
185 
186With a custom launcher, Claude Code also keeps every installed version on disk because it can't tell which version the launcher needs. `claude doctor` reports a launcher that the native installer didn't create.
187 
188To let Claude Code manage the launcher again, remove `~/.local/bin/claude` and run `claude update`.
189 
190184If an npm global install can't auto-update because the npm global directory isn't writable, Claude Code shows a one-time notice at startup, and `claude doctor` lists the available fixes. See [permission errors during installation](https://code.claude.com/docs/en/troubleshoot-install.md#permission-errors-during-installation) for details.
191185 
192186> [!NOTE]
from line 195
201195>
202196> Homebrew keeps old versions on disk after upgrades. Run `brew cleanup` periodically to reclaim disk space.
203197 
198#### Custom launchers
199 
200On macOS and Linux, the native installer manages the launcher at `~/.local/bin/claude` as a symlink into `~/.local/share/claude/versions/`. If you replace it with your own script, your script stays in place through auto-update and `claude update`. New versions still install under `versions/`, but you keep running whichever version your launcher starts.
201 
202With a custom launcher, Claude Code also keeps every installed version on disk because it can't tell which version the launcher needs. `claude doctor` reports that the launcher `was not created by the native installer`.
203 
204#### Restore the managed launcher
205 
206To let Claude Code manage `~/.local/bin/claude` again, replace your custom launcher with a symlink to an installed version:
207 
2081. If you want to keep your launcher, copy `~/.local/bin/claude` to another folder. Step 3 overwrites it.
209 
2102. In your shell, list the installed versions:
211 
212 ```bash theme={null}
213 ls ~/.local/share/claude/versions/
214 ```
215 
2163. Create the symlink. For `VERSION`, use a version number from the list.
217 
218 ```bash theme={null}
219 ln -sfn ~/.local/share/claude/versions/VERSION ~/.local/bin/claude
220 ```
221 
2224. Run `claude doctor` and check that the launcher warning is gone.
223 
204224### Configure release channel
205225 
206226Control which release channel Claude Code follows for auto-updates and `claude update` with the `autoUpdatesChannel` setting:
from line 497
477497* **Delete an old version only when no machine can still be running it**: a machine can't see processes running on other machines, so checking for running processes before you delete isn't enough.
478498* **Turn off Claude Code's own updates**: set [`DISABLE_UPDATES`](https://code.claude.com/docs/en/env-vars) and install new versions with your own tooling. Otherwise an auto-update of an npm installation on one machine runs the same in-place upgrade and removes the binary that sessions on other machines are running. Setting `DISABLE_AUTOUPDATER` alone isn't enough, because users can still run `claude update` and `claude install`. See [Disable auto-updates](#disable-auto-updates).
479499 
480The native installer deletes old versions from `~/.local/share/claude/versions/` on its own, which matters when that directory is on shared storage. Besides the version the launcher points to and any version a session on the same machine is running, it keeps the two newest versions and deletes the rest. A session on another machine that is running a deleted version loses its binary. With a [custom launcher](#auto-updates), Claude Code keeps every installed version and leaves cleanup to you.
500The native installer deletes old versions from `~/.local/share/claude/versions/` on its own, which matters when that directory is on shared storage. Besides the version the launcher points to and any version a session on the same machine is running, it keeps the two newest versions and deletes the rest.
501 
502A session on another machine that is running a deleted version loses its binary. With a [custom launcher](#custom-launchers), Claude Code keeps every installed version and leaves cleanup to you.
481503 
482504### Binary integrity and code signing
483505 
Feedback