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, IDEs, desktop apps, and browsers.
A fully featured CLI for using Claude Code directly in the terminal.
Native Install (Recommended)
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 [Git for Windows](https://git-scm.com/downloads/win) to be installed first. Native installation updates automatically in the background.
brew install --cask claude-code
Homebrew installation does not update automatically. Run `brew upgrade claude-code` regularly to get the latest version.
winget install Anthropic.ClaudeCode
WinGet installation does not update automatically. Run `winget upgrade Anthropic.ClaudeCode` regularly to get the latest version.
After installation, please complete Configure Model Provider before starting to use it.
Provides inline diffs, @-mentions, plan review, and conversation history directly in 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 selectable shared context.
Install the Claude Code plugin from JetBrains Marketplace, then restart the IDE.
claude --version
# If the version number is displayed normally, the installation was successful
# Native installation updates automatically; other methods require manual updates:
brew upgrade claude-code # Homebrew
winget upgrade Anthropic.ClaudeCode # WinGet
# Uninstall
brew uninstall claude-code # Homebrew