Walkthrough
Install the CLI
Get Claude Code running on your machine and verify the install.
Steps · 0 / 4 done
Install via npm
Claude Code ships as an npm package. Run this in your terminal:
npm install -g @anthropic-ai/claude-codeVerifyWhen it finishes, `claude --version` should print a version number.Authenticate
Launch Claude Code from any directory. The first run opens a browser window for OAuth login with your Claude account.
claudeVerifyAfter login the prompt becomes interactive and shows your working directory in the header.Pick a project
Quit (Ctrl+C twice) and re-run `claude` from inside an existing repo. The directory you launch from becomes the working tree the agent can read and edit.
cd ~/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.
What 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.