How to install Claude Code (October 2026)
Install Claude Code on macOS or Linux with curl -fsSL https://claude.ai/install.sh | bash, on Windows PowerShell with irm https://claude.ai/install.ps1 | iex, or with Homebrew (brew install --cask claude-code), WinGet (winget install Anthropic.ClaudeCode) or npm. Then run claude --version. You need a paid Claude plan or Console account: the free plan does not include Claude Code. Read from Anthropic's docs on Oct 27, 2026.
Free weekly brief: email newsletter · RSS
Evidence: Reported. Install commands are copied from Anthropic's setup docs read from the sources listed below on 2026-10-27 (America/Chicago). We did not run these products or models for this page; our separate smoke test of Claude Code is on its test log.
Install commands
| Method | Command | Notes |
|---|---|---|
| Native installer (macOS, Linux) | curl -fsSL https://claude.ai/install.sh | bash | Auto-updates |
| Windows PowerShell | irm https://claude.ai/install.ps1 | iex | Auto-updates |
| Homebrew | brew install --cask claude-code | Does not auto-update |
| WinGet | winget install Anthropic.ClaudeCode | Does not auto-update |
| npm | npm install -g @anthropic-ai/claude-code | Needs Node.js 22 or newer |
The docs also list apt, dnf and apk package repositories for Linux.
Check it worked
- Run
claude --versionto confirm the install. - Run
claude doctorto check the installation and configuration. - Run
claudein a project folder and sign in with a Pro, Max, Team or Enterprise account, or a Console account.
FAQ
How do I install Claude Code?
Run the native installer: curl -fsSL https://claude.ai/install.sh | bash on macOS or Linux, or irm https://claude.ai/install.ps1 | iex in Windows PowerShell. Homebrew, WinGet and npm also work (Anthropic docs, read Oct 27, 2026).
Do I need a paid plan to install Claude Code?
Installing is free, but using it needs a Pro, Max, Team, Enterprise or Console account, or Bedrock, Vertex AI or Foundry. The free claude.ai plan does not include Claude Code. See Claude Code pricing.
Does Claude Code update itself?
Native installs auto-update, per the docs. Homebrew and WinGet installs do not; update them with the package manager.
Sources
- Claude Code setup docs (fetched 2026-10-27)
Related
Page history
- : First published. Facts read from the sources listed below on this date.
Markdown version for agents: /what-is/how-to-install-claude-code.md
Free · weekly · about six minutes
Get The Weekly Verdict, free
What shipped this week, what is worth switching to, and what to ignore. We run what we can and label what we only read.
- One email a week. Each release gets one call: update now, worth a look, or skip.
- Every claim shows its evidence. Reported means we read the sources; Tested means we ran it, with the exact scope and the failures left in.
- A free AI Tools Cheat Sheet (web page and printable PDF) lands in your inbox when you confirm.
Free. Unsubscribe anytime. No spam. We email a confirmation link first and add you only after you click it. We use your email only to send this newsletter and never sell it. Privacy