selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

n8n logo

Self-host n8n

n8n@1.123.97

Fair-code workflow automation with native AI

ReleaseSource AvailableOther
Updated1 hour ago
LanguageTypescript
Setup difficultyModerate
Stars
210 614
Port
5678 (HTTP web editor and API)
Docker
docker.n8n.io/n8nio/n8n
Install with Docker
n8n workflow editor canvas showing visual workflow building

What is n8n?

n8n is a fair-code workflow automation platform for technical teams to create AI agents and multi-step workflows. It merges a visual canvas with custom JavaScript or Python code, and provides over 1500 pre-built integrations plus custom API connections. Self-hosting options include Docker, Docker Compose, and npm, with SQLite as the default database and PostgreSQL as an alternative. Enterprise capabilities include role-based access control, audit trails, SSO via OIDC, SAML, or LDAP, and queue mode for horizontal scaling. The Community edition is free and source-available under the Sustainable Use License, while paid Business and Enterprise tiers add features such as external secrets, log streaming, and multi-environment support.

n8n alternatives

Should you self-host n8n?

n8n scores 92/100 on selfhost.directory (how scoring works) and ranks #1 of 31 in Workflow Automation. It has 210 614 GitHub stars, +3 464 in the last 30 days.

It shipped 238 stable releases in the past year. The latest, n8n@1.123.97, came out on 16 November 2026.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is Other-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is Apache Airflow (85/100, 47 493 stars). n8n scores higher overall. See n8n vs Apache Airflow side by side.

Features

  • 1500+ integrations
  • AI agent capabilities
  • Custom code support
  • Encryption key rotation
  • External secretsRequires Business or Enterprise plan
  • Log StreamingRequires Business or Enterprise plan
  • Queue modeAvailable in Community edition; multi-main mode requires Business/Enterprise
  • Role-based Access ControlProjects and RBAC require Business or Enterprise plan
  • Source control (Git)Requires Business or Enterprise plan
  • SSO (OIDC/SAML/LDAP)Requires Business or Enterprise plan for self-hosted
  • Two-factor authentication
  • Visual Workflow Builder
  • Workflow Templates

n8n README

Banner image

n8n – The Platform for AI Agents and Workflow Automation

Fair-code platform to build and deploy AI agents and workflows. Combine a visual canvas with custom code, run it self-hosted or in the cloud, and connect to 1500+ integrations. AI automation you can trust with real work, from prototype to production.

How to install n8n

Install n8n with Docker

Docker Engine and Docker Compose
Environment variables
GENERIC_TIMEZONE, TZ, N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS

docker volume create n8n_data docker run -it --rm
--name n8n
-p 5678:5678
-e GENERIC_TIMEZONE="<YOUR_TIMEZONE>"
-e TZ="<YOUR_TIMEZONE>"
-e N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true
-v n8n_data:/home/node/.n8n
n8nio/n8n

Recommended installation method

How to configure n8n

  • GENERIC_TIMEZONETimezone for schedule-oriented nodes
  • TZSystem timezone
  • DB_TYPEsqliteThe database to use

    values: sqlite, postgresdb

  • DB_POSTGRESDB_DATABASEn8nThe name of the PostgreSQL database
  • DB_POSTGRESDB_HOSTlocalhostThe PostgreSQL host

n8n releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

What if I want to use n8n for something not permitted by the license?

You must sign a separate commercial agreement with n8n.

What source code is covered by the Sustainable Use License?

The Sustainable Use License applies to all source code in the main GitHub repository except content of branches other than master and files containing .ee. in their name.

What license do you use?

n8n uses the Sustainable Use License and n8n Enterprise License, based on the fair-code model.

More in Workflow Automation

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…