Claude Code Society, home

Learn, tool guides

Your first project folder

Claude Code works on the folder you start it in. Give your projects one home, learn four commands for moving around, and you'll always start it in the right place.

Make a home for your projects

  1. Go to your home folder

    Terminal
    cd ~

    The ~ means your home folder: the one with your name on it that holds Documents and Downloads.

  2. Make a projects folder and go into it

    Terminal
    mkdir projects
    cd projects

    You only make it once. After today, cd ~/projects takes you straight there.

  3. Make one folder per project

    Terminal
    mkdir my-first-app
    cd my-first-app

    Use short names with dashes instead of spaces. Spaces in folder names mean extra quoting in every command.

  4. Check where you are

    Terminal
    pwd
    ls

    pwd prints the folder you're in. ls lists what's inside it, which is nothing yet.

  5. See the same folder in your file browser

    macOS
    open .
    Windows PowerShell
    explorer .
    Linux
    xdg-open .

    The dot means "this folder". It helps to see that the terminal and the file browser show the same files.

  6. Start Claude Code here

    Terminal
    claude

    Claude Code reads and edits files in this folder. The first time you start it somewhere new, it may ask whether you trust the folder. For a folder you made yourself, say yes.

Four commands to remember

  • pwd: where am I?
  • ls: what's in here?
  • cd folder-name: go into a folder. cd .. goes back up one.
  • mkdir folder-name: make a new folder.

Press Tab while typing a folder name and the terminal finishes it for you. Press the up arrow to bring back the last command.

Don't start Claude Code in your home folder

Start it inside a project folder, never in ~ itself. Claude Code reads files in the folder you start it in, and every folder under it, without asking first. Start it in your home folder and that's all your files. One folder per project keeps each session to that project.

A code editor, if you want one

You don't need one for the lessons; Claude Code edits the files for you. When you want to read your code comfortably, Visual Studio Code is free, and Claude Code has an extension for it.

Sources

Read on October 4, 2026.

  1. Claude Code quickstart: starting Claude Code in a project folder.
  2. Configure permissions: workspace trust and the home folder, the working directory.
  3. Claude Code in VS Code: the extension.