Claude Code Essentials
0 of 8 done
Lesson 1

Where to start

"I have no idea how to get started."

That gets fixed by reading less and doing more. In this lesson you install it, make your first request, and see what Claude Code does behind the scenes every time you ask for something. At the end, you practice.

Install Claude Code

Claude Code is the same engine in several places: the Claude desktop app, the terminal, extensions for VS Code and JetBrains, and the web. For this course two of them will do, and you can use whichever you prefer: the desktop app or the terminal.

The simulators in this course imitate the desktop app, because that is where it is easiest to see what Claude does. Everything we teach works in the terminal too. Where something differs between the two, I give you both ways.

In the desktop app

Download the Claude app for macOS or Windows (Linux is in beta), open it and sign in with your account. Claude Code is the Code tab, at the top of the sidebar. There is nothing else to install. The download links are in the official desktop app guide.

In the terminal

The recommended install is one line. On macOS, Linux and WSL:

macOS, Linux, WSL
$curl -fsSL https://claude.ai/install.sh | bash

On Windows with PowerShell:

Windows PowerShell
$irm https://claude.ai/install.ps1 | iex

This install updates itself in the background. Check that it worked with claude --version: if it prints a version number, you are done. If it says it cannot find claude, the install directory is not on your PATH yet. Homebrew (brew install --cask claude-code) and WinGet (winget install Anthropic.ClaudeCode) work too, but they do not update themselves. Every other option and the requirements are in the official install documentation.

The account

You need a paid account. The free claude.ai plan doesn't include Claude Code. The desktop app signs in with a Pro, Max, Ultra, Team or Enterprise subscription. The terminal accepts those and, in addition, a Console account. Plans are on the plans page, which is where they are kept current.

Your first request

Claude Code works inside a project, so start there.

In the desktop app, open the Code tab and pick the project folder. You now have a box to type in.

In the terminal, go into the folder and type claude:

Terminal
$cd /path/to/your/project
$claude

The first time it asks you to log in, and with a subscription you finish the login in the browser. After that you see the version, the model and the working folder, and a box to type in. Inside the session, /help lists the commands and /exit closes it.

From here on it does not matter where you are: you write to it in plain language. Your first request is a question: What does this project do? Don't paste anything, Claude reads the files it needs. What technologies does this project use? or explain the folder structure work too.

It is the best first request for two reasons. It changes nothing, so you cannot break anything. And it shows you how it works: you see which files it opens and in what order before it answers. If it ever asks before doing something, read what it asks before you answer.

What it just did

What you saw is not a chat that answers once. It is an agent.

The Claude Code docs call that way of working the agentic loop: it gathers context, takes action and verifies the result, and repeats until done. The three phases blend together, and the loop adapts: a question may stop at gathering context, while fixing a bug goes round all three several times.

To read, act and check it uses tools.

Press play and watch the second lap.

Animation The agentic loop (ReAct): read, act, check
Step 1 of 6

You ask for something and Claude Code starts a loop.

It does not answer in one shot. It takes your request and works in laps: read, act, check.

add a test for availability()

The second lap is what sets it apart from an assistant that only answers: it corrects itself before it replies to you. And you are part of the loop: you can interrupt it at any point to steer it.

One caveat: it does not always check by itself. If you see no test or command run in what it did, the third phase did not happen. Ask for it.

What to ask for first

Something small that you can check yourself. A test for a function, renaming a variable, an explanation of a file. After the question, a minimal change, like adding a hello world function, and then git tasks in plain language: what files have I changed? or commit my changes with a descriptive message. If git sounds like a foreign language, lesson 6 explains it without commands.

Big jobs, like rewriting a whole app, come later. In a project you do not know you cannot review them, and reviewing is what makes you the owner of the result.

And be specific. When something fails, name the error instead of asking it to "fix the bug". What you do not give Claude, it either asks you for or makes up. If the task is big, break it into numbered steps. And a request doesn't have to be perfect: it's a conversation, you adjust as you go instead of starting over.

More fundamentals that do not expire, in Claude Code first steps.

Scenario

Your turn: what would you do?

Claude says it is done. Decide what you do with that answer.

Your first change in a project you do not know. Claude has read, edited and says it is done. What do you do now?

Cancelled bookings
Make availability stop counting cancelled bookings.
Read src/bookings.ts
Edit src/bookings.ts
Done. availability now ignores cancelled bookings.
Choose an action
Mode: Auto
Remember
  • Claude Code is the same engine in the desktop app and in the terminal.
  • It is an agent: it works in a loop (gather context, act, check), the ReAct pattern.
  • Start with a question and move on to small changes you can check.
  • If you did not see it check, ask for it.
Claude Code Essentials

You have finished lesson 1. The rest of the course is waiting.

Every lesson brings its theory, something to try and a practice scenario at the end.

See the course