Quick Start
Get Claude Code running in 10 easy steps
title: "Quick Start" description: "Get Claude Code running in 10 easy steps" section: "Getting Started" readTime: "10 min" badge: "NEW"
Quick Start: The Developer's Way
Most developers use Claude Code like ChatGPT. Here's the setup that actually works.
Installation
Choose your method:
Native (Recommended)
curl -fsSL https://claude.ai/install.sh | bashWindows PowerShell
irm https://claude.ai/install.ps1 | iexnpm Alternative
npm install -g @anthropic-ai/claude-codeStep 1: Verify Installation
claude --versionYou should see: Claude Code 1.x.x
Step 2: Authenticate
claude auth loginFollow the browser prompt to authenticate with your Anthropic account.
Step 3: Initialize Your Project
Navigate to your project directory:
cd my-project
claude initThis creates .claude/ directory with default configuration.
Step 4: Create Your CLAUDE.md
This is your agent's constitution. Keep it under 200 lines.
## Tech Stack
- Node.js 20+
- TypeScript
- Next.js 15
- Tailwind CSS v4
## Conventions
- Use kebab-case for file names
- Use camelCase for variables/functions
- ESLint runs on pre-commit
## Architecture
- /src/app - Next.js App Router
- /src/components - React components
- /src/lib - Utilities and helpers
## Security
- Never commit .env files
- API keys in environment onlyStep 5: Your First Session
claude "Add a login form to the homepage with validation"Claude Code will:
- Review your CLAUDE.md and project structure
- Ask for permission to execute changes
- Write, test, and commit the code
Step 6: Review the Changes
Check what was changed:
git diffAll edits are git-trackable for safety.
Use Shift+Tab to cycle through permission modes: default → plan → auto → bypass
Step 7: Use Plan Mode for Complex Work
claude -p "Refactor the authentication module for OAuth2 support"Claude Code will show its plan first, let you review, then execute.
Step 8: Parallel Agent Teams
claude /batch "Task 1" "Task 2" "Task 3"Runs three independent agents in parallel.
Step 9: Manage Checkpoints
claude /checkpoint save "Feature complete"
claude /checkpoint list
claude /checkpoint restore "Feature complete"Git-based snapshots for safe experimentation.
Step 10: Advanced: Headless Mode
For CI/CD pipelines:
claude --accept-all "Run tests and deploy" 2>&1 | tee log.txtPre-Session Checklist
Next Steps
- Read Agent Development Kit to unlock advanced features
- Browse Cheatsheet for 85 commands
- Check Security for production setup