How to Install & Update Claude Code

Install Claude Code

Native installs are recommended — they auto-update in the background.

macOS / Linux / WSL — native install (auto-updates)

curl -fsSL https://claude.ai/install.sh | bash

Windows PowerShell — native install (auto-updates)

irm https://claude.ai/install.ps1 | iex

Requires Git for Windows.

Homebrew (macOS / Linux)

brew install --cask claude-code

WinGet (Windows)

winget install Anthropic.ClaudeCode

Check your current version

claude --version

Latest is v2.1.328 (144 changes). Release notes · All 444 releases

Update to Latest Version

Native installs auto-update. No action needed — Claude Code updates itself in the background.

For Homebrew or WinGet installations:

Homebrew (macOS / Linux)

brew upgrade claude-code

WinGet (Windows)

winget upgrade Anthropic.ClaudeCode

Recent Claude Code updates

Latest version: v2.1.328 published with 144 changes.

Troubleshooting