Make a home for your projects
Go to your home folder
Terminalcd ~The
~means your home folder: the one with your name on it that holds Documents and Downloads.Make a projects folder and go into it
Terminalmkdir projects cd projectsYou only make it once. After today,
cd ~/projectstakes you straight there.Make one folder per project
Terminalmkdir my-first-app cd my-first-appUse short names with dashes instead of spaces. Spaces in folder names mean extra quoting in every command.
Check where you are
Terminalpwd lspwdprints the folder you're in.lslists what's inside it, which is nothing yet.See the same folder in your file browser
macOSopen .Windows PowerShellexplorer .Linuxxdg-open .The dot means "this folder". It helps to see that the terminal and the file browser show the same files.
Start Claude Code here
TerminalclaudeClaude 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.
- Claude Code quickstart: starting Claude Code in a project folder.
- Configure permissions: workspace trust and the home folder, the working directory.
- Claude Code in VS Code: the extension.