Overview changedoverview
Nearest release: v2.1.304, published 6 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 20 Oct 2026 02:34 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 30 Oct 2026 18:07 UTC.
Upstream edited
Recorded here
Lines+127added
Lines−127removed
From line
8
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits25to this page, all time
The whole hunk
from line 8, old and new numbered
/
from line 8
88
99Claude Code runs on several surfaces: the terminal, IDE extensions, a desktop app, and the web. Choose one from the tabs below to get started. Most surfaces require a [Claude subscription](https://claude.com/pricing?utm_source=claude_code\&utm_medium=docs\&utm_content=overview_pricing) or [Anthropic Console](https://platform.claude.com/) account. The Terminal CLI, VS Code, and JetBrains also support [third-party providers](https://code.claude.com/docs/en/third-party-integrations.md).
1010
11**Terminal**
11> [tab] Terminal
12>
13> The full-featured CLI for working with Claude Code directly in your terminal. Edit files, run commands, and manage your entire project from the command line.
14>
15> To install Claude Code, open a terminal and run the command for your system. If you haven't used a terminal before, the [terminal guide](https://code.claude.com/docs/en/terminal-guide) shows how to open one and paste the command.
16>
17> > [tab] Native Install (Recommended)
18> >
19> > **macOS, Linux, WSL:**
20> >
21> > ```bash theme={null}
22> > curl -fsSL https://claude.ai/install.sh | bash
23> > ```
24> >
25> > On Windows, your prompt shows `PS C:\` when you're in PowerShell and `C:\` without the `PS` when you're in CMD.
26> >
27> > **Windows PowerShell:**
28> >
29> > ```powershell theme={null}
30> > irm https://claude.ai/install.ps1 | iex
31> > ```
32> >
33> > **Windows CMD:**
34> >
35> > ```batch theme={null}
36> > curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
37> > ```
38> >
39> > The install command shows no progress while it downloads Claude Code. When the installer finishes, open a new terminal window and run `claude --version`. A working installation prints a version number. If your shell says `claude` isn't found or isn't recognized, the install directory isn't on your PATH yet: see [Fix your PATH](https://code.claude.com/docs/en/troubleshoot-install.md#command-not-found-claude-after-installation).
40> >
41> > If you see `The token '&&' is not a valid statement separator`, you're in PowerShell, not CMD. If you see `'irm' is not recognized as an internal or external command`, you're in CMD, not PowerShell.
42> >
43> > If the install command fails with `syntax error near unexpected token '<'`, a `403`, or any other error, see [Troubleshoot installation](https://code.claude.com/docs/en/troubleshoot-install.md#find-your-error) to match the error to a fix and for alternative install methods.
44> >
45> > [Git for Windows](https://git-scm.com/downloads/win) is recommended on native Windows so Claude Code can use the Bash tool. If Git for Windows is not installed, Claude Code uses PowerShell as the shell tool instead. WSL setups do not need Git for Windows.
46> >
47> > > [!NOTE]
48> > >
49> > > Native installations automatically update in the background to keep you on the latest version.
50>
51> > [tab] Homebrew
52> >
53> > ```bash theme={null}
54> > brew install --cask claude-code
55> > ```
56> >
57> > Homebrew offers two casks. `claude-code` tracks the stable release channel, which is typically about a week behind and skips releases with major regressions. `claude-code@latest` tracks the latest channel and receives new versions as soon as they ship.
58> >
59> > > [!NOTE]
60> > >
61> > > Homebrew installations do not auto-update. Run `brew upgrade claude-code` or `brew upgrade claude-code@latest`, depending on which cask you installed, to get the latest features and security fixes.
62>
63> > [tab] WinGet
64> >
65> > ```powershell theme={null}
66> > winget install Anthropic.ClaudeCode
67> > ```
68> >
69> > > [!NOTE]
70> > >
71> > > WinGet installations do not auto-update. Run `winget upgrade Anthropic.ClaudeCode` periodically to get the latest features and security fixes.
72>
73> You can also install with [apt, dnf, or apk](https://code.claude.com/docs/en/setup.md#install-with-linux-package-managers) on Debian, Fedora, RHEL, and Alpine.
74>
75> Then start Claude Code in any project. Replace `your-project` with the path to a project directory on your machine:
76>
77> ```bash theme={null}
78> cd your-project
79> claude
80> ```
81>
82> Claude Code prompts you to log in on first use. If you've set the `ANTHROPIC_API_KEY` environment variable and you approve the key when Claude Code asks whether to use it, Claude Code skips the login prompt. [Continue with the Quickstart →](https://code.claude.com/docs/en/quickstart.md)
83>
84> > [!TIP]
85> >
86> > See [advanced setup](https://code.claude.com/docs/en/setup.md) for installation options, manual updates, or uninstallation instructions. Visit [installation troubleshooting](https://code.claude.com/docs/en/troubleshoot-install.md) if you hit issues.
1287
13The full-featured CLI for working with Claude Code directly in your terminal. Edit files, run commands, and manage your entire project from the command line.
14
15To install Claude Code, open a terminal and run the command for your system. If you haven't used a terminal before, the [terminal guide](https://code.claude.com/docs/en/terminal-guide) shows how to open one and paste the command.
16
17**Native Install (Recommended)**
18
19**macOS, Linux, WSL:**
20
21```bash theme={null}
22curl -fsSL https://claude.ai/install.sh | bash
23```
24
25On Windows, your prompt shows `PS C:\` when you're in PowerShell and `C:\` without the `PS` when you're in CMD.
26
27**Windows PowerShell:**
28
29```powershell theme={null}
30irm https://claude.ai/install.ps1 | iex
31```
32
33**Windows CMD:**
34
35```batch theme={null}
36curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
37```
38
39The install command shows no progress while it downloads Claude Code. When the installer finishes, open a new terminal window and run `claude --version`. A working installation prints a version number. If your shell says `claude` isn't found or isn't recognized, the install directory isn't on your PATH yet: see [Fix your PATH](https://code.claude.com/docs/en/troubleshoot-install.md#command-not-found-claude-after-installation).
40
41If you see `The token '&&' is not a valid statement separator`, you're in PowerShell, not CMD. If you see `'irm' is not recognized as an internal or external command`, you're in CMD, not PowerShell.
42
43If the install command fails with `syntax error near unexpected token '<'`, a `403`, or any other error, see [Troubleshoot installation](https://code.claude.com/docs/en/troubleshoot-install.md#find-your-error) to match the error to a fix and for alternative install methods.
44
45[Git for Windows](https://git-scm.com/downloads/win) is recommended on native Windows so Claude Code can use the Bash tool. If Git for Windows is not installed, Claude Code uses PowerShell as the shell tool instead. WSL setups do not need Git for Windows.
46
47> [!NOTE]
88> [tab] VS Code
4889>
49> Native installations automatically update in the background to keep you on the latest version.
90> The VS Code extension provides inline diffs, @-mentions, plan review, and conversation history directly in your editor.
91>
92> * [Install for VS Code](vscode:extension/anthropic.claude-code)
93> * [Install for Cursor](cursor:extension/anthropic.claude-code)
94>
95> Or search for "Claude Code" in the Extensions view (`Cmd+Shift+X` on Mac, `Ctrl+Shift+X` on Windows/Linux). After installing, open the Command Palette (`Cmd+Shift+P` / `Ctrl+Shift+P`), type "Claude Code", and select **Open in New Tab**.
96>
97> [Get started with VS Code →](https://code.claude.com/docs/en/vs-code.md#get-started)
5098
51**Homebrew**
52
53```bash theme={null}
54brew install --cask claude-code
55```
56
57Homebrew offers two casks. `claude-code` tracks the stable release channel, which is typically about a week behind and skips releases with major regressions. `claude-code@latest` tracks the latest channel and receives new versions as soon as they ship.
58
59> [!NOTE]
99> [tab] Desktop app
60100>
61> Homebrew installations do not auto-update. Run `brew upgrade claude-code` or `brew upgrade claude-code@latest`, depending on which cask you installed, to get the latest features and security fixes.
101> A standalone app for running Claude Code outside your IDE or terminal. Review diffs visually, run multiple sessions side by side, schedule recurring tasks, and start cloud sessions.
102>
103> Download and install:
104>
105> * [macOS](https://claude.ai/api/desktop/darwin/universal/dmg/latest/redirect?utm_source=claude_code\&utm_medium=docs) (Intel and Apple Silicon)
106> * [Windows](https://claude.ai/api/desktop/win32/x64/setup/latest/redirect?utm_source=claude_code\&utm_medium=docs) (x64)
107> * [Windows ARM64](https://claude.ai/api/desktop/win32/arm64/setup/latest/redirect?utm_source=claude_code\&utm_medium=docs)
108> * On Ubuntu or Debian, where the app is in beta, install it with apt by following the [Linux install instructions](https://code.claude.com/docs/en/desktop-linux.md)
109>
110> After installing, launch Claude, sign in, and click the **Code** tab to start coding. The app includes Claude Code, so you don't need to install the CLI separately. A [paid subscription](https://claude.com/pricing?utm_source=claude_code\&utm_medium=docs\&utm_content=overview_desktop_pricing) is required.
111>
112> [Learn more about the desktop app →](https://code.claude.com/docs/en/desktop-quickstart.md)
62113
63**WinGet**
64
65```powershell theme={null}
66winget install Anthropic.ClaudeCode
67```
68
69> [!NOTE]
114> [tab] Web
70115>
71> WinGet installations do not auto-update. Run `winget upgrade Anthropic.ClaudeCode` periodically to get the latest features and security fixes.
116> Run Claude Code in your browser with no local setup. Kick off long-running tasks and check back when they're done, work on repos you don't have locally, or run multiple tasks in parallel. For a longer body of work, create a [project](https://code.claude.com/docs/en/claude-projects.md) and let Claude coordinate the parallel sessions for you. Available on desktop browsers and [the Claude app for iOS and Android](https://code.claude.com/docs/en/mobile.md).
117>
118> Start coding at [claude.ai/code](https://claude.ai/code).
119>
120> [Get started →](https://code.claude.com/docs/en/web-quickstart.md)
72121
73You can also install with [apt, dnf, or apk](https://code.claude.com/docs/en/setup.md#install-with-linux-package-managers) on Debian, Fedora, RHEL, and Alpine.
74
75Then start Claude Code in any project. Replace `your-project` with the path to a project directory on your machine:
76
77```bash theme={null}
78cd your-project
79claude
80```
81
82Claude Code prompts you to log in on first use. If you've set the `ANTHROPIC_API_KEY` environment variable and you approve the key when Claude Code asks whether to use it, Claude Code skips the login prompt. [Continue with the Quickstart →](https://code.claude.com/docs/en/quickstart.md)
83
84> [!TIP]
122> [tab] JetBrains
85123>
86> See [advanced setup](https://code.claude.com/docs/en/setup.md) for installation options, manual updates, or uninstallation instructions. Visit [installation troubleshooting](https://code.claude.com/docs/en/troubleshoot-install.md) if you hit issues.
124> A plugin for IntelliJ IDEA, PyCharm, WebStorm, and other JetBrains IDEs with interactive diff viewing and selection context sharing.
125>
126> Install the [Claude Code plugin](https://plugins.jetbrains.com/plugin/27310-claude-code-beta-) from the JetBrains Marketplace and restart your IDE. The plugin requires the Claude Code CLI, installed separately; see the [JetBrains setup steps](https://code.claude.com/docs/en/jetbrains.md#installation).
127>
128> [Get started with JetBrains →](https://code.claude.com/docs/en/jetbrains.md)
87129
88**VS Code**
89
90The VS Code extension provides inline diffs, @-mentions, plan review, and conversation history directly in your editor.
91
92* [Install for VS Code](vscode:extension/anthropic.claude-code)
93* [Install for Cursor](cursor:extension/anthropic.claude-code)
94
95Or search for "Claude Code" in the Extensions view (`Cmd+Shift+X` on Mac, `Ctrl+Shift+X` on Windows/Linux). After installing, open the Command Palette (`Cmd+Shift+P` / `Ctrl+Shift+P`), type "Claude Code", and select **Open in New Tab**.
96
97[Get started with VS Code →](https://code.claude.com/docs/en/vs-code.md#get-started)
98
99**Desktop app**
100
101A standalone app for running Claude Code outside your IDE or terminal. Review diffs visually, run multiple sessions side by side, schedule recurring tasks, and start cloud sessions.
102
103Download and install:
104
105* [macOS](https://claude.ai/api/desktop/darwin/universal/dmg/latest/redirect?utm_source=claude_code\&utm_medium=docs) (Intel and Apple Silicon)
106* [Windows](https://claude.ai/api/desktop/win32/x64/setup/latest/redirect?utm_source=claude_code\&utm_medium=docs) (x64)
107* [Windows ARM64](https://claude.ai/api/desktop/win32/arm64/setup/latest/redirect?utm_source=claude_code\&utm_medium=docs)
108* On Ubuntu or Debian, where the app is in beta, install it with apt by following the [Linux install instructions](https://code.claude.com/docs/en/desktop-linux.md)
109
110After installing, launch Claude, sign in, and click the **Code** tab to start coding. The app includes Claude Code, so you don't need to install the CLI separately. A [paid subscription](https://claude.com/pricing?utm_source=claude_code\&utm_medium=docs\&utm_content=overview_desktop_pricing) is required.
111
112[Learn more about the desktop app →](https://code.claude.com/docs/en/desktop-quickstart.md)
113
114**Web**
115
116Run Claude Code in your browser with no local setup. Kick off long-running tasks and check back when they're done, work on repos you don't have locally, or run multiple tasks in parallel. For a longer body of work, create a [project](https://code.claude.com/docs/en/claude-projects.md) and let Claude coordinate the parallel sessions for you. Available on desktop browsers and [the Claude app for iOS and Android](https://code.claude.com/docs/en/mobile.md).
117
118Start coding at [claude.ai/code](https://claude.ai/code).
119
120[Get started →](https://code.claude.com/docs/en/web-quickstart.md)
121
122**JetBrains**
123
124A plugin for IntelliJ IDEA, PyCharm, WebStorm, and other JetBrains IDEs with interactive diff viewing and selection context sharing.
125
126Install the [Claude Code plugin](https://plugins.jetbrains.com/plugin/27310-claude-code-beta-) from the JetBrains Marketplace and restart your IDE. The plugin requires the Claude Code CLI, installed separately; see the [JetBrains setup steps](https://code.claude.com/docs/en/jetbrains.md#installation).
127
128[Get started with JetBrains →](https://code.claude.com/docs/en/jetbrains.md)
129
130130## What you can do
131131
132132Here are some of the ways you can use Claude Code:
133133
134> **Automate the work you keep putting off**
134> [accordion] Automate the work you keep putting off
135135>
136136> Claude Code handles the tedious tasks that eat up your day: writing tests for untested code, fixing lint errors across a project, resolving merge conflicts, updating dependencies, and writing release notes.
137137>
from line 139
139139> claude "write tests for the auth module, run them, and fix any failures"
140140> ```
141141
142> **Build features and fix bugs**
142> [accordion] Build features and fix bugs
143143>
144144> Describe what you want in plain language. Claude Code plans the approach, writes the code across multiple files, and verifies it works.
145145>
146146> For bugs, paste an error message or describe the symptom. Claude Code traces the issue through your codebase, identifies the root cause, and implements a fix. See [common workflows](https://code.claude.com/docs/en/common-workflows.md) for more examples.
147147
148> **Create commits and pull requests**
148> [accordion] Create commits and pull requests
149149>
150150> Claude Code works directly with git. It stages changes, writes commit messages, creates branches, and opens pull requests.
151151>
from line 155
155155>
156156> In CI, you can automate code review and issue triage with [GitHub Actions](https://code.claude.com/docs/en/github-actions.md) or [GitLab CI/CD](https://code.claude.com/docs/en/gitlab-ci-cd.md).
157157
158> **Connect your tools with MCP**
158> [accordion] Connect your tools with MCP
159159>
160160> The [Model Context Protocol (MCP)](https://code.claude.com/docs/en/mcp.md) is an open standard for connecting AI tools to external data sources. With MCP, Claude Code can read your design docs in Google Drive, update tickets in Jira, pull data from Slack, or use your own custom tooling. The [MCP quickstart](https://code.claude.com/docs/en/mcp-quickstart.md) connects your first server end to end.
161161
162> **Customize with instructions, skills, and hooks**
162> [accordion] Customize with instructions, skills, and hooks
163163>
164164> [`CLAUDE.md`](https://code.claude.com/docs/en/memory) is a markdown file you add to your project root that Claude Code reads at the start of every session. Use it to set coding standards, architecture decisions, preferred libraries, and review checklists. If your repository already has an `AGENTS.md` for other coding agents, Claude Code [can read that](https://code.claude.com/docs/en/memory.md#agents-md) in place of a `CLAUDE.md`. Claude also builds [auto memory](https://code.claude.com/docs/en/memory.md#auto-memory) as it works, saving learnings across sessions without you writing anything.
165165>
from line 167
167167>
168168> [Hooks](https://code.claude.com/docs/en/hooks.md) let you run shell commands before or after Claude Code actions, like auto-formatting after every file edit or running lint before a commit.
169169
170> **Run agents in parallel and build custom agents**
170> [accordion] Run agents in parallel and build custom agents
171171>
172172> Spawn [multiple Claude Code agents](https://code.claude.com/docs/en/sub-agents.md) that work on different parts of a task simultaneously. A lead agent coordinates the work, assigns subtasks, and merges results.
173173>
174174> To run several full sessions in parallel and watch them from one screen, use [background agents](https://code.claude.com/docs/en/agent-view.md). For fully custom workflows, the [Agent SDK](https://code.claude.com/docs/en/agent-sdk/overview.md) lets you build your own agents powered by Claude Code's tools and capabilities, with full control over orchestration, tool access, and permissions.
175175
176> **Pipe, script, and automate with the CLI**
176> [accordion] Pipe, script, and automate with the CLI
177177>
178178> Claude Code is composable and follows the Unix philosophy. Pipe logs into it, run it in CI, or chain it with other tools:
179179>
from line 190
190190>
191191> See the [CLI reference](https://code.claude.com/docs/en/cli-reference.md) for the full set of commands and flags.
192192
193> **Schedule recurring tasks**
193> [accordion] Schedule recurring tasks
194194>
195195> Run Claude on a schedule to automate work that repeats: morning PR reviews, overnight CI failure analysis, weekly dependency audits, or syncing docs after PRs merge.
196196>
from line 198
198198> * [Desktop scheduled tasks](https://code.claude.com/docs/en/desktop-scheduled-tasks.md) run on your machine, with direct access to your local files and tools
199199> * [`/loop`](https://code.claude.com/docs/en/scheduled-tasks) repeats a prompt within a CLI session for quick polling
200200
201> **Work from anywhere**
201> [accordion] Work from anywhere
202202>
203203> Sessions aren't tied to a single surface. Move work between them as your context changes:
204204>
No line in this hunk matches that.