How do I install Claude Code?
Categories:
Claude Code Developer Guide
Three steps, ~60 seconds total:
- Install the CLI:
npm i -g @anthropic-ai/claude-code(requires Node.js 18+). - Authenticate: Run
claude login— opens browser, signs in with your Anthropic account (Pro / Team / API). Or setANTHROPIC_API_KEYenv var if you’re using API direct. - Run it:
cdinto any repo, typeclaude, ask your first question. That’s it.
For corporate setups behind a proxy, see the 5-step setup section above. For Magento-specific install + CLAUDE.md, see our Magento playbook.
Was this helpful?