Course Home / Module 0: Getting Started

0.1: Installation

15 min

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:

  1. Run claude in your terminal
  2. Select “Claude account with subscription”
  3. Your browser will open for authentication
  4. Complete the sign-in process
  5. Return to terminal—you’re ready!

Troubleshooting

”command not found” error

On Mac/Linux:

  • Close and reopen your terminal
  • Or run: source ~/.bashrc (or ~/.zshrc for 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

CommandDescription
claudeStart Claude Code
claude --versionCheck installed version
/doctorRun diagnostics
/helpShow available commands

Next up: Download the course materials so you can start learning interactively.