Walkthrough

Install the CLI

Get Claude Code running on your machine and verify the install.

Steps · 0 / 4 done
  1. Install via npm

    Claude Code ships as an npm package. Run this in your terminal:

    npm install -g @anthropic-ai/claude-code
    VerifyWhen it finishes, `claude --version` should print a version number.
  2. Authenticate

    Launch Claude Code from any directory. The first run opens a browser window for OAuth login with your Claude account.

    claude
    VerifyAfter login the prompt becomes interactive and shows your working directory in the header.
  3. 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
    claude
    VerifyThe header shows the project path. Type "hi" to confirm the agent responds.
  4. 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.