Host n8n
You can self-host n8n on your own infrastructure, on-premises or in a private cloud, using Docker Compose, one-line setup, or other deployment methods.
All self-hosted installations use the same core product. Without a license key, n8n runs as the free Community edition. Adding a Business or Enterprise license key enables those editions. See Compare editions for the differences between the self-hosted editions.
Choose your installation method
Select the installation method that best fits your technical requirements and infrastructure:
One-line setup
Best for: Quick setup with minimal configuration.
Requirements: Linux or macOS system with curl installed.
Automated installation script that handles all dependencies and configuration for you.
Docker Compose
Best for: Production deployments with databases and additional services.
Requirements: Docker and Docker Compose installed on your system.
Multi-container setup ideal for robust deployments with persistent data and scalability.
Google Cloud
Run n8n on Google Cloud using Cloud Run or Kubernetes Engine.
DigitalOcean
Simple droplet-based hosting ideal for small to medium deployments.
Heroku
Platform-as-a-service option for quick deployment with minimal configuration.
npm
Best for: Local development or testing.
Requirements: Node.js installed on your system.
Note: This installation method is being deprecated in n8n 3.0. Consider using Docker Compose or one-line setup instead.
Installs n8n directly using Node Package Manager. Quick to set up but requires managing Node.js versions and dependencies yourself.
Last updated
Was this helpful?