Skip to the workspace
Pebellslearn by building
Introduction  ›  Capstone Project

Setting Up Claude Code

Setting up Claude 15 minInstall Claude Code from the official instructions, then start every session in the project root, on a clean git state, with a read-only question first.

claude code / Setting Up Claude Code

Explore each scene at your own pace.

01 · The rule

The rule

Setting Up Claude Code

Installing Claude Code takes a few minutes. The habits you form in your first session — where you start it, what state your code is in, what you ask first — last much longer, so set them up on purpose.

The rule

Start in the project root, on a clean commit, with a question.

  1. Install. Use the method the official Claude Code documentation lists for your operating system, usually a one-line installer or a package manager. Install steps change over time, so follow the current page rather than an old blog post, then confirm the install worked.
  2. Sign in. The first launch walks you through logging in, either with a Claude subscription account or with an API account that is billed per use. Some companies connect it through their cloud provider instead.
  3. Start in the project root. The folder where you run claude becomes its workspace: it works on that folder and everything inside it.
  4. Start clean. Commit or stash your own work first, so every change Claude makes shows up as its own clear diff that you can review or throw away.
  5. Start with a question. Make your first prompt read-only: ask for a tour. You learn the project, and you learn how accurately Claude reads it before you let it change anything.
# after installing with the method the official docs give for your system
claude --version      # prints the installed version
cd ~/code/tiffin
git status            # want: "nothing to commit, working tree clean"
claude                # the first launch walks you through signing in

If something seems broken, the /doctor command inside a session checks the installation and reports problems, and /help lists what else is available.

Scene 1 of 5
Hover to wake the cannons. Drag to move, or use arrow keys when focused. Press Enter to fire a shot.