Claude Code Setup
Get up and running with Claude Code in just a few minutes
Installation
Choose your platform and install Claude Code:
macOS
brew install node
npm install -g @anthropic-ai/claude-code
npx @amirbrooks/claude-for-all-setupWindows
winget install OpenJS.NodeJS
npm install -g @anthropic-ai/claude-code
npx @amirbrooks/claude-for-all-setupLinux
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
sudo apt-get install -y nodejs
npm install -g @anthropic-ai/claude-code
npx @amirbrooks/claude-for-all-setupConfiguration
Set up your API key and preferences:
- Get your API key from Anthropic
- Set your API key:
claude-code config set-key YOUR_API_KEY - Verify installation:
claude-code --version
Advanced Settings (Optional)
Customize Claude Code to your preferences:
claude-code config set default-model claude-3-opus\nclaude-code config set fast-model claude-3-haikuYour First Project
Try one of these starter projects to see Claude Code in action:
- Todo App with AI Features:
claude-code "Create a Next.js todo app with AI task categorization" - Personal Portfolio:
claude-code "Build a portfolio site with Framer Motion animations" - API with Database:
claude-code "Create an Express API with JWT auth and PostgreSQL" - Real-time Chat App:
claude-code "Build a real-time chat app with Socket.io"