Master the Claude Code CLI
Verified install commands, a full command & flag reference, an MCP server registry and battle-tested troubleshooting — copy-ready, and all in one place.
Everything, neatly organised
Jump straight to what you need — each hub is a growing library of focused, copy-ready guides.
Install & Setup
Native installers for macOS, Linux, WSL and Windows, plus auth and verification.
Get set up →Command Reference
Every command & flag — -p, -c, -r, --model, mcp, update.
Slash Commands
In-session commands like /init, /mcp, /compact, /review, /doctor.
MCP Registry
Install snippets & configs for GitHub, Postgres, Sentry, Slack, Filesystem and more.
Browse servers →Troubleshooting
Fix command not found, PATH, PowerShell, OAuth and MCP connection errors.
Workflows
CLAUDE.md, hooks, subagents, skills, GitHub Actions and CI/CD recipes.
See workflows →Install the Claude Code CLI
Pick your platform. Every command uses the recommended native installer and is copy-ready.
# Native installer (recommended — no Node.js required) curl -fsSL https://claude.ai/install.sh | bash # Or with Homebrew brew install --cask claude-code
# Inside your WSL2 shell curl -fsSL https://claude.ai/install.sh | bash
# Windows PowerShell (native — no WSL required) irm https://claude.ai/install.ps1 | iex
# Windows via WinGet winget install Anthropic.ClaudeCode
Then run claude --version and claude doctor to confirm. The older npm i -g @anthropic-ai/claude-code method is deprecated — prefer the native installers. Stuck? See the FAQ.
Built for developers in a hurry
No fluff, no sign-up walls — just the fastest path from problem to working command.
Verified & dated
Every command is tested and stamped with a “last verified” date, so you never copy something that’s gone stale.
Copy-ready
One-click copy on every snippet, with per-platform tabs so you grab exactly the command you need.
Deeply linked
Install → commands → MCP → troubleshooting all cross-link, so you’re never more than a click from the fix.
Popular MCP servers
Wire Claude up to your tools. Each links to an install & config guide.
Frequently asked questions
The essentials — with links to the full guides.
How do I install the Claude Code CLI?
Use the native installer: curl -fsSL https://claude.ai/install.sh | bash on macOS, Linux or WSL, or irm https://claude.ai/install.ps1 | iex in Windows PowerShell. Then verify with claude --version and claude doctor. Full steps in the install section.
What's the difference from Anthropic's official tools?
This site is an independent, community-maintained guide — not affiliated with Anthropic. We summarise, simplify and cross-link, and always point to the official documentation for canonical behaviour.
How do I add an MCP server?
Run claude mcp add --transport http <name> <url> for a remote server, or claude mcp add <name> -- <command> for a local one, then confirm with claude mcp list. See the MCP registry for per-server configs.
I get "command not found: claude" — how do I fix it?
The install directory isn’t on your PATH. Add ~/.local/bin to your PATH and restart your terminal, then run claude doctor.
Ready in under a minute
Install the CLI, connect your tools, and start shipping with Claude.
Get started →