01: Install & First Contact
20 minutes | You need: a real project, admin access, internet
How Claude Thinks
Section titled “How Claude Thinks”Before you type anything, understand the engine. Claude Code is an agentic loop: you give a prompt, Claude decides which tools to use (read files, search code, run commands, edit files), executes them, reads the results, and decides next steps. It repeats until the task is done or it needs your input.
There is no pre-indexing, no background embedding, no project database. Claude reads your codebase on-demand using filesystem tools (Glob for finding files, Grep for searching content, Read for reading them). This means:
- First prompt in a new session is slower (Claude is mapping your project)
- Claude only knows what it has read — it can miss things in files it hasn’t opened
- Your first exploratory question builds context that improves everything after
This matters because context is finite. Every file Claude reads, every tool output, every message — it all consumes tokens from a shared window. You’ll learn to manage this in Module 4. For now, just know: Claude is not omniscient, it’s an agent that reads and acts.
Install
Section titled “Install”| Platform | Command |
|---|---|
| Linux | curl -fsSL https://claude.ai/install.sh | bash |
| Windows | irm https://claude.ai/install.ps1 | iex |
| Homebrew | brew install --cask claude-code |
| winget | winget install Anthropic.ClaudeCode |
| VS Code | code --install-extension anthropic.claude-code |
Verify: claude --version
Launch
Section titled “Launch”cd your-projectclaudeBrowser opens for one-time auth. Credentials stored in ~/.claude/.
Do This
Section titled “Do This”1. Explore your project
Section titled “1. Explore your project”What does this project do? Describe the architecture, main entry points, and how data flows through it.Review the output. Notice how Claude uses tools — it’s reading files, searching for patterns, building understanding. Did it get the structure right?
2. Find and fix something real
Section titled “2. Find and fix something real”Don’t add a comment. Do real work:
Find a potential bug, code smell, or missing error handler in [specific module]. Explain the issue and fix it.If you don’t have a known issue, try:
Run the tests and fix any failures. If all tests pass, find an untested edge case and add a test for it.Watch the agentic loop in action: Claude reads code, reasons about it, makes changes, runs tests, reads results, iterates.
3. Learn the controls
Section titled “3. Learn the controls”Try each of these now:
| Command | What it does |
|---|---|
Shift+Tab | Cycle permission modes: Normal → Auto-Accept Edits → Plan Mode |
Ctrl+O | Toggle verbose/transcript output |
Ctrl+R | Reverse search conversation history |
Ctrl+G | Open prompt in external editor |
\ + Enter or Ctrl+J | Insert a newline |
Esc | Stop Claude mid-generation (keeps context) |
Esc Esc | Rewind to a previous checkpoint (undo changes) |
!command | Run a shell command inline — output goes into context so Claude can see it |
@file | Add a file or folder to context with autocomplete |
/command | Slash commands (e.g. /vibe, /context, /help) |
Permission modes matter
Section titled “Permission modes matter”Shift+Tab cycles through three modes that control how much autonomy Claude has:
- Normal — Claude asks permission for edits and commands (start here)
- Auto-Accept Edits (
acceptEdits) — Claude edits files without asking, but still asks before running shell commands - Plan Mode — Claude can only read and plan, not write files or run shell commands (Module 3)
Full auto-accept (bypassPermissions) requires --allow-dangerously-skip-permissions or --enable-auto-mode and is not in the default Shift+Tab cycle.
Power moves
Section titled “Power moves”claude --continueorclaude -c— resume your most recent sessionclaude --resume— pick from a list of previous sessionsEsc Esc— checkpoint rewind. Claude creates restore points before edits. Double-escape lets you undo back to any checkpoint. This is your safety net.
Artifact
Section titled “Artifact”Claude Code installed, authenticated, and working on your real project. A real fix or improvement (not a comment) — on a branch, with the diff reviewed before committing.
Go Deeper
Section titled “Go Deeper”Playbook M01 — How LLMs Work for the mental model of what’s happening under the hood — why Claude hallucinates, how context windows work, and what “autoregressive generation” means for code quality.