Home › Claude Code course: 3 beginner lessons

Claude Code course: 3 beginner lessons

Last checked

What it does

Claude Code is Anthropic's coding agent. You hand it a bug fix, tests or a migration and steer it from your terminal, IDE, desktop app, the web or Slack.

Who it's for: Developers, and people comfortable in a terminal, who want an AI agent to work on a real code project.

Made by Anthropic.

Sign up and log in
  1. You need a Claude Pro, Max, Ultra, Team or Enterprise plan, a Claude Console account, or access through a supported cloud provider.
  2. On macOS, Linux or WSL, install it with: curl -fsSL https://claude.ai/install.sh | bash
  3. On Windows PowerShell: irm https://claude.ai/install.ps1 | iex (Homebrew and WinGet installs also exist).
  4. Open a new terminal and check it worked: claude --version
  5. cd into your project, run claude and sign in when it asks.

Claude Code needs a paid plan. On claude.com/pricing, Pro is US$20/month billed monthly, or US$17/month with annual billing (US$200 up front); Max is US$100/month and Ultra US$200/month.

Lesson 1: Install Claude Code and explore a codebase

Start by asking Claude Code about code you already have: an overview first, then the parts you care about..

  1. Install Claude Code (see Sign up and log in) and confirm with claude --version.
  2. cd to your project's root folder and run claude.
  3. Sign in with your Claude account.
  4. Ask for a high-level overview of the codebase.
  5. Dig deeper: architecture, key data models, how authentication works.

Open lesson 1 →

Lesson 2: Teach it your project with CLAUDE.md

Each session starts fresh.

  1. Create a CLAUDE.md file in your project with coding standards, test commands and how the project is laid out.
  2. Keep instructions short and specific; Anthropic says that makes Claude follow them more consistently.
  3. If the repository already has an AGENTS.md, Claude Code can read it instead.
  4. Put rules for particular file types in .claude/rules/.
  5. Let auto memory save your corrections and preferences, and review it from time to time.

Open lesson 2 →

Lesson 3: Plan before editing, then script it

For bigger changes, plan mode makes Claude read and propose a plan with no edits until you approve.

  1. Start in plan mode with claude --permission-mode plan, or press Shift+Tab mid-session until the status bar shows “⏸ plan mode on”.
  2. Describe the change and read the proposed plan.
  3. Approve it (or edit it) before any file changes.
  4. For research-heavy questions, ask it to use a subagent so only the findings come back.
  5. In scripts, pipe text in and use -p, for example: git log --oneline -20 | claude -p "summarize these recent commits"

Open lesson 3 →

Sources

Start Lesson 1 →

Also: All Anthropic products · Claude course · Claude features and prices · All tutorials

Report an error on this page