FirstPrompt
Sign in
Ship with Claude CodeModule 1 · Install Claude Code
Lesson 2 of 6PreviousNext
2:17

Your first file

FreeVideo 2:176 min readLesson 2 of 6

Module 1 · Install Claude Code

0/6
  1. 2:03Install Claude CodeVideo
  2. 2:17Your first filePlaying
  3. 2:28Where did that file go?Video
  4. 2:26When Claude gets it wrongVideo
  5. 2:16What Claude is allowed to doVideo
  6. 1:41Module 1 recapVideo
  7. Checkpointquiz + ship

You're reading as a guest — progress saves to this device only.

Sign up free to keep it

You have Claude Code installed. Now you will give it a job and watch it do the job.

Step 1 — Start Claude

In your terminal, type this and press Enter.

claude

The first time you run it, your web browser opens and asks you to log in. Log in with your Claude account from Anthropic. A FirstPrompt plan does not count here: Claude Code checks for a plan paid to Anthropic. Then come back to the terminal window.

Claude may then ask whether you trust this folder. The highlighted answer is No, exit, so pressing Enter straight away closes Claude again. Press the down arrow to Yes, I trust this folder, then press Enter. It asks once for each new folder.

You now see a different prompt. Claude is waiting for you to say something in plain language.

Three things surprise everyone here, so read them first:

  • You cannot click things in this window. Use the arrow keys to move between options.
  • Press Esc to interrupt Claude if it starts doing something you did not intend.
  • To leave, type /exit. You are not trapped.

Step 2 — Ask for a file

Type this sentence and press Enter. Type it rather than pasting it. This is a sentence, not a command, and writing them is what the whole course is about.

make a file called hello.txt that says hello

Claude tells you what it intends to do and waits for your approval. Read what it says, then approve it.

It writes the file and tells you it is done.

Step 3 — Go and look at the file

This step matters more than it looks. Do not skip it.

Open File Explorer from your taskbar. Click This PC, then your Windows (C:) drive, then Users, then the folder with your name on it.

hello.txt is in there. Double-click it.

It is a real file, on your real computer, and you did not type a word of it. You described what you wanted, and something else made it.

That is the whole idea. Everything later in this course is a larger version of what you just did.

If it did not work

If you see Claude keeps asking you to log in

Your browser probably blocked the login window. Allow pop-ups for claude.ai, then run claude again.

If you see a message about your plan or your credits

Claude Code needs a paid plan: Pro, Max, Team or Enterprise. The free Claude.ai plan does not include it. Check which plan your account is on at claude.ai.

If you see you cannot find the file anywhere

It was made in whichever folder your terminal was sitting in when you started Claude. The next lesson is entirely about finding that out, so move on and come back to it.

If you see you are stuck inside Claude and cannot get out

Type /exit and press Enter. If that does nothing, press Ctrl + D twice. Closing the terminal window also works, and breaks nothing.

What you just did

  • Started Claude Code and logged in.
  • Asked for something in an ordinary sentence.
  • Read the plan and approved it before anything ran.
  • Found the file it made, with your own eyes.

Next: where exactly did that file go, and how do you choose where the next one goes?

Practice

Try this lesson in a guided terminal.

Sign up free to practice
NextWhere did that file go?
Previous
Next
CoursesExplore Ship with Claude CodePrompt packsBuild Your Own Website