Setup — before Day 1
What Claude Code is. Claude Code is Claude — the same AI you might already use in a browser — running inside your terminal. The difference matters. In a browser tab, Claude can only see what you paste in. Here, it can read your files, create new ones, run commands, and help you build small tools. Your files stay on your computer, but what you type, Claude’s replies, and the contents of any file Claude reads are sent to Anthropic to generate each answer. How much it does without asking you is a setting, and you’ll set it below.
Open the Terminal. On your Mac:
- Press
Cmd + Space(this opens Spotlight search). - Type
Terminal. - Hit Enter.
A window opens with some text and a blinking cursor. That’s the terminal. You did it.
You’ll see something like this:
yourname@MacBook ~ %
This is called the prompt. The computer is waiting for you to type. The % (or sometimes $) means “I’m ready for instructions.”
What is “typing a command”? You type words at the prompt, then press Enter. The computer does the thing. That’s the whole interaction.
Try this. Type these letters exactly and press Enter:
pwd
You’ll see something like /Users/yourname. That just told you which folder you’re currently “in.” More on that tomorrow.
Install Claude Code. One command, once. Like getting a passport: you do it a single time, then you just travel. Copy this line, paste it into your terminal (Cmd+V), and press Enter:
curl -fsSL https://claude.ai/install.sh | bash
(On Windows, open PowerShell instead and run
irm https://claude.ai/install.ps1 | iex.
If your prompt doesn’t start with PS, you’re in CMD, and the command there is
curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd.
Anthropic’s terminal guide walks through Windows step by step. The daily commands in this program are written for a Mac, so expect some to differ.)
The command shows no progress while it downloads, so it may look stuck for a minute. Leave the window open and wait. When it finishes, you should see “Claude Code successfully installed!” You don’t need to install anything else first — the installer brings everything it needs. If something goes wrong, the official troubleshooting is at code.claude.com/docs/en/terminal-guide.
To check it worked, close the Terminal window and open a new one, then type:
claude --version
If you see a version number, you’re set. If instead it says command not found: claude, the install worked but your terminal doesn’t know where to look yet. Scroll up to the end of the installer’s output: under Setup notes it prints the exact line to copy and run (usually one that adds ~/.local/bin to your PATH). Run it, open a new Terminal window, and try claude --version again. The terminal guide has the same fix.
Log in (first run only). The first time you type claude, it will ask you to sign in — it opens a browser page, you approve it, and you’re back in the terminal. It uses your existing Claude account (a paid plan; Pro at $20/month is plenty for this program). You won’t be asked again.
Make Claude ask first. New installs usually start in auto mode, where a second AI model reviews each of Claude’s actions instead of you and blocks the ones that look risky. For this program you want Manual mode, where Claude stops and asks you before it edits files or runs commands. Once Claude is open, look at the line under the prompt. If it says auto mode on, press Shift + Tab once; it should change to manual mode on. You can also start Claude in Manual mode directly:
claude --permission-mode manual
Glance at that line each time you start a session. (If you’re comfortable editing a settings file, "defaultMode": "manual" under "permissions" in ~/.claude/settings.json makes Manual the default. Anthropic’s permission modes guide has the details.)
If anything ever looks off once Claude is installed and found — weird errors, login loops, an update that didn’t take — there’s a built-in checkup:
claude doctor
It checks the installation and settings and suggests fixes. (If the terminal can’t find claude at all, it can’t find claude doctor either; use the PATH fix above.)
/clinician-first-cli-session, and safe-start, a coaching skill whose hooks ask before destructive commands, risky git operations, and reads or writes outside the folder you are working in. The lesson installs for Claude Code and Codex both; safe-start is Claude Code only. It is a set of guardrails — not a sandbox, not a backup, and not anything to do with HIPAA.
curl -fsSL https://ai101.health/install | bash
You’re the one deciding. Claude will sometimes suggest commands, and in Manual mode it asks permission before changing a file or running a command. You are never required to say yes. If anything feels uncertain, you can ask what a command does before running it, ask Claude to explain its plan first, or just close the window and come back tomorrow. Nothing breaks if you pause.
OK. You’re ready.