Module 2

Getting Set Up

Let's get Claude Code running on your computer. It takes about five minutes, and you'll send your first prompt before this module is over.

📖 10 min 🌱 Beginner ✎ 2 exercises
Clawd

Step 1: Get a Code Editor

Before we install Claude Code, you need a place for it to live. The most popular choice is Visual Studio Code (VS Code) — a free app from Microsoft that millions of developers use every day.

  1. Go to code.visualstudio.com
  2. Click the big blue Download button
  3. Open the downloaded file and drag it into your Applications folder (Mac) or run the installer (Windows)
  4. Open VS Code — you’ll see a Welcome tab. You can close it.

That’s it. VS Code is just a fancy text editor. You don’t need to learn any of its features right now — Claude Code will do the heavy lifting.

Clawd
Pro Tip

Don’t want to install anything? You can skip VS Code entirely and use the Claude Desktop app or the web version at claude.ai/code. But the terminal experience is the most powerful, so we recommend starting here.

Step 2: Open the Terminal

The terminal is a text-based way to talk to your computer. It looks like a black screen with a blinking cursor. Don’t be intimidated — you only need to type a few words.

On Mac:

  • Open VS Code, then press Ctrl + ` (the backtick key, above Tab) to open the built-in terminal
  • Or open the Terminal app from Applications > Utilities

On Windows:

  • Open VS Code, then press Ctrl + ` to open the built-in terminal
  • Or search for PowerShell in the Start menu

You should see something like this:

Terminal

$ _

That blinking cursor is waiting for your command. Let’s give it one.

🔑 Key Concept

The terminal is just a text conversation with your computer. Instead of clicking buttons and menus, you type short commands. Claude Code lives inside the terminal — it’s where you’ll have conversations with Claude about what to build.

Step 3: Install Claude Code

Copy and paste this single line into your terminal, then press Enter:

paste this into your terminal
curl -fsSL https://claude.ai/install.sh | bash

That’s the entire installation. The script downloads Claude Code and sets everything up automatically. You’ll see output like this:

Terminal

$ curl -fsSL https://claude.ai/install.sh | bash

Downloading Claude Code… Installing to /usr/local/bin/claude… Claude Code installed successfully! Run ‘claude’ to get started.
⚠ Heads Up

If you see a “permission denied” error on Mac, try running sudo curl -fsSL https://claude.ai/install.sh | bash instead. It will ask for your computer password (the one you use to log in). When you type it, nothing will appear on screen — that’s normal. Just type it and press Enter.

Alternative Ways to Get Started

The terminal install is the full-power experience, but there are easier on-ramps if you prefer:

  • Claude Desktop App — Download from claude.ai/download. A standalone app with a clean interface. Great if you don’t want to touch the terminal at all.
  • VS Code Extension — Open VS Code, click the Extensions icon (the four squares on the left sidebar), search “Claude Code”, and click Install. Claude appears as a panel inside your editor.
  • Web (claude.ai/code) — Zero installation. Open your browser and start building. Works on tablets and phones too.

All four options connect to the same Claude. Your conversations, memory, and project context sync across them.

Clawd
Pro Tip

If you’re completely new to all of this, start with the Desktop App. It’s the friendliest experience. You can always switch to the terminal later when you’re ready for more power.

Step 4: Launch Claude Code for the First Time

Navigate to any folder on your computer and type claude:

Terminal

$ cd ~/Documents $ claude

Welcome to Claude Code v2.x.x Type your message to get started…

The first time you run claude, it will ask you to log in. Here’s what that looks like:

  1. Claude Code opens a browser window (or gives you a URL to paste)
  2. You log in with your Anthropic account (the same one from claude.ai)
  3. You approve the connection
  4. The terminal says “Authenticated!” and you’re ready to go
🔑 Key Concept

cd means “change directory.” It’s how you tell the terminal which folder to work in. When you run Claude Code inside a folder, Claude can see and work with all the files in that folder. Think of it like opening a filing cabinet drawer — Claude can only read the papers in the drawer you opened.

⚠ Heads Up

You need an Anthropic account with a paid plan or API credits to use Claude Code. The free tier of claude.ai doesn’t include Claude Code access. Check claude.ai/pricing for current options.

Step 5: Send Your First Prompt

You’re in. Let’s make Claude do something. Type this:

your very first prompt — try it now
What can you do? Give me 5 examples of things I can ask you to build, and make them sound fun.

Claude will respond with a list of ideas. Now try something real:

make Claude build something in 10 seconds
Create a file called hello.html that shows a big colorful heading that says 'Hello World!' with a fun animation. Open it in my browser.

Watch what happens — Claude creates the file, writes the code, and opens it. You just built your first thing with AI. No coding knowledge required.

ask Claude about your computer
What folder am I in right now? List all the files here and give me a quick summary of what's in this directory.

Keyboard Shortcuts Cheat Sheet

Here are the most useful shortcuts to know right away. You don’t need to memorize them — just know they exist:

ShortcutWhat It Does
EnterSend your message
EscapeCancel the current operation
Ctrl + CForce-stop Claude if it’s running a long command
Up ArrowScroll through your previous messages
Shift + TabToggle Plan Mode (Claude plans instead of executing)
/Access slash commands (like /help, /clear, /init)
TabAccept Claude’s file changes
Clawd
Pro Tip

Type /help at any time to see all available commands. It’s your safety net — if you ever feel lost, /help shows you every option.


Try It Yourself

✎ Exercise 1

Install and Launch Claude Code

  1. Open your terminal (or the VS Code terminal with Ctrl + `)
  2. Run the install command: curl -fsSL https://claude.ai/install.sh | bash
  3. Navigate to your Documents folder: cd ~/Documents
  4. Type claude and press Enter
  5. Complete the login flow when the browser window opens
  6. Once you see the welcome message, type: “Say hello and tell me a fun fact about penguins”
  7. If Claude responds, you’re all set — everything is working!
✎ Exercise 2

Build Your First File

  1. Make sure Claude Code is running (type claude in your terminal)
  2. Send this prompt: “Create a file called my-first-page.html with a nice welcome message, my name (use ‘Your Name’ as placeholder), and a pretty gradient background. Then open it in my browser.”
  3. Watch Claude create the file and open it
  4. Now follow up with: “Change the background to a blue-to-purple gradient and make the text white”
  5. Notice how Claude remembers the context and modifies the same file — you’re having a conversation, not starting over each time
Clawd

Ready for Module 3?

Talking Like a Pro is up next.

Continue →