StoicBuilder

HandbookI the LudusThe terminal

Ithe Ludus, Read code

The terminal

1 min readUpdated 28 November

In plain words

The terminal is a window where you type commands instead of clicking, and it's how you install packages, start your app and talk to Git.

Where you see it

When Cursor or Claude Code says "run this in your terminal", it means a command line opened in your project folder: the panel at the bottom of Cursor, Terminal on a Mac or PowerShell on Windows. Type the command, press Enter, and read what comes back before the next one.

Terminalterminal
cd quill # move into the project foldernpm install # download the packages listed in package.jsonnpm run dev # start the app on your own machinegit status # see which files have changed
npm run dev keeps running until you press Ctrl+C, so open a second terminal for anything else.

What goes wrong

  1. Running a command in the wrong folder

    npm looks for package.json in the current folder. Run it anywhere else and you get "Could not read package.json"; cd into the project first.

    npm error enoent Could not read package.json
  2. Pasting a command you don't understand

    Commands like rm -rf or git reset --hard delete things with no undo. Ask the agent what a command does before you press Enter.

  3. Scrolling past the red text

    npm prints warnings and errors in different colours. Warnings can often wait; an error means the command failed, even if the next one seems to work.

What to tell your agent

Copy this into Lovable, Bolt, Cursor or any agent
Before asking me to run a terminal command, tell me which folder to run it in, what it does in one sentence and whether it changes or deletes anything. Give me one command at a time and tell me what output means it worked.

Quick check

Sign in to earn +10 XP for it

Claude Code tells you to run npm install, and the terminal says it can't read package.json. What's going on?

Got a prompt that touches the terminal?

Paste it. You get a better prompt first, then the cards that explain it.

Check your own prompt

Free, no sign-up.