Installation
This page walks you through downloading and setting up Nocturne.
By the end, you'll have the project files on your computer, ready to run.
Estimated time: 5–10 minutes.
Before You Begin
Make sure you have:
- Node.js 18 or higher installed — download here
- npm — comes with Node.js
- A terminal — Command Prompt (Windows) or Terminal (Mac/Linux)
Check your Node.js version:
node --version
You should see something like v18.x.x or v20.x.x.
If you get node: command not found, install Node.js from nodejs.org and try again.
Step 1 — Download Nocturne
After purchasing on Gumroad, you'll get a .zip file.
Windows:
- Right-click the
.zipfile - Click Extract All
- Choose a folder, e.g.,
C:\Users\YourName\nocturne\ - Click Extract
Mac:
- Double-click the
.zipfile — it extracts automatically - Move the folder to
~/nocturne/
Linux:
unzip nocturne.zip -d ~/nocturne
Step 2 — Open a Terminal in the Project Folder
Windows:
- Open the
nocturnefolder in File Explorer - Click the address bar at the top
- Type
cmdand press Enter
Mac:
- Right-click the
nocturnefolder → New Terminal at Folder
Linux:
- Open Terminal, then
cd ~/nocturne
Step 3 — Install Dependencies
In the terminal, run:
npm install
This installs all required packages. It usually takes 1–2 minutes.
What gets installed:
- Docusaurus 3 core
- React 18
- Pagefind search plugin
- Theme dependencies
Step 4 — Verify the Installation
Run a test build:
npm run build
If successful, you'll see:
[INFO] [en] Creating an optimized production build...
[SUCCESS] Generated static files in "build".
The build/ folder now contains your static documentation site.
Troubleshooting
node: command not found
Node.js is not installed or not in your PATH. Download it from nodejs.org and reinstall.
npm install fails
- Delete
node_modules/andpackage-lock.json - Run
npm installagain - If it still fails, check your Node.js version with
node --version
npm run build fails with "command not found"
Run npm install first. The build command requires dependencies.
Port 3000 already in use
That's a dev server issue, not build. See Local Setup for how to change the port.
What's Next?
Nocturne is installed. Now let's run it locally.