Self-host n8n
A fair-code workflow automation tool — connect APIs and build automations visually, self-hosted so your data and credentials never leave your server.
Key facts
Pick n8n when you want a visual workflow builder with a Code node and hundreds of integrations, and you have read the licence: it is fair-code under the Sustainable Use License — free for internal business, personal and non-commercial use, but you may not host it and charge people for access or white-label it, and files with `.ee.` in the name need an Enterprise licence. One container (`n8nio/n8n`, TypeScript on Node.js) with SQLite in `/home/node/.n8n` is a complete install; PostgreSQL is an environment-variable switch. Upstream publishes no RAM figure, ships a new minor most weeks, and says self-hosting is for expert users. If the licence terms are a blocker, Huginn is the other workflow-automation entry in the catalog.
Follow the n8n deploy guide →What you need
- Any VPS with at least 1024 MB of RAM
- A domain you control — most self-hosted setups need HTTPS in front of them
- About an afternoon — budget time for troubleshooting
Paid link — we earn a commission if you shop through it.
Install
Run these commands on your server:
# n8n — single container (set a real encryption key in production)
docker run -d --name n8n \
-p 5678:5678 -v n8n_data:/home/node/.n8n \
docker.n8n.io/n8nio/n8n
# open http://SERVER_IP:5678What you take on
n8n's hosting docs are frank that self-hosting is expert territory; these are the parts that bite:
An alternative to
Head-to-head
The two Zapier-shaped visual builders in this hub — an MIT core that is still pre-1.0 vs. the mature, source-available incumbent.
Two browser flow editors on Node.js that do different jobs — event and device plumbing under Apache-2.0 vs. SaaS-to-SaaS automation under a source-available license.
A code-first developer platform with an AGPL core and a seat cap vs. a no-code integration tool with no seat cap and a source-available license.