Claude Code Course

Learn Claude Code from scratch: install it, write better prompts, configure projects, and automate real development work.

30 lessons · about 6 hours of reading · Free

Start lesson 1

Course syllabus30 Lessons

What Is Claude Code? A Beginner's Guide

Claude Code is an AI coding tool that reads your project, edits files and runs commands for you. Learn what it does, where it runs, and how it differs from chat tools and editor autocomplete.

8 min read

How to Install Claude Code and Sign In

A step-by-step guide to installing Claude Code on macOS, Linux and Windows, checking that it works, and signing in for the first time. No terminal experience needed.

9 min read

Your First Claude Code Session, Step by Step

Walk through a complete first session with Claude Code. Ask a question, approve your first change, check the result, refine it, and resume the conversation later.

9 min read

Claude Code Terminal Interface and Keyboard Shortcuts

Learn how the Claude Code terminal works. Master the special characters, slash commands and keyboard shortcuts that make everyday use faster, with a printable cheat sheet.

10 min read

Claude Code Models, Effort Levels and Fast Mode Explained

Learn how to choose a model in Claude Code, what effort levels do, and when fast mode is worth paying for. A plain-language guide with a starting-point table for common jobs.

10 min read

How Claude Code Works: The Agent Loop, Tools and Context

Understand what Claude Code does behind the scenes. Learn the three-phase agent loop, the tools it uses, what it can see in your project, and how the context window shapes every answer.

10 min read

Claude Code Plan Mode: Think Before You Build

Plan mode lets Claude Code research your project and propose a plan before it changes anything. Learn how to turn it on, read and edit a plan, and when it is worth using.

9 min read

Claude Code Permission Modes and Permission Rules Explained

Learn what Claude Code can do without asking, how the Manual, Accept edits, Plan and Auto modes differ, how permission prompts work, and how to write allow and deny rules.

11 min read

Managing Context in Claude Code: /clear, /compact, /rewind and /resume

Learn how to keep Claude Code sharp in long sessions. Use /clear, /compact, /context and /rewind, resume old sessions, name them, and branch to try new ideas safely.

12 min read

Claude Code Prompting Patterns: How to Write Prompts That Work

Learn practical ways to write prompts for Claude Code. Be specific, hand over files and screenshots, show a pattern to follow, give Claude a way to check its work, and iterate without starting over.

11 min read

Debugging, Refactoring and Writing Tests with Claude Code

Learn the everyday recipes for using Claude Code: fix bugs from error messages, refactor safely in small steps, and write tests that actually catch problems. Includes a hands-on exercise.

12 min read

CLAUDE.md Explained: Give Claude Code Lasting Instructions

Learn what CLAUDE.md is, where the files live, how Claude Code loads them, and how to write one that works. Includes /init, imports, personal files and what to leave out.

11 min read

Claude Code Rules Files and Auto Memory Explained

Learn how to split instructions into rules files, scope them to specific folders and file types, and how auto memory lets Claude remember your preferences between sessions.

10 min read

Claude Code settings.json Explained: Files, Scopes and Precedence

Learn where Claude Code settings live, how to change them with /config or by editing settings.json, which file wins when settings conflict, and how to share settings with your team.

11 min read

Claude Code Output Styles and the Status Line

Learn how to change how Claude Code responds with built-in and custom output styles, and how to add a status line that shows your model, context use, cost and more at the bottom of the screen.

10 min read

Claude Code Skills and Custom Slash Commands: Build Your Own

Learn how to package a repeatable task as a Claude Code skill. Create a SKILL.md file, pass arguments, control who can start it, and add your own slash commands step by step.

11 min read

Claude Code Subagents Explained: Delegate Work Safely

Learn how Claude Code subagents work, which ones are built in, how to create your own with a markdown file, how to control their tools and model, and when to use one instead of the main conversation.

11 min read

Claude Code Hooks Explained: Automate and Enforce Rules

Learn how Claude Code hooks run your own commands at fixed moments, such as after every edit or before a risky action. Build a notification, an auto-formatter and a file guard step by step.

12 min read

Claude Code MCP Servers: Connect Claude to Your Tools

Learn what MCP servers are, how to add one with claude mcp add, how scopes and .mcp.json work, how to sign in, how to use resources and prompts, and how to stay safe when connecting third-party tools.

12 min read

Claude Code Plugins and Marketplaces: Install, Manage and Stay Safe

Learn how Claude Code plugins bundle skills, agents, hooks and MCP servers, how to install one from a marketplace, choose a scope, keep plugins updated, and review them before you trust them.

11 min read

Claude Code Git Workflows and Worktrees for Parallel Sessions

Learn how to use Git safely with Claude Code: branches, commits and pull requests in plain English, plus git worktrees that let you run several Claude sessions at once without their edits colliding.

12 min read

Claude Code Headless Mode (claude -p) and the Agent SDK

Learn how to run Claude Code from scripts and pipelines with claude -p. Pipe data in, get JSON out, control permissions safely, continue conversations, use --bare in CI, and see when to move to the Agent SDK.

15 min read

Claude Code GitHub Actions: Run Claude in Your CI Pipeline

Learn how to run Claude Code inside GitHub Actions. Set it up with /install-github-app, respond to @claude mentions, review pull requests, run scheduled jobs, keep secrets safe and control costs.

12 min read

Code and Security Review with Claude Code: /code-review and Safe Habits

Learn how to use /code-review to find bugs in your changes, point it at a branch or pull request, apply fixes, and how Claude Code's security layers and your own habits keep AI-written code safe.

13 min read

Claude Code Scheduled Tasks and /loop: Run Prompts on a Timer

Learn how to make Claude Code repeat a prompt on a schedule with /loop, set one-time reminders, read cron expressions, stop a loop, and choose between session, desktop and cloud scheduling.

11 min read

Claude Code Costs and Token Efficiency: Track and Reduce Usage

Learn how Claude Code usage is measured, how to track it with /usage, why long sessions cost more, and the habits that cut token use: clearing context, choosing models, lowering effort and trimming CLAUDE.md.

12 min read

Claude Code Sandboxing, Secrets and Dev Containers Explained

Learn how the Claude Code sandbox limits shell commands, why default read access is broad, how to protect secrets, how dev containers add isolation, and how to choose the right level of protection.

15 min read

Rolling Out Claude Code to a Team: Managed Settings and Policy

Learn how to roll Claude Code out to a team. Share project setup through Git, choose an API provider, deliver managed settings, decide what to enforce, track usage, and onboard developers.

15 min read

Troubleshooting Claude Code: Fix Common Problems with /doctor and Safe Mode

A practical routine for when Claude Code misbehaves. Learn /doctor, /context, /hooks and /mcp, safe mode, a clean-config test, fixes for slow sessions, search and terminal problems, and where to get help.

12 min read

Claude Code in Real Projects: Build a Feature, Fix a Bug, Run a Migration

Put the whole course together. Follow three realistic walkthroughs, a new feature, a bug fix and a code migration, and see the prompts, modes and checks that turn Claude Code into a reliable teammate.

14 min read

Related courses

Get Claude Code by email

One lesson a week, in order. Free, and you can unsubscribe from any email.

Frequently asked questions

Who is the Claude Code course for?

Developers and first-timers who want to use Claude Code in their own projects.

What do I need before starting the Claude Code course?

A computer with a terminal. The first lessons walk through installing Claude Code and signing in.

What will I learn in the Claude Code course?

You will be able to set up a project, write prompts that work, and automate everyday development tasks with Claude Code.

How long does the Claude Code course take?

It has 30 lessons and about 6 hours of reading, before you spend time on the practice tasks. Go at your own pace; the lessons are written to be done in order.

Is the Claude Code course free?

Yes. Every lesson is free to read, and you do not need to sign in.