Before you start
This gets your computer ready for the setup, once. It takes about fifteen minutes. If you’ve used a
terminal before, the short version is: install Node.js 24 (or 22.23.4 or later), run npm install in the directory’s
folder, then npm run setup.
1. Install Node.js
Section titled “1. Install Node.js”- Go to nodejs.org.
- Click Get Node.js. The page it opens has the version marked LTS chosen already (it means “long-term support”: the steady version; the home page shows it as Latest LTS, at the bottom). Click the installer for your computer: macOS Installer (.pkg) on a Mac, Windows Installer (.msi) on Windows.
- Open the file it downloads, and click through the installer, keeping its suggestions.

On Windows, the installer may offer “Tools for Native Modules”. You don’t need them: leave that box unticked.
2. Open a terminal
Section titled “2. Open a terminal”A terminal is a window where you type commands.
- On a Mac: press ⌘ Space, type Terminal, and press Enter.
- On Windows: open PowerShell.
Check Node.js is there: type node --version and press Enter. It shows a number like v24.11.0. Any
number from 24 up is right, and so is 22 from v22.23.4; an older 22 needs the newer download. If it says the command isn’t found, close the terminal, open a new one,
and try again (a terminal opened before the install doesn’t know about it yet).
3. Put your directory’s folder somewhere easy to find
Section titled “3. Put your directory’s folder somewhere easy to find”Unzip the download (or copy the folder) into your Documents folder, and give it your directory’s
name, like dannys-directory. Each directory you make gets its own folder.
4. Go to the folder in the terminal
Section titled “4. Go to the folder in the terminal”Type cd (with a space after it), then drag the folder from Finder or File Explorer into the terminal
window, and press Enter. The terminal now works inside your folder.
5. Install the site’s parts
Section titled “5. Install the site’s parts”Type this and press Enter:
npm installIt downloads what the site is built with. It takes a minute or two, and prints a lot of text: that’s normal. Warnings are fine; it’s finished when you can type again.
6. Start the setup
Section titled “6. Start the setup”npm run setupChoose “Set up everything, in order” and press Enter. Then follow the questions.
Good to know while you go
Section titled “Good to know while you go”- Moving around: the arrow keys choose an answer, Enter confirms it. For yes or no, the arrow keys switch between them.
- Pasting: ⌘ V on a Mac; Ctrl V, or a right-click, on Windows.
- Pasting a password or key: the setup says so first. What you paste shows as dots, so it stays private. That’s normal: paste once, and press Enter. It says “Got it.” when it has it.
- Other websites: when a step happens on another site, the setup lists what to do there, numbered, and opens the page when you press Enter. Do the steps, then come back to the terminal.
- Signing in: for Cloudflare and GitHub, the setup shows a short code and opens a page in your browser. Check the code matches, and click Authorize. Then you can close that browser tab.
- Stopping: press Ctrl C at any time. Nothing after that point is changed, and the setup remembers
what’s done: run
npm run setupagain to carry on. - If something fails, the setup says what happened in plain words and offers to fix it. The
technical details, if you need to send them to someone, are in
.setup/last-error.txtin your folder (no passwords or keys are ever in it).