Skip to content
zero2vibecodelearn vibe coding
Level 0 · Install and first run 6 min Reviewed by the author · Aug 4, 2026

Your first session

You start Claude Code inside a project folder, and that folder is its whole world. Where you launch it matters more than anything you type afterwards.

Level 0 · 0 / 4 lessons0%

Two steps, in this order. Move into your project. Start the agent.

cd todo-app
claude

That is it. The session opens in the same terminal window, and you type in plain English.

The folder is the point

Claude Code works on the folder you started it in. Everything inside is fair game; everything outside is not there as far as it is concerned.

Start it in your home folder and you have pointed a coding agent at your entire home folder — your downloads, your other projects, everything. Start it in the project and it sees the project.

A two-second check

Before you launch, run ls. If what prints looks like your project, you are in the right place. If it looks like your life, you are not.

Do that now in the terminal below: move into todo-app, list what is inside, then start the session.

Quick check

You want to work on `~/work/api`, but you are sitting in `~`. What do you do?

What you see when it starts

A prompt, waiting for you. You type a request the way you would say it to a colleague:

explain what app.js does

It reads the file and answers. No special syntax, no keywords, no prompt formula. If your sentence would make sense to a person who has your project open, it will make sense here.

Your first turn should read, not write

The temptation is to open a session and immediately ask for a feature. Resist it for one turn.

Ask it to explain something you already understand. Now you have a free, zero-risk test of whether it actually sees what you think it sees. If the explanation is wrong, nothing has been damaged, and you have learned something important before it touched a file.

Ending and coming back

You leave a session the way you leave any terminal program, and the conversation is saved. Claude Code can continue your most recent conversation or resume an earlier one, so a session survives you closing the laptop.

Sessions are not permanent storage, though. Anything that must survive — a decision, a convention, a command that has to be run — belongs in a file in the project. That is level 3.

Before your first real edit

Make sure the project is in and your work is committed. Not because the agent is reckless, but because “undo” is a solved problem in Git and an unsolved problem in a terminal. You are two lessons away from letting it change files.

Can it see files outside the folder I started in?
Do I need a special project structure?

Try it yourself

Your first message in a fresh session.

Check your understanding

Answered 0/3
Mode:

Why does it matter which folder you start Claude Code in?

You start a session, do some work, and close the terminal. What happens to the conversation?

What is the healthiest first request in a project you do not know?

Finish the task in the terminal and answer the questions to complete the lesson.

📝 My notes

Saved automatically in this browser · shows up on the Notes page.

Task

Move into the project, see what is in it, then start the agent from inside it.

Tab complete · history · Ctrl+L clear · help commands

  • Not done: Stand inside the project folder
  • Not done: See what the agent will see
  • Not done: Start the session from in here
  • Not done: The session opens

Lesson Q&A

Why does it matter which folder you start Claude Code in?

Start it in your home folder and it is looking at your whole home folder. Start it in the project and it is looking at the project.

You start a session, do some work, and close the terminal. What happens to the conversation?

Claude Code keeps sessions so you can pick one back up. Sessions do not last forever, though — treat them as recent history, not an archive.

What is the healthiest first request in a project you do not know?

A read-only first turn costs nothing and tells you whether it actually understands the project. Changes can wait one turn.

You want to work on `~/work/api`, but you are sitting in `~`. What do you do?

Get to the right folder first. Telling the agent about a path it was not launched with is not the same as launching it there.

Move between lessons with · search with ⌘K