DEV Community

Cover image for Self-hosting n8n: the easy way

Self-hosting n8n: the easy way

Jonas Scholz on April 01, 2025

n8n is the hottest "ai native" automation tool on the market right now. Basically no-code for AI workflows, BUT the pricing can be a bit daunting, ...
Collapse
 
ngdangtu profile image
Đăng Tú

Is there any option to do that on localhost only?

Collapse
 
ranjancse profile image
Ranjan Dailata
  • Install latest NodeJS
  • npm install n8n -g
  • n8n start
Collapse
 
code42cate profile image
Jonas Scholz

I'd recommend using Docker even if its a local setup:)

Thread Thread
 
ranjancse profile image
Ranjan Dailata

Sure, but why Docker? any specific reason for local setup?

Thread Thread
 
ngdangtu profile image
Đăng Tú

It saves you from a hellish life. Can you imagine one broken update of your test server that brings down your whole computer? Moreover - we, dev, usually don't have just 1 local server. Can you imagine conflict between these local servers =))

That's why mate.

Thread Thread
 
ranjancse profile image
Ranjan Dailata

Well, I was asking in the context of n8n. Unless you are one of those CORE developer of n8n, there is no way anyone would update the n8n source code mate!

Collapse
 
code42cate profile image
Jonas Scholz

Yes, checkout this tutorial and basically only do the docker compose part: dev.to/code42cate/self-hosting-n8n...

Collapse
 
ngdangtu profile image
Đăng Tú

Thanks, i just found out after read this article too =))

Thanks for the articles btw, good ones

Collapse
 
_aliraza profile image
Ali Raza

How about Hetzner ?

Collapse
 
code42cate profile image
Jonas Scholz

Writing a tutorial for that right now!

Collapse
 
code42cate profile image
Jonas Scholz
Collapse
 
robert_sallo_6eaadea18c5f profile image
robert sallo

Naive question, does the n8n community version have the same connectors / integrations than the commercial one? Thanks!

Collapse
 
code42cate profile image
Jonas Scholz

Yes! You can see what is missing here (docs.n8n.io/hosting/community-edit...), although I don't think these features matter for most people:)