VillaAula
Log in
Course text
Lesson 2 / 3

INSTALL · START · YOUR FIRST REQUEST

Install it and say hello

Key idea — the why

Installing it is two commands and one login.

1. Install it once, for your whole computer:

npm install -g @anthropic-ai/claude-code

2. Go into your project's folder, then start it:

cd my-project

claude

3. The first time, it asks you to log in with your Claude account. Do that once and it remembers.

The -g in step 1 means global — install it everywhere, not just here. cd means change directory: it's how you walk into a folder.

That's it. You're now talking to an AI that can see your project.

Go deeperThe terminal, for people who've never opened one
Progress0 / 3 correct
🧰

Before you start: the one thing you need

That install command uses npm, which comes with Node.js. If you've never installed Node, do that first — it's a normal installer from nodejs.org, the same as installing any other program.

To check whether you already have it, open your terminal and type:

node --version

If it prints a number like v22.14.0, you're ready. If it says command not found, install Node first, then come back.

A word about the terminal. If a black window full of text feels intimidating, that's normal and it passes quickly. It's just a place where you type instructions instead of clicking them. You already know how to give a computer instructions — this is the same thing with different clothes on.

1

Type the command that starts Claude Code once it's installed. (One word.)

2

What does the -g do in npm install -g @anthropic-ai/claude-code?

3

You should start Claude Code from inside the folder of the project you want to work on.

Saved on this device