This is the module that pays off most. Live sessions give a full room about an hour to get set up. Arrive with it done and you spend that hour learning instead of fighting an installer.
Most steps below are one line typed into a terminal.
Terminal, press Enter.PowerShell, press Enter.Paste a command, press Enter, read what it prints. That is all a terminal is.
Sign up at claude.ai. Pro is the plan to have for Claude Code. You can subscribe for one month and cancel after.
Download it from claude.com/download and sign in. It also gives you Claude Code in a window, for the times you would rather not use a terminal.
python3 --version
python --version
If you see a version of 3.11 or higher, move on. If not, install from python.org/downloads. On Windows, tick "Add python.exe to PATH" on the first installer screen, then close and reopen PowerShell.
git --version
Mac will offer to install it the first time you run that. On Windows, install Git for Windows. Claude Code works better with it on Windows.
curl -fsSL https://claude.ai/install.sh | bash
irm https://claude.ai/install.ps1 | iex
The installer prints nothing while it downloads. When it finishes, open a new terminal window and run:
claude --version
Then type claude and press Enter. The first launch opens your browser to sign in. Use the same account you put on Pro. Type /exit to leave.
primer. Copy it now. It is shown once.Menu names in the Console move around from time to time. If you cannot find one, look under Settings.
This keeps the key out of your code. Replace the placeholder with your real key.
echo 'export ANTHROPIC_API_KEY="paste-your-key-here"' >> ~/.zshrc source ~/.zshrc
setx ANTHROPIC_API_KEY "paste-your-key-here"
On Windows, close and reopen PowerShell after setx.
mkdir ~/bootcamp-primer cd ~/bootcamp-primer python3 -m venv .venv source .venv/bin/activate pip install anthropic
mkdir $HOME\bootcamp-primer cd $HOME\bootcamp-primer python -m venv .venv .venv\Scripts\Activate.ps1 pip install anthropic
The .venv lines create a private sandbox for this project's Python packages. You will use this same folder for every task in the primer. Each time you open a new terminal, cd into the folder and run the activate line again.
In your practice folder, with the virtual environment active, run these four lines one at a time.
python3 --version
git --version
claude --version
python3 -c "import anthropic; print('anthropic', anthropic.__version__)"python --version
git --version
claude --version
python -c "import anthropic; print('anthropic', anthropic.__version__)"| You see | Do this |
|---|---|
claude: command not found or "not recognized" | Open a brand new terminal window. If it still fails, the install folder is not on your PATH: see the troubleshooting link below. |
python: command not found on Mac | Use python3. After you activate the virtual environment, plain python works too. |
| "running scripts is disabled" when activating on Windows | Run Set-ExecutionPolicy -Scope CurrentUser RemoteSigned once, then activate again. |
No module named anthropic | The virtual environment is not active. Run the activate line, then pip install anthropic. |
| Claude Code asks whether to use an API key it found | Choose No, so it uses your Pro subscription. If you say Yes, Claude Code bills your API credits instead. Type /status inside Claude Code to see which one is active. |
Anthropic's own guide covers the rest: Troubleshoot installation and login. Stuck for more than 15 minutes? Stop, note the exact error text, and ask in the group. Someone has hit it already.
Next: make your first API call.