Set Up Claude Code and Start Shipping in 10 Minutes
Your first project. 20 minutes.
Claude Code is Anthropic's agentic CLI. It lives in your terminal, reads your entire codebase, and handles multi-file edits, testing, and commits. This guide covers installation through a fully configured CLAUDE.md that makes Claude useful on day one.
Or follow the free guide below to set up on your own
Step by Step
Get Claude Code running in your project
Claude Code is an npm package. Install it globally so you can run it from any project directory.
npm install -g @anthropic-ai/claude-codeClaude Code authenticates via your Anthropic account. Run the command and follow the browser prompt.
claude
# Opens browser auth flow on first runCLAUDE.md is the project memory file Claude reads on every session. Document your project's commands, conventions, and context here.
# Project: My App
## Commands
- Build: `npm run build`
- Test: `npm test`
- Lint: `npm run lint`
## Stack
- Next.js 15 + TypeScript
- Supabase (use service_role only behind auth)
- Tailwind CSS
## Style
- Named exports only
- No `any` types — use `unknown` + narrowing
- Parameterized queries onlyCreate custom slash commands for repeated workflows. Store them in .claude/commands/ — Claude loads them automatically.
# .claude/commands/review.md
Review the current changes for:
- Security issues (injection, auth gaps)
- TypeScript errors
- Missing error handling
- Rate limiting on public endpointsCLAUDE.md Anatomy
What goes in your CLAUDE.md
CLAUDE.md is project memory. Claude reads it at the start of every session. A well-written CLAUDE.md eliminates repeating yourself and makes Claude consistently apply your project's standards.
Build, test, lint, and deploy commands. Claude runs these to verify its own changes.
## Commands
- Build: `npm run build`
- Test: `npm test --watch`Your tech stack, key services, and which patterns you use. Prevents Claude from suggesting incompatible approaches.
## Stack
- Next.js 15 App Router
- Supabase PostgreSQL
- Stripe for paymentsYour naming conventions, formatting rules, and patterns to follow or avoid.
## Style
- Named exports only
- No `any` types
- Tailwind classes onlyHardcode your security requirements so Claude always applies them without being asked.
## Security
- Rate limit every public endpoint
- Validate all inputs server-side
- No select(*) queriesWant it done right the first time?
Two options for teams and individuals who want expert setup rather than DIY.
- ✓Private GitHub repo with pre-built agents
- ✓Complete CLAUDE.md templates
- ✓Slash command library
- ✓All 7 learning tracks unlocked
- ✓Live setup on your actual codebase
- ✓Custom CLAUDE.md for your project
- ✓Slash commands built for your workflow
- ✓Recording to revisit later
Start free, upgrade when ready
Track 6 is free. Masterclass unlocks the full Claude Code course.