Home › Claude Code course: 3 beginner lessons
Claude Code course: 3 beginner lessons
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
- You need a Claude Pro, Max, Ultra, Team or Enterprise plan, a Claude Console account, or access through a supported cloud provider.
- On macOS, Linux or WSL, install it with: curl -fsSL https://claude.ai/install.sh | bash
- On Windows PowerShell: irm https://claude.ai/install.ps1 | iex (Homebrew and WinGet installs also exist).
- Open a new terminal and check it worked: claude --version
- 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..
- Install Claude Code (see Sign up and log in) and confirm with claude --version.
- cd to your project's root folder and run claude.
- Sign in with your Claude account.
- Ask for a high-level overview of the codebase.
- Dig deeper: architecture, key data models, how authentication works.
Lesson 2: Teach it your project with CLAUDE.md
Each session starts fresh.
- Create a CLAUDE.md file in your project with coding standards, test commands and how the project is laid out.
- Keep instructions short and specific; Anthropic says that makes Claude follow them more consistently.
- If the repository already has an AGENTS.md, Claude Code can read it instead.
- Put rules for particular file types in .claude/rules/.
- Let auto memory save your corrections and preferences, and review it from time to time.
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.
- Start in plan mode with claude --permission-mode plan, or press Shift+Tab mid-session until the status bar shows “⏸ plan mode on”.
- Describe the change and read the proposed plan.
- Approve it (or edit it) before any file changes.
- For research-heavy questions, ask it to use a subagent so only the findings come back.
- In scripts, pipe text in and use -p, for example: git log --oneline -20 | claude -p "summarize these recent commits"
Sources
Also: All Anthropic products · Claude course · Claude features and prices · All tutorials