Course contents
Walkthrough
Install the CLI
Get Claude Code running on your machine and verify the install.
Note
You need a Claude account with a Pro or Max plan (or an Anthropic API key). The install itself is free — the agent needs the account to think with.
curl -fsSL https://claude.ai/install.sh | bashGood to know
Verify with
claude --version — a version number means the CLI is on your PATH and ready.Watch · Anthropic
Prefer an app over a terminal? Same agent, desktop surface — watch after the CLI install to see which home fits you.
Steps · 0 / 4 done
Install the CLI
Pick your platform in the tabs above and run the one-liner. The native installer is the recommended path — no Node.js required.
bashclaude --versionVerifyA version number prints. Ifcommand not found, open a fresh terminal so PATH changes load.Authenticate
Launch Claude Code from any directory. The first run opens a browser window for OAuth login with your Claude account.
bashclaudeVerifyAfter login the prompt becomes interactive and shows your working directory in the header.Pick a project
Quit (Ctrl+C twice) and re-run
claudefrom inside an existing repo. The directory you launch from becomes the working tree the agent can read and edit.bashcd ~/code/your-project claudeVerifyThe header shows the project path. Type "hi" to confirm the agent responds.Try a smoke test
Ask the agent to describe your repo. If it can list files and summarize the structure, your install is healthy.
promptWhat does this repo do? Read package.json and the README, then summarize in 3 lines.VerifyYou should see a Read tool call against your files, then a 3-line summary.
Check your understanding
Q1. Which folder becomes Claude Code's working tree?
· Tick off the 4 step(s) above.
· Score 100% on the quiz.