Part of the guide: What is Claude Code? What it does, what it costs, and how to start
Claude Code tutorial for beginners: your first session, step by step
In short
- Open a terminal in a small test folder, type
claude, sign in in the browser, then pressShift+Tabuntil you see manual mode, so Claude asks before every edit and command. - Ask a question that changes nothing first ("what is in this folder?"), then ask for a plan, then let it make one small change you can check.
- The commands you need in week one:
/help,/init,/resume,/rewind,/usage,/clear,/exit.
Your first Claude Code session takes about 20 minutes: open a terminal in a small test folder, type claude, sign in, switch to manual mode with Shift+Tab, and ask a question that changes nothing, such as "what is in this folder?". Then ask for a plan, let Claude make one small change, and check it. This tutorial walks through each step and the commands you will use in your first week.
Checked on 18 November 2026 against Anthropic's quickstart and permission modes pages. New to the tool? Read what Claude Code is first.
What you need first
- Claude Code installed. Follow install on Mac or install on Windows. Prefer buttons to a terminal? The same steps work in the Code tab of the desktop app; see desktop vs CLI.
- A paid Claude plan: Pro, Max, Ultra, Team or Enterprise. The free plan does not include Claude Code. Pro is the smallest paid plan that includes it (claude.com/pricing, 18 November 2026).
- A test folder. A copy of something small you know well: a few documents, a CSV export, or a small code project. For this tutorial, a folder called
test-projectwith a handful of files. - 20 minutes.
Step 1: start Claude Code in the right folder
Claude Code works on the folder you start it in, so this choice comes first.
- Open a terminal. On a Mac:
Cmd + Space, typeTerminal, press Enter. On Windows: open PowerShell from the Start menu. - Go into your folder: type
cdfollowed by its path, for examplecd Documents/test-project, and press Enter. - Type
claudeand press Enter.
The first time, Claude Code opens your browser so you can sign in. It keeps the login, so you do this once. Use /login later if you need to switch accounts.
Step 2: check what is on screen
Above the box where you type, you see the Claude Code version, the model in use and the folder it is working in. Check the folder. If it is wrong, type /exit, cd into the right one and run claude again.
Step 3: switch to manual mode
The permission mode decides what Claude may do without asking you. Since version 2.1.283, terminal sessions start in auto mode, where a second model reviews actions and Claude does not ask you at each step. For a first session you want to see every step.
- Press
Shift+Tab. - Watch the status line at the bottom. Press
Shift+Tabagain until it saysmanual mode on.
In manual mode Claude asks before most file edits and commands. Don't press Shift+Tab again yet: the next press switches to accept edits on, where Claude edits files without asking, and the one after that shows plan mode on, where Claude only reads and proposes a plan. To start in manual mode every time, launch with claude --permission-mode manual.
Step 4: ask something that changes nothing
Type a question in ordinary words:
"What is in this folder? Describe each file in one line."
Claude reads the files it needs and answers. You do not have to paste anything in. Follow up with a question about the content, for example "which of these files was changed most recently?" or, in a code project, "what does this project do and where does it start?".
Step 5: ask for a plan before a change
Now describe a small change, and say you want the plan first:
"I want a summary file that lists every document here with its date and size. Tell me what you would do. Don't change anything yet."
Claude describes its steps. Read them. If something is unclear, ask: "why that command?". When the plan looks right, write "go ahead".
Step 6: approve the change, then check it
In manual mode, Claude shows each edit or command and waits. You choose Yes or No. Before you answer, check three things:
- Is it the right file?
- Does it create a new file, or overwrite one you care about?
- Do you understand what will happen?
If you are not sure, decline and write "explain this more simply first". When it finishes, open the result yourself. Here, open the summary file and compare two lines with the real files.
Made a change you don't like? Type /rewind (also /undo): it takes the conversation and the files back to an earlier point.
Step 7: give it a memory with /init
Type /init. Claude reads the folder and writes a CLAUDE.md file: standing instructions it reads at the start of every future session. Open it, remove what is wrong, and add one rule of your own, for example "never delete files; move them to old/ instead". Why this file matters and what to put in it: what is CLAUDE.md.
Commands for your first week
Type commands in the same box as your requests.
| Command | What it does |
|---|---|
/help |
Shows help and the available commands |
/init |
Writes a starting CLAUDE.md for the project |
/plan |
Enters plan mode: Claude proposes, changes nothing |
/rewind |
Takes the conversation and code back to an earlier point |
/resume |
Continues an earlier conversation |
/usage |
Shows session cost and, on paid plans, how much of your limits you have used |
/clear |
Starts a new, empty conversation |
/compact |
Summarizes the conversation so far, to free up room |
/exit |
Closes Claude Code |
Some / commands are skills, saved procedures you can also write yourself: Claude Code skills.
Step 8: end the session and pick it up tomorrow
Type /exit, or press Ctrl+D twice on an empty line. Tomorrow, open a terminal in the same folder, type claude and then /resume to choose the conversation, or start with claude --continue to open the most recent one.
If something goes wrong
- Claude starts doing something you did not want: press
Escto stop it, then say what you meant. - Nothing seems to happen for a long time: press
Ctrl+Cto cancel. If it still does not respond, close the terminal, open a new one in the same folder and runclaude --continue. - It talks about the wrong files: you started in the wrong folder; see step 2.
claudeis not found, sign-in fails, or you hit a limit: see Claude Code not working.
Check: did your first session work?
- The right folder name showed above the input box.
- Claude described the files correctly.
- You got a plan before any change, and the one change you approved did what you expected.
- A
CLAUDE.mdfile now exists in the folder. - After
/exitand a new start,/resumeshows your conversation.
The usual first-session mistakes are the wrong folder, a request with five tasks in it, and approving prompts without reading them. Keep requests to one task each, and read before you press Yes.
If you want company for your first few sessions, come by Team of One, my free WhatsApp community for people learning to amplify themselves with AI. Share what you tried or ask when a prompt surprises you.
Questions
How do I use Claude Code for the first time?
Open a terminal, go into a folder with cd, type claude and sign in when the browser opens. Then type a question in plain words, for example "what is in this folder?". In the desktop app you pick the folder in the Code tab instead.
Can Claude Code break my files?
It can edit and delete files, and recent versions start in auto mode, where it does not ask at every step. For your first sessions, switch to manual mode with Shift+Tab and work on a copy of your files. /rewind can take the conversation and the code back to an earlier point.
Is the conversation lost when I close the terminal?
No. Start Claude Code again in the same folder and type /resume to pick an earlier conversation, or start it with claude --continue for the most recent one.
Do I have to write in English?
No. Write in any language you are comfortable with. Command names such as /help stay the same. To make Claude always answer in your language, see the language setting.
How do I see how much of my plan I have used?
Type /usage. It shows the session cost and, on paid plans, how much of your limits you have used and when they reset.
Sources
- code.claude.com: quickstart: cd into the folder, then claude; browser sign-in on first use; the prompt shows version, model and folder; first questions; first change; Shift+Tab switches the permission mode; Claude reads files as needed, checked 18 November 2026
- code.claude.com: permission modes: Manual asks before most edits, commands and network access; auto is the starting mode for terminal sessions from v2.1.283; claude --permission-mode manual; plan mode, checked 18 November 2026
- code.claude.com: commands: /help, /init, /resume, /rewind (aliases /checkpoint, /undo), /usage, /clear, /compact, /exit, /login, /plan, checked 18 November 2026
- code.claude.com: guide for new terminal users: how to open the terminal; Esc interrupts Claude; exit or Ctrl+D twice to leave, checked 18 November 2026
- code.claude.com: CLAUDE.md and /init, checked 18 November 2026
- code.claude.com: Ctrl+C cancels; claude --continue resumes the conversation in a fresh process, checked 18 November 2026
- claude.com: the account you need; Pro is the smallest paid plan; the free plan does not include Claude Code, checked 18 November 2026
Free WhatsApp community
Learning AI? Learn it on real work.
In “Team of one” I post what I actually tried on my own work. Most of it is in Romanian, but ask in English any time and we will work it out together.
Join the community