Objective: Open a terminal on Windows or Mac, move around folders with pwd, ls and cd, run a command and read what comes back — and start and stop the FreshNest practice servers without falling into the two traps that stop beginners cold.
⏱ ≈35 min full lesson · Practice site: FreshNest booking form · English edition
🧽 The practice business: FreshNest Home Cleaning — a fictional local cleaning company (owner: Maya Torres) invented for this course. Every example and exercise uses FreshNest, so you learn on a complete, realistic business without ever touching a real one.
A terminal is a window where you talk to the computer by typing. Instead of clicking buttons, you type a short instruction — a command — press Enter, and the computer answers in text, right under what you typed. That is all it is. It looks bare because there is nothing to click, but every command you will use in this course is one line of typing, and the answer is always printed where you can read it and copy it into a bug report.
On Windows, open Terminal or PowerShell from the Start menu. On a Mac, open Terminal from Applications → Utilities (or search 'Terminal' with Spotlight). The blinking cursor sits next to a prompt — a short line that ends and waits. The terminal always works inside one folder at a time, called the current folder. Three commands tell you where you are and move you: pwd prints the current folder's full path (on Windows PowerShell, pwd works too). ls lists what is in the folder (dir on Windows does the same). cd foldername moves you into that folder, and cd .. moves back up one level. A path is just an address for a folder, written as the chain of folders that leads to it.
Running a command means typing it exactly and pressing Enter. What prints underneath is the output. An error is output too — read it like a sentence, not a disaster: it usually names what it could not find or what it expected. Before any setup in this course, you check two tools exist: type node --version and press Enter, then npm --version. Each should answer with a version number, like v20.11.0. If you instead get 'not recognized' or 'command not found', Node is not installed yet — install the LTS version from nodejs.org, then close and reopen the terminal and check again. A fresh terminal is what picks up the new tool.
The FreshNest practice project runs on small servers — programs that serve the practice sites on your own machine. You start one with a command, and here is the first trap: a running server takes over its terminal. It prints a line like 'listening on http://localhost:8931' and then no new prompt appears. That is not a hang and not an error — the missing prompt is the server working, serving the site (8931 is the buggy FreshNest site, 8932 the fixed one). Leave that terminal alone and open a second terminal for every other command. To stop a server, click into its terminal and press Ctrl+C — that ends whatever is running there and gives you the prompt back. Second trap, and it bites in the Playwright lesson: the lab's printed test command also runs an API test file that quietly needs two more things — the API server running (on port 8940, started in yet another terminal) and a token set as FRESHNEST_LAB_TOKEN. Miss either one and that one test fails with a 401, even on the fixed site. That failure is a setup gap, not a bug in the site — start the API server, set the token, and run it again before you report anything.