Prerequisites
Before installing Claude Code, make sure you have:
- Claude Pro or Max subscription ($20/month for Pro)
- Operating System: Mac (10.15+), Windows 10+, or Linux (Ubuntu 20.04+)
- RAM: 4GB minimum
- Internet connection
No coding tools required! Claude Code handles everything—you don’t need to install programming languages or development environments.
Installation Commands
Mac/Linux
Open Terminal and run:
curl -fsSL https://claude.ai/install.sh | bash
Mac (Homebrew)
If you use Homebrew:
brew install --cask claude-code
Windows
Open PowerShell (as Administrator) and run:
irm https://claude.ai/install.ps1 | iex
Verify Installation
After installation completes, verify it worked:
claude --version
You should see a version number like claude 1.x.x.
Authentication
The first time you run Claude Code, you’ll need to authenticate:
- Run
claudein your terminal - Select “Claude account with subscription”
- Your browser will open for authentication
- Complete the sign-in process
- Return to terminal—you’re ready!
Troubleshooting
”command not found” error
On Mac/Linux:
- Close and reopen your terminal
- Or run:
source ~/.bashrc(or~/.zshrcfor Zsh)
On Windows:
- Close and reopen PowerShell
- Make sure you ran PowerShell as Administrator
”Subscription required” error
Claude Code requires a paid subscription. Visit claude.ai to upgrade.
Permission issues
Mac/Linux:
chmod +x /usr/local/bin/claude
Windows:
- Ensure PowerShell is running as Administrator
General diagnostics
Run the doctor command:
/doctor
This checks your installation and reports any issues.
Command Reference
| Command | Description |
|---|---|
claude | Start Claude Code |
claude --version | Check installed version |
/doctor | Run diagnostics |
/help | Show available commands |
Next up: Download the course materials so you can start learning interactively.