Install, configure, and start using Claude Code for real work in 5 minutes.
Claude Code is Anthropic's official CLI tool that puts Claude directly in your terminal. It can read and edit files, run commands, search codebases, create commits, manage pull requests, and handle complex multi-step engineering tasks. Think of it as a senior engineer pair-programming with you.
npm install -g @anthropic-ai/claude-code
Requires Node.js 18+. Alternatively, download the desktop app for Mac or Windows.
Run claude in your terminal. It will open a browser window to authenticate with your Anthropic account on first launch.
claude
Navigate to any project directory and launch Claude Code:
cd my-project
claude
Then just type what you want. Examples:
Drop a CLAUDE.md file in your repo root to give Claude persistent context about your project: build commands, architecture decisions, coding conventions, things to avoid. Claude reads it automatically every session.
# CLAUDE.md
## Build
npm run build && npm test
## Rules
- Use TypeScript strict mode
- No default exports
- Tests go in __tests__/ next to source
Type / to see available commands:
/help — see all commands/compact — compress conversation context/clear — start fresh/fast — toggle fast mode (same model, faster output)Claude Code supports MCP (Model Context Protocol) servers that extend its capabilities. Plugins can add integrations like iMessage, Slack, databases, and more.
/install-plugin imessage
See the iMessage setup guide for a full walkthrough.
"Fix the bug where users can't log in after password reset" beats "fix the login bug".
Claude will read relevant files before making changes. If it's heading in the wrong direction, just say so — it course-corrects well.
"How does the caching layer work?" or "What would break if I removed this middleware?" — Claude can explore your codebase and explain what it finds.
Ask "commit these changes" and Claude will stage, write a good commit message, and commit. It follows your repo's commit style.