What Is Claude Code?
Meet your new AI-powered coding partner that lives in the terminal.
Imagine having a brilliant teammate who can read through thousands of lines of code in seconds, explain what anything does, make changes for you, and even run tests to check its own work. That's Claude Code.
Unlike older AI tools that just autocomplete one line at a time, Claude Code is fully agentic — it can explore your entire project, make plans, write whole features, fix bugs, and use tools on your behalf.
🎬 AI Tools In Plain English
Before diving into Claude Code specifically, watch this beginner-friendly overview of what AI tools actually are and how they work under the hood. No technical background needed.
22 min · Covers what AI is, five types of AI tools, and how to prompt each one effectively.
🎬 See It In Action: Build Your First App
Watch someone build a real app with Claude Code from scratch — no coding experience needed. This is what you'll be doing by the end of this course.
14 min · Teacher's Tech · Build a complete app with Claude Code, step by step.
What Makes It Different?
- Works everywhere — VS Code, Xcode, JetBrains, Vim, or any terminal
- No special setup required — no pre-indexing your code, no waiting
- Privacy-conscious — your files stay local; only relevant context is sent to Claude's model service per Anthropic's data policy
- General purpose — ask questions, edit code, run commands, create files
Quick Check: What Can Claude Code Do?
Select all that apply:
Which of these can Claude Code help with?
The Terminal Without Fear
The terminal is just a text-based control panel for your computer. Let's demystify it.
What Is a Terminal?
You probably use your computer by clicking on icons, dragging files, and using menus. The terminalA text-based control panel where you type commands instead of clicking buttons. Also called "command line" or "shell." is another way to control your computer — by typing short text commands instead.
Think of it like texting your computer: you type a command, press Enter, and the computer replies with text.
Try It: Your First Terminal Commands
This is a simulated terminal. Type the commands below and press Enter to see what happens. Don't worry — you can't break anything here!
pwd — "Print Working Directory" — shows where you arels — "List" — shows files in the current foldercd folder — "Change Directory" — moves into a folderclaude — starts Claude Code!
Key Vocabulary
A short instruction you type
Another word for "folder"
The program that reads your commands
The address of a file or folder
Setting Up Claude Code
A step-by-step checklist to get everything ready.
Installation
Claude Code can be installed in two ways. The recommended method uses the native installer. If you already have Node.jsA program that lets you run JavaScript outside of a web browser. Version 18 or newer is needed for the npm install method. 18+, you can also use npm.
Setup Checklist
Click each item to expand and learn why it matters.
-
Run terminal setup
-
Choose a theme (
/theme) -
Install the GitHub app (
/install-github-app) -
Set up permissions
-
Enable voice dictation (optional)
Understanding Project Files
Before you start using Claude Code on real projects, here's what common files and folders mean:
The project's welcome page — explains what it does
Source code — where the actual program lives
Automated checks that verify the code works
Lists the project's dependencies and scripts
Tells Git which files to skip (e.g., temp files)
Instructions for Claude Code (we'll cover this later!)
GitHub: Your Code's Home
Understand what GitHub is, why every developer uses it, and set up your own account.
What Is GitHub?
GitHubA website where developers store, share, and collaborate on code. Think of it as Google Drive, but specifically designed for code projects with full version history. is a website where code projects live online. It's where teams collaborate, where open-source software is shared, and where Claude Code can create pull requests for you.
- Git = Track Changes (remembers every edit)
- GitHub = Google Drive (stores it online so others can see and collaborate)
- Repository = A shared folder for one project
Why Do You Need GitHub?
Your code is safe online even if your laptop breaks
Work with others without emailing files back and forth
See every change ever made and undo mistakes
Many hosting platforms deploy directly from GitHub
Key GitHub Vocabulary
A project folder on GitHub with all its files and history
A saved snapshot of changes with a message explaining what changed
A parallel version of your project for trying new things safely
A request to merge your changes into the main project (with review)
Download a copy of a repo to your computer
Send your changes up (push) or get others' changes down (pull)
How to Create a GitHub Account
-
Step 1: Go to github.com
-
Step 2: Create your account
-
Step 3: Verify your email
-
Step 4: Install the GitHub CLI
-
Step 5: Authenticate
Creating Your First Repository
The GitHub Workflow (Visual)
Edit locally → Save a snapshot (commit) → Upload to GitHub (push) → Now it's online!
Quiz: What is a "pull request"?
What Is a Web App?
Understand what Claude Code is actually building — and which files do what.
The Three Languages of the Web
Every website or web app you've ever used is built from three fundamental languages working together. Think of building a house:
The structure
Walls, rooms, doors — what's on the page (headings, paragraphs, buttons, images)
The style
Paint, furniture, layout — how it looks (colors, fonts, spacing, animations)
The behavior
Electricity, plumbing — what happens when you click, type, or scroll
See It in Action
Here's a tiny web page broken into its three parts:
Which Files Do What?
When you open a real project, you'll see many files. Here's what the common ones do:
| File / Folder | What It Does | Analogy |
|---|---|---|
| index.html | The main page structure | The blueprint |
| *.css / styles/ | All visual styling | The interior designer |
| *.js / src/ | Logic and interactivity | The electrician |
| package.json | Lists dependencies and scripts | The shopping list |
| node_modules/ | Downloaded libraries (don't edit!) | Pre-built components from the store |
| public/ or static/ | Images, fonts, icons | The decoration box |
| api/ or server/ | Backend code (talks to databases) | The kitchen (hidden from guests) |
Frontend vs. Backend
Web apps have two sides:
Frontend (Client)
What the user sees and interacts with in the browser.
- HTML, CSS, JavaScript
- Buttons, forms, animations
- Runs on the user's computer
Backend (Server)
The hidden logic that processes data and stores things.
- Node.js, Python, databases
- User accounts, payments, data
- Runs on a remote server
How a Web App Runs
A "dev server" watches your files and refreshes the browser automatically when you save changes.
Quiz: Match the file to its job
If Claude Code creates a file called styles.css, what does it control?
Common Frameworks
You'll hear these names a lot. They're frameworksPre-built toolkits that make it faster to build web apps. Instead of writing everything from scratch, you use their patterns and components. — toolkits that make building web apps faster:
Build UIs from reusable components
React + server features + routing
Beginner-friendly UI framework
Utility classes for fast styling
.tsx, .vue, or uses className=, it's using React-style syntax or a framework.Talking to Your Codebase
The #1 recommended starting point: ask Claude Code questions about your code.
Why Start With Questions?
At Anthropic, every new hire starts by asking Claude Code questions about the codebase. This approach cut technical onboarding from 2-3 weeks down to 2-3 days.
Asking questions teaches you two things at once:
- You learn about the codebaseAll the files that make up an app or project — the source code, configuration files, tests, documentation, and everything else.
- You learn how to communicate with Claude Code effectively
Good Questions vs. Vague Questions
Which prompt would get a better answer from Claude Code?
Example Questions You Can Ask
Plan Before You Edit
The golden rule: think first, code second. Let Claude brainstorm before making changes.
Claude Code's Built-in Tools
Claude Code has a small set of powerful tools it uses automatically:
Find files and text
Modify files
Run commands
View file contents
The Explore-Plan-Confirm Workflow
Boris recommends telling Claude: "Before you write code, brainstorm ideas, make a plan, and run it by me for approval."
🎬 Turn A Prompt Into A Visual Plan
AI gives you walls of text. This video shows how to convert that into visual workflows, mind maps, and flowcharts that are actually useful for planning and presenting.
10 min · Shows how to go from a text prompt to a professional visual diagram.
Scenario: What Would You Do?
Safety First
Before we learn about pushing code, there are important safety rules to follow:
- Never approve commands you don't understand. Ask Claude to explain first.
- Be careful with destructive actions: delete, overwrite, install, push.
- Never paste passwords, API keys, or private data into prompts.
- Review every diff before accepting changes.
- Errors are information, not failure. Copy the full error and ask Claude to explain it in plain English.
The Magic Incantation: Commit, Push, PR
Once Claude finishes editing, you can tell it to handle the entire GitA version control system — think of it as an "undo history" for your entire project that also lets multiple people work on the same code. workflow:
Checking Claude's Work
AI can make mistakes. Learning to verify is the most important skill you'll develop.
The Iteration Loop
The most powerful workflow is giving Claude a way to check its own work. When it can see the results of what it built, it iterates and gets dramatically better.
Ways Claude Can Check Its Work
Automated checks that verify specific functions work correctly
Take a picture of the UI to see if it looks right
Compare before/after to see exactly what changed
Start the project and test it manually
Reading a Diff
A diffA before-and-after view of file changes. Green lines are new (added). Red lines are old (removed). This helps you see exactly what Claude changed. shows you exactly what changed in a file:
What did this change do?
Giving Claude Better Context
The more context Claude has, the smarter its decisions. CLAUDE.md is the key.
What Is CLAUDE.md?
CLAUDE.md is a special file you put in your project folder. Claude Code reads it automatically at the start of every session. Think of it as a briefing document for your AI teammate.
The Context Hierarchy
Context can live at different levels, from personal to team-wide:
Prompt Improvement Lab
Which prompt gives Claude better context?
Memory & Keyboard Shortcuts
Teach Claude to remember things and work faster with shortcuts.
Memory System
Claude Code can remember things across sessions. Use # followed by what to remember, or use /memory to manage memories.
Memory Scope Sorting
Drag each instruction to the right category:
Mobile? Click a card, then click a zone to place it.
Essential Keyboard Shortcuts
Click each card to reveal what the shortcut does:
Automation & Parallel Workflows
Use Claude Code as a programmable tool and run multiple sessions at once.
The CLI SDK: Claude as a Unix Tool
Claude Code isn't just interactive. You can use it as a CLI toolCommand-Line Interface tool — a program you use by typing commands, which can be combined with other tools using "pipes" to pass data between them. in automated workflows:
command1 | command2), you can pipe data through Claude to have it analyze, summarize, or transform anything.Visual Pipeline Builder
Here's how data flows through a Claude Code automation pipeline:
Running Multiple Sessions
Power users run multiple Claude Code sessions in parallel for different tasks:
Deploying Your Project
Make your project available on the internet so anyone can use it.
What Is Deployment?
Right now, your project only runs on your computer. DeploymentThe process of putting your project on a server (another computer connected to the internet) so anyone can access it via a URL. means putting it on a server so anyone in the world can visit it.
Only you can see it
Anyone with the URL can use it
Common Deployment Platforms
These platforms make deployment easy — often just connecting your GitHub repository:
Great for Next.js and React apps. Free tier available.
Simple drag-and-drop or Git-based deploy. Free tier.
Free hosting for static sites, built into GitHub.
For apps with servers/databases. Free to start.
The Deployment Flow
Most platforms watch your GitHub repo — push code, and it deploys automatically.
Deploying With Claude Code
Claude Code can help you deploy! Here are common prompts:
Key Vocabulary
A computer that's always on and connected to the internet
The web address people type to visit your app (e.g., myapp.vercel.app)
Automated testing and deployment — push code and it goes live
Secret settings (API keys, passwords) stored on the server, not in code
Quiz: Which is the safest way to handle API keys in a deployed app?
Capstone: Guide Claude Through a Task
Put everything together. Choose a task and walk through the complete workflow.
Choose Your Task
Select a beginner-friendly task to practice with: