Claude Code is Anthropic's coding agent. It runs in a terminal window, not a browser tab, and it can read, write, and edit files in a folder you point it at. This lesson installs it on your Mac or Windows PC, signs you in, and has it create one file so you know it actually works.
By the end you have a working agent on your machine and a file it created for you.
Sign in at claude.com and confirm your plan is Pro, Max, Team, or Enterprise. Look in Settings for the plan name. Free Claude.ai is not enough for this. If you are not sure what you are on, check now, before you install anything.
Keep that browser tab logged in. The first time you run Claude Code, it opens a browser to finish login.
You are not installing an app from a store. You paste one command into a terminal window.
Mac: press Command + Space, type Terminal, press Enter. A window opens with a blinking cursor, lines usually start with % or $.
Windows: click Start, type PowerShell, open Windows PowerShell (not Command Prompt). The line should start with PS C:\Users\.... If you only see C:\Users\... with no PS, you are in Command Prompt. Close it and open PowerShell.
Leave this window open. You will paste one command into it.
Do not paste a command into a terminal because a page told you to. Before you run anything below, check it.
claude.ai. Nothing else.claude.ai, chatgpt.com, or x.ai. If you see a command anywhere claiming to be from this academy that points somewhere else, stop and do not run it.This takes thirty seconds and it is the habit that matters more than the install itself.
Copy only the line for your operating system. Paste it into Terminal (Mac) or PowerShell (Windows). Press Enter. Text will scroll. Wait until it finishes.
Mac:
curl -fsSL https://claude.ai/install.sh | bash
Windows (PowerShell):
irm https://claude.ai/install.ps1 | iex
On native Windows, Git for Windows is recommended so Claude Code can use Bash. If you skip it, Claude Code still runs and uses PowerShell instead.
After the install: close the terminal window completely, open a new one, then check the command exists:
claude --version
If the new window says the command is not found, the installer added itself to PATH but this window was opened before that happened. A fresh window almost always fixes it.
ai-setup-test (Finder or File Explorer is fine).claude and press Enter.Create a file named hello.txt in this folder. The file should contain the sentence: I am set up.
Approve the file write if Claude Code asks. Open the folder in Finder or File Explorer. You should see hello.txt. Open it. You should see that sentence. You did not type the file by hand. The agent did.
claude again and type /login if it offers that command.claude --version again.C:\Users\... prompt with no PS: that is Command Prompt, not PowerShell. Close it and open PowerShell instead.You can open a new terminal, cd into a folder, run claude, and get a reply. The hello.txt file exists on disk with the right sentence in it. That is a complete, working Claude Code setup on your computer.
Template included: Members get a printable one-page Claude Code setup card: both OS install commands, the verify checks from Step 3, and the exact first prompt to send. Find it in your member dashboard under Templates.
Short on time? Alliance Optimal will implement this end to end, wired into your stack, and hand you the keys.