1. β Install Node.js
- Go to π https://nodejs.org
- Download the LTS version (Recommended for most users).
- Install with all default settings.
To check if it installed correctly, open Command Prompt (cmd) and run:
node -v
npm -v
You should see version numbers (e.g., v20.x.x
and 10.x.x
).
2. β Install n8n Globally
In Command Prompt, run:
npm install n8n -g
This will install n8n globally on your system.
3. β Start n8n
Now run:
n8n
After a few seconds, youβll see output like:
n8n ready on http://localhost:5678/
Open your browser and go to π http://localhost:5678
π n8n is now running locally!
4. β Keep n8n Running
By default, n8n stops when you close Command Prompt.
To keep it running, use npx pm2 or start it in background:
npx pm2 start n8n
5. β‘ (Optional) Auto Start on Boot
If you want n8n to start every time you restart your PC:
npx pm2 startup
npx pm2 save
π Thatβs it β youβve installed n8n locally, the easy way.
Top comments (0)