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)