setup.md +12 −12
13 13
14### Additional dependencies14### Additional dependencies
15 15
1616* **ripgrep**: Usually included with Claude Code. If search functionality fails, see [search troubleshooting](/en/docs/claude-code/troubleshooting#search-and-discovery-issues).* **ripgrep**: Usually included with Claude Code. If search functionality fails, see [search troubleshooting](/en/troubleshooting#search-and-discovery-issues).
17 17
18## Standard installation18## Standard installation
19 19
23 <Tab title="Native Install (Recommended)">23 <Tab title="Native Install (Recommended)">
24 **Homebrew (macOS, Linux):**24 **Homebrew (macOS, Linux):**
25 25
2626 ```sh theme={null} ```sh theme={null} theme={null} theme={null}
27 brew install --cask claude-code27 brew install --cask claude-code
28 ```28 ```
29 29
30 **macOS, Linux, WSL:**30 **macOS, Linux, WSL:**
31 31
3232 ```bash theme={null} ```bash theme={null} theme={null} theme={null}
33 curl -fsSL https://claude.ai/install.sh | bash33 curl -fsSL https://claude.ai/install.sh | bash
34 ```34 ```
35 35
36 **Windows PowerShell:**36 **Windows PowerShell:**
37 37
3838 ```powershell theme={null} ```powershell theme={null} theme={null} theme={null}
39 irm https://claude.ai/install.ps1 | iex39 irm https://claude.ai/install.ps1 | iex
40 ```40 ```
41 41
42 **Windows CMD:**42 **Windows CMD:**
43 43
4444 ```batch theme={null} ```batch theme={null} theme={null} theme={null}
45 curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd45 curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
46 ```46 ```
47 </Tab>47 </Tab>
49 <Tab title="NPM">49 <Tab title="NPM">
50 If you have [Node.js 18 or newer installed](https://nodejs.org/en/download/):50 If you have [Node.js 18 or newer installed](https://nodejs.org/en/download/):
51 51
5252 ```sh theme={null} ```sh theme={null} theme={null} theme={null}
53 npm install -g @anthropic-ai/claude-code53 npm install -g @anthropic-ai/claude-code
54 ```54 ```
55 </Tab>55 </Tab>
70 70
711. **Claude Console**: The default option. Connect through the Claude Console and complete the OAuth process. Requires active billing at [console.anthropic.com](https://console.anthropic.com). A "Claude Code" workspace will be automatically created for usage tracking and cost management. Note that you cannot create API keys for the Claude Code workspace - it is dedicated exclusively for Claude Code usage.711. **Claude Console**: The default option. Connect through the Claude Console and complete the OAuth process. Requires active billing at [console.anthropic.com](https://console.anthropic.com). A "Claude Code" workspace will be automatically created for usage tracking and cost management. Note that you cannot create API keys for the Claude Code workspace - it is dedicated exclusively for Claude Code usage.
722. **Claude App (with Pro or Max plan)**: Subscribe to Claude's [Pro or Max plan](https://claude.com/pricing) for a unified subscription that includes both Claude Code and the web interface. Get more value at the same price point while managing your account in one place. Log in with your Claude.ai account. During launch, choose the option that matches your subscription type.722. **Claude App (with Pro or Max plan)**: Subscribe to Claude's [Pro or Max plan](https://claude.com/pricing) for a unified subscription that includes both Claude Code and the web interface. Get more value at the same price point while managing your account in one place. Log in with your Claude.ai account. During launch, choose the option that matches your subscription type.
73733. **Enterprise platforms**: Configure Claude Code to use [Amazon Bedrock or Google Vertex AI](/en/docs/claude-code/third-party-integrations) for enterprise deployments with your existing cloud infrastructure.3. **Enterprise platforms**: Configure Claude Code to use [Amazon Bedrock or Google Vertex AI](/en/third-party-integrations) for enterprise deployments with your existing cloud infrastructure.
74 74
75<Note>75<Note>
7676 Claude Code securely stores your credentials. See [Credential Management](/en/docs/claude-code/iam#credential-management) for details. Claude Code securely stores your credentials. See [Credential Management](/en/iam#credential-management) for details.
77</Note>77</Note>
78 78
79## Windows setup79## Windows setup
94 94
95Claude Code offers multiple installation methods to suit different environments.95Claude Code offers multiple installation methods to suit different environments.
96 96
9797If you encounter any issues during installation, consult the [troubleshooting guide](/en/docs/claude-code/troubleshooting#linux-permission-issues).If you encounter any issues during installation, consult the [troubleshooting guide](/en/troubleshooting#linux-permission-issues).
98 98
99<Tip>99<Tip>
100 Run `claude doctor` after installation to check your installation type and version.100 Run `claude doctor` after installation to check your installation type and version.
173 173
174<Warning>174<Warning>
175 Do NOT use `sudo npm install -g` as this can lead to permission issues and security risks.175 Do NOT use `sudo npm install -g` as this can lead to permission issues and security risks.
176176 If you encounter permission errors, see [configure Claude Code](/en/docs/claude-code/troubleshooting#linux-permission-issues) for recommended solutions. If you encounter permission errors, see [configure Claude Code](/en/troubleshooting#linux-permission-issues) for recommended solutions.
177</Warning>177</Warning>
178 178
179### Local installation179### Local installation
186 186
187By default, Claude Code uses the Claude API.187By default, Claude Code uses the Claude API.
188 188
189189For details on running Claude Code on AWS or GCP, see [third-party integrations](/en/docs/claude-code/third-party-integrations).For details on running Claude Code on AWS or GCP, see [third-party integrations](/en/third-party-integrations).
190 190
191## Update Claude Code191## Update Claude Code
192 192
201 201
202**Disable auto-updates:**202**Disable auto-updates:**
203 203
204204Set the `DISABLE_AUTOUPDATER` environment variable in your shell or [settings.json file](/en/docs/claude-code/settings):Set the `DISABLE_AUTOUPDATER` environment variable in your shell or [settings.json file](/en/settings):
205 205
206```bash theme={null}206```bash theme={null}
207export DISABLE_AUTOUPDATER=1207export DISABLE_AUTOUPDATER=1