Install Claude Code
Anthropic's agentic coding CLI for your terminal
Claude Code is Anthropic's command-line coding agent. It reads your codebase, edits files, runs commands, and ships changes — all from the terminal, driven by Claude.
curl -fsSL https://claude.ai/install.sh | bashOther install methods
brew install --cask claude-codenpm install -g @anthropic-ai/claude-code@latestirm https://claude.ai/install.ps1 | iexOther install methods
winget install Anthropic.ClaudeCodenpm install -g @anthropic-ai/claude-code@latestcurl -fsSL https://claude.ai/install.sh | bashOther install methods
npm install -g @anthropic-ai/claude-code@latestclaudeclaude --versionBefore you start
The native installer bundles its own runtime and auto-updates in the background. The npm route needs Node.js 22+.
Official documentation: Claude Code setup docs
Frequently asked questions
Is Claude Code free?
Claude Code is included with Claude Pro, Max, Team, and Enterprise plans, and is available through the Claude Developer Platform with pay-as-you-go API billing. The free plan does not include it.
Do I need Node.js to run Claude Code?
Only for the npm install route, which needs Node.js 22 or later. The native installer does not require Node.
How do I update Claude Code?
Native installs update automatically. For Homebrew or WinGet, run brew upgrade claude-code or winget upgrade Anthropic.ClaudeCode.
Claude and Claude Code are trademarks of Anthropic, PBC. cli-install.com is an independent resource and is not affiliated with or endorsed by the trademark owner.