AI Compare
​
​
ToolsArticlesServices
Best for
    All articles

    Sales

    AI tools for finding leads, qualifying them, preparing quotes, following up and keeping the CRM up to date.

    Marketing

    AI tools for content, social media, images, video, SEO and campaigns.

    Customer service

    AI tools for answering customer emails, chats and calls, handling requests and escalating the hard cases.

    Operations

    AI tools for running the daily work: workflows, scheduling, projects, purchasing and delivery.

    Finance

    AI tools for invoices, bookkeeping, reconciliation, spreadsheets and financial reporting.

    Management & Admin

    AI tools for owners, managers and office staff: planning, reports, documents, meetings, scheduling and everyday admin.

    HR

    AI tools for hiring, screening candidates, onboarding, training and answering employee questions.

    Legal & Compliance

    AI tools for reviewing contracts, tracking deadlines and preparing compliance work for a qualified person to check.

    IT & Development

    AI tools for developers and IT teams: coding, AI models, agents, infrastructure and integrations.

Find AI tools for your team
AllAssistantsWriting & DocsImagesVideoAudioAI AgentsAutomationCode
← All articles

How to Install n8n: Cloud vs Docker vs npm

October 7, 2026 · By AI Compare

Three ways to run n8n, with exact commands and when to choose each one.

Install and setup

Three ways to run n8n

OptionSetup timeCostBest for
n8n Cloud2 minutesFrom €20/monthNon-technical teams, quick start
Docker10–30 minutesFree + serverProduction self-hosting
npm / npx5 minutesFreeTrying n8n on your laptop

Option 1: n8n Cloud

  1. Go to n8n.io and start a free trial.
  2. Pick a workspace name. You get a URL like yourname.app.n8n.cloud.
  3. Start building. Updates, backups and SSL are handled for you.

Choose Cloud if nobody on your team wants to maintain a server. You pay per execution (2,500 on Starter), so check your volume first.

Option 2: Docker (recommended for self-hosting)

Docker runs n8n in an isolated container, so it is easy to update and move. Install Docker Desktop on your computer or Docker Engine on a Linux server, then run:

docker volume create n8n_data

docker run -it --rm \
  --name n8n \
  -p 5678:5678 \
  -e GENERIC_TIMEZONE="Europe/Budapest" \
  -e TZ="Europe/Budapest" \
  -e N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true \
  -e N8N_RUNNERS_ENABLED=true \
  -v n8n_data:/home/node/.n8n \
  docker.n8n.io/n8nio/n8n

Open http://localhost:5678 and create the owner account.

What each part does:

  • n8n_data volume keeps your workflows and credentials when the container restarts. Without it, you lose everything on restart.
  • -p 5678:5678 exposes the n8n editor on port 5678.
  • GENERIC_TIMEZONE makes Schedule Trigger nodes run in your local time.

For a real server, n8n recommends Docker Compose with PostgreSQL and a reverse proxy for HTTPS. We walk through that setup in self-host n8n on a VPS.

Option 3: npm or npx (quick local test)

n8n needs Node.js 20.19 to 24.x. Check your version with node -v.

Try it without installing:

npx n8n

Or install globally:

npm install n8n -g
n8n start

Then open http://localhost:5678.

npm is great for learning and testing. For anything other people depend on, use Docker, because upgrades and backups are simpler and you avoid Node version conflicts.

Webhooks on a local install

Apps like Stripe or Typeform need a public URL to send data to your webhook nodes. On a laptop, localhost is not reachable from the internet. Options:

  • Use a tunnel such as Cloudflare Tunnel (cloudflared) for testing.
  • Deploy to a VPS with a domain for anything real.

Updating n8n

  • Cloud: automatic.
  • Docker: docker pull docker.n8n.io/n8nio/n8n, then recreate the container. Your data stays in the volume.
  • npm: npm update -g n8n.

Back up first. Read release notes for breaking changes before major upgrades.

Which option should you choose?

  • Just exploring: npx.
  • Running real business workflows and someone can manage a server: Docker on a VPS.
  • No technical person available: n8n Cloud.

Next steps

  • Self-host n8n on a VPS for under $10/month
  • Connect Google, Slack and OAuth credentials

Related services and topics

n8nAutomation platformsAutomationIT & Dev

Tools in this article

n8n

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

More articles

October 7, 2026 · AI Compare

n8n Cloud vs Self-Hosted

Pay for convenience or run it yourself? A clear comparison and checklist to decide.

Read article →

Install and setup
n8n logo
October 7, 2026 · AI Compare

Self-Host n8n on a VPS for Under $10/Month

A production-ready n8n setup with HTTPS and Postgres for the price of a small server.

Read article →

Install and setup
n8n logo
October 7, 2026 · AI Compare

What Is n8n? The Open-Source Workflow Automation Tool Explained

n8n is a source-available automation tool you can self-host for free. Here is how it works and who it is for.

Read article →

Get started
n8n logo
October 7, 2026 · AI Compare

AI Agents in Zapier vs Make vs n8n: Which Is Best?

How Zapier Agents, Make AI Agents and n8n's AI Agent node differ, and which to choose.

Read article →

Comparison
Z
M
n8n logo
Help
Pick an answer below
Hi! I can point you to the right tool or guide. What are you looking for?
Browse all articles