Start using AI: cheat sheet
Open a terminal
Mac: Press CmdSpace, type Terminal, press Enter.
Windows: Hold the Windows key, press X, and select Terminal or Windows PowerShell (not the Admin one).
Linux: Press CtrlAltT.
Chromebook: Settings, then About ChromeOS, then Developers. Next to Linux development environment, select Set up.
In any terminal
- pwd
- Where am I?
- ls
- What is in this folder?
- cd foldername
- Go into a folder
- cd ..
- Go up one folder
- mkdir name
- Make a folder
- clear
- Clear the screen
- cat file.txt
- Show a file's text
Start and leave Claude Code
- claude
- Start it, inside your practice folder
- claude -c
- Carry on the last conversation in this folder
- claude --version
- Check that it is installed
- /exit
- Leave
Inside Claude Code
- /help
- List the commands
- /clear
- New conversation, empty memory
- /rewind
- Go back to an earlier point
- /resume
- Reopen an earlier conversation
- /usage
- See how much of your plan you have used
Stay in charge
- ShiftTab
- Change mode. Stop when it reads
⏸ manual mode on: now it asks before it acts. - Esc
- Stop what it is doing. It keeps the work done so far.
- EscthenEsc
- On an empty prompt: open the rewind menu to undo file edits.
Six habits
- Work in a practice folder.
- Ask-first mode while you learn.
- Read before you choose Yes.
- One small change at a time, then look.
- Check facts in a second place.
- Never type private things.
Claude Code is for people 18 or over and needs a paid plan. Prices, plans and commands change: check the official pages.
