Skip to content

Installation & Setup

macOS / Linux / WSL:

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

Windows PowerShell:

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

Homebrew (macOS):

Terminal window
brew install --cask claude-code

WinGet (Windows):

Terminal window
winget install Anthropic.ClaudeCode
Terminal window
cd your-project
claude

You’ll be prompted to log in via browser. Requires one of:

  • Claude Pro / Max subscription
  • Claude Team / Enterprise account
  • Anthropic API key
  • Third-party provider (AWS Bedrock, Google Vertex AI)
Terminal window
claude --version
claude doctor # detailed diagnostic
Terminal window
claude update # manual update

Or configure auto-updates in settings.json:

{
"autoUpdatesChannel": "latest" // or "stable"
}
ScopePathShared via Git?
Managed (org)System / MDM directoriesIT deployment
Local (personal).claude/settings.local.jsonNo (gitignored)
Project (team).claude/settings.jsonYes
User (all projects)~/.claude/settings.jsonNo

Priority order: Managed > Local > Project > User > CLI flags

.claude/settings.local.json
CLAUDE.local.md
.claude.local.json
  • Trick:irm on Windows, curl on Mac/Linux, doctor heals.”
  • Settings precedence = MLPU: Managed > Local > Project > User.
  • Say: install is one line; login is a browser tab.
  • Show: claude doctor — the health check they’ll use forever.
  • They’ll trip on: Homebrew/WinGet installs don’t auto-update (native does).

Learning path:00-overview.md · Index · ➡ 02-quickstart-first-session.md

Written by Fenil Patel