Claude Code cheatsheet
Claude Code: Install and start
6 common Claude Code tasks.
Install Claude Code
Install the CLI with npm. A native installer is also available; see the quickstart.
npm install -g @anthropic-ai/claude-code
Start a session
Start an interactive session in the current project. You are asked to sign in on first use.
claude
Diagnose problems
Check the installation and configuration for common problems. Inside a session, /doctor does the same.
claude doctor