Claude Code Basics Lesson 15 of 46
Installing Claude Code
- The path this course takes: the desktop app. You download and install it like any other program, zero commands.
- Inside the app, Claude Code is the Code tab: if it asks you to switch to a subscription, it's the plan that's missing.
- The alternative: the terminal, with a single command. You launch it by typing claude in the folder you want to work on.
- If something's off, there's a command that runs the diagnosis for you.
The path this course takes — the desktop app
This is the one we'll use from here on, and it's the same as installing any other program. Three steps:
Download the app from the official page, where you'll find versions for Mac, Windows and Linux. Then install it like you would any other program.
Open the app and log in with your Claude account. You only log in once.
Go to the Code tab, at the top. Remember the three tabs — Chat, Cowork, Code? Claude Code is the third one. If clicking it offers to move you to a subscription, that's not a bug: it's the plan we talked about in the last lesson.
Done. You don't need to install anything else: the app already carries Claude Code inside it.
The alternative — the terminal
If you already use the terminal, or if you want to have the claude command available alongside the app, it installs separately. It's not an alternative to the app: you can keep both, and they share the same settings.
On Mac and Linux, open the terminal and paste this:
curl -fsSL https://claude.ai/install.sh | bash On Windows, open PowerShell and paste this:
irm https://claude.ai/install.ps1 | iex These are the official instructions, and they do one thing: download Claude Code and put it in the right place on your computer. It takes less than a minute.
Launching it the first time
From the terminal, go into the folder you want to work on and type:
claude A session opens. The first time, it asks you to log in: your browser opens, you sign in with your Claude account, you come back to the terminal and you're in. You only log in once.
Checking that everything's in order
In the desktop app the check is visual: if the Code tab opens and asks you to pick a folder, everything's fine.
From the terminal, the fastest check is asking for the version:
claude --version If a number comes back, the installation is there. If something's off instead — it can't be found, login doesn't work, it's acting strange — there's a command that runs its own diagnosis and tells you what's wrong:
claude doctor It doesn't open any session and doesn't touch anything: it looks and reports.
What's next
It's installed. Before giving it your first task, though, there's one thing to understand, and getting it wrong is first-days mistake number one: where you open it decides what it works on.
Did you get it?
Two minutes, no grade. Trying to answer — even getting it wrong — cements the concepts far more than rereading. Not in the mood? Skip it: the lesson still counts as complete.
You've installed it and want to check everything's in order. What do you do?
Asking for the version is the quickest check: if a number comes back, the installation is there. `claude doctor` runs the full check — installation, settings, known issues — without opening a session.
In the desktop app, where does Claude Code live?
The app's three tabs are the three tools from the first lesson: Chat is the conversation, Cowork is the agent that works on its own, Code is Claude Code. If clicking Code asks you to subscribe, it means you're missing the plan — that's not a glitch.
-
Chapter 1 Introduction
-
Chapter 2 What's Underneath
-
Chapter 3 You Choose the Engine
-
Chapter 4 First Time at the Controls
-
Chapter 5 What You Let It Touch
-
Chapter 6 What It Knows About You
-
Chapter 7 Skills
-
Chapter 8 How Many You Put to Work
-
Chapter 9 What It's Connected To
-
Chapter 10 Automating the Setup
-
Chapter 11 Wrap-Up