Claude Code is an AI-powered coding assistant that understands your entire codebase and can work across multiple files and tools. It can be used in the terminal, IDE, desktop app, and browser.
A fully-featured CLI for using Claude Code directly in the terminal.
Native installation:
macOS / Linux / WSL:
curl -fsSL https://claude.ai/install.sh | bash
Windows PowerShell:
irm https://claude.ai/install.ps1 | iex
Windows CMD:
curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
Windows requires installing [Git for Windows](https://git-scm.com/downloads/win) first. Native installation will automatically update in the background.
brew install --cask claude-code
Homebrew installation does not auto-update. Run `brew upgrade claude-code` periodically to get the latest version.
winget install Anthropic.ClaudeCode
WinGet installation does not auto-update. Run `winget upgrade Anthropic.ClaudeCode` periodically to get the latest version.
After installation, please complete the Model Provider Configuration before starting to use it.
Provides inline diffs, @-mentions, plan reviews, and conversation history directly within the editor.
Or search for "Claude Code" in the extensions view (Cmd+Shift+X / Ctrl+Shift+X). After installation, open the command palette (Cmd+Shift+P / Ctrl+Shift+P), type "Claude Code", and select Open in New Tab.
Supports IntelliJ IDEA, PyCharm, WebStorm, and more, with interactive diff viewing and selective context sharing.
Install the Claude Code plugin from the JetBrains Marketplace, then restart your IDE.
claude --version
# Outputting a version number indicates successful installation
# Native installation auto-updates; other methods require manual updates:
brew upgrade claude-code # Homebrew
winget upgrade Anthropic.ClaudeCode # WinGet
# Uninstall
brew uninstall claude-code # Homebrew