What is n8n, and why should you care?
n8n (pronounced "n-eight-n") is a tool for building automations. It connects apps and services you already use, such as Gmail, Google Sheets, WhatsApp, CRMs and AI tools, so you can build workflows that run on their own, without writing code.
Instead of copying form details into a spreadsheet by hand, sending a thank-you email and updating your team, you build a chart of connected blocks (nodes) once, and n8n does the work every time.
- A website form is submitted
- The details are saved to a sheet
- The customer gets a personal email
- The team gets an update
Why n8n?
You can install it yourself for free (the Community edition), it has hundreds of ready-made integrations and built-in AI features, and your data can stay with you. That is exactly why it pays to understand the installation options, and that is what this guide is for.
Not sure n8n is the right tool for you? The n8n vs Make vs Zapier comparison will help you decide.
Six terms worth knowing before you start
No need to memorise them. If you meet an unfamiliar word later, just come back here.
- Docker
- Software that runs other software inside a neat, sealed "box", without installing it directly on your computer. We use it to run n8n.
- Container
- The "box" itself: n8n running inside Docker. You start and stop it with one click.
- Volume (data vault)
- Storage that Docker keeps aside. Your workflows, settings and account live there, even if the container is deleted.
- localhost:5678
- "Your own computer’s address". Type it into your browser to reach the n8n running on your machine. 5678 is the "door" (port) n8n listens on.
- VPS (virtual server)
- A small computer in the cloud that you rent monthly. It is always on, so your automations run even when your computer is off.
- Webhook
- A "doorbell" another service rings when something happens, such as a form submission. To hear it, n8n needs an address reachable from the internet.
Three ways to run n8n: a comparison
There is no single "right" way. The main trade-off is maximum convenience versus cost and control. Here is how it looks in practice:
n8n Cloud
n8n hosts, updates and backs up everything for you. Sign up and start building within minutes.
- Cost
- Monthly plan, free trial available
- Best for
- Getting started right away, with nothing to install
On your computer (Docker)
n8n runs on your own computer, for free and with no execution limits. Great for learning, experimenting and building.
- Cost
- Free
- Best for
- Learning and experimenting without spending anything
Your own cloud server (VPS)
A small rented server with n8n running around the clock. More responsibility, much lower cost.
- Cost
- Monthly server rental
- Best for
- Ongoing business automations on a budget
Full comparison
| Compared | n8n Cloud | Docker on your computer | VPS server |
|---|---|---|---|
| Cost | Plans from €20/month billed annually, with a free trial | Free | Server rental: usually about $5 to $15/month |
| Difficulty | Very easy: just sign up | Easy to moderate: install an app and run two commands | Moderate, mostly with a ready-made template |
| Setup time | About 5 minutes | About 20 to 30 minutes | About 30 to 60 minutes |
| Runs 24/7 | Yes, always | Only while your computer and Docker are running | Yes, always |
| Receives webhooks from the internet | Yes | No, not in the basic setup | Yes, with an HTTPS address |
| Execution limits | Depends on the plan (2,500/month on Starter) | No limit from n8n | No limit from n8n, only server capacity |
| Who maintains and updates it | n8n | You, with a few commands | You: updates, backups and security |
| Where your data lives | On n8n’s servers | On your computer | On your server |
Prices were checked on the official websites in October 2026 and may change. There is also a Node.js (npm) install, but it is aimed at developers and the official docs say it is deprecated from version 3.0, so it is not covered here.
Which option fits you?
Pick the sentence that sounds most like you and jump straight to the steps:
Our pick for beginners
Not sure? Start with Docker on your computer. It is free, you cannot "break" anything, and if you love it you can always move to a server or to Cloud and bring your workflows along.
n8n Cloud: up and running in five minutes
The easiest way: n8n runs the system for you, keeps it updated and backed up. You just sign in and build.
Go to the official website
Visit n8n.io and click the sign-up or free trial button. According to the pricing page, the trial does not require a credit card.
Sign up and name your workspace
Enter your name and email and choose a workspace name. It becomes your permanent address, for example
yourname.app.n8n.cloud.Confirm your email
Open the email from n8n and confirm your sign-up. A minute or two later your workspace is ready and you are in.
Choose a plan before the trial ends
Staying? Pick a plan in your account settings. Not staying? Download the workflows you built first (the ⋯ menu inside a workflow → Download) so nothing is lost.
What counts as an "execution"?
Each time a workflow runs from start to finish counts as one execution, no matter how many nodes it has. A workflow that runs every 15 minutes adds up to about 2,900 executions a month, so plan your tier accordingly.
Install n8n on your computer with Docker
This is the most detailed part of the guide, because here you do everything yourself. Don’t worry: copy, paste and press Enter. No programming skills needed.
Before you start
- A Windows 10 or 11 computer (64-bit, up to date), or a Mac with a recent version of macOS.
- Ideally at least 8GB of memory (RAM) and a few GB of free disk space.
- An internet connection and about half an hour of quiet.
Is Docker free?
Docker Desktop is free for personal use, education and small businesses (fewer than 250 employees and less than $10 million in annual revenue). Larger organisations need a paid subscription.
Download Docker Desktop
Go to the official website, docker.com, and click Download.
Windows
On most computers choose Download for Windows – AMD64. The ARM64 version is only for computers with an ARM processor, such as Snapdragon.
Mac
Choose by processor: Apple Silicon for M1 Macs and newer, or Intel. Not sure? Click the Apple menu → About This Mac and check what it says next to Chip.
Install it
Windows
- Open the downloaded Docker Desktop Installer.exe file.
- Keep the Use WSL 2 option ticked and click OK.
- When it finishes, click Close. If asked, restart your computer.
Mac
- Open the downloaded Docker.dmg file.
- Drag the Docker icon into your Applications folder.
- Open Docker from Applications and confirm that you want to open it.
Start Docker Desktop
Open Docker Desktop and accept the terms. If it asks you to sign in, you can skip it. Wait until the bottom of the window shows Engine running with a green dot.
A WSL message on Windows?
Open PowerShell (the next step shows how), type
wsl --update, press Enter and restart your computer.Open a command window
Windows
Click Start, type PowerShell and open Windows PowerShell.
Mac
Press ⌘ + Space, type Terminal and press Enter.
A dark window with text opens. Nothing scary: you only paste the commands from this guide and press Enter.
Create a data vault
Click "Copy", paste into the command window (Ctrl+V, or ⌘+V on a Mac) and press Enter:
PowerShell · Terminaldocker volume create n8n_dataIf you see the word
n8n_dataprinted back, it worked.Start n8n
Now the main command. It is long, and that is perfectly fine. Copy all of it, paste it and press Enter (replace Europe/London with your own time zone if you like):
PowerShell · Terminaldocker run -d --name n8n --restart unless-stopped -p 5678:5678 -e GENERIC_TIMEZONE="Europe/London" -e TZ="Europe/London" -e N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true -v n8n_data:/home/node/.n8n n8nio/n8nThe first time, Docker downloads n8n, which can take a few minutes. When a long line of letters and numbers appears, n8n is already running in the background.
What does this command actually say?
Part of the command What it does docker run -dStarts n8n in the background, so you can close the command window. --name n8nGives the container a fixed name: n8n. --restart unless-stoppedn8n starts again by itself whenever Docker starts, unless you stopped it. -p 5678:5678Opens "door" 5678 so you can reach n8n from your browser. -e GENERIC_TIMEZONE / -e TZYour time zone, so scheduled workflows run on your local clock. -e N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=trueA recommended security setting for n8n’s settings file. -v n8n_data:/home/node/.n8nConnects the data vault so your data is kept for good. n8nio/n8nThe software itself: the latest stable version of n8n. Open n8n
Open your browser and go to
http://localhost:5678. If the page does not load, wait another minute and refresh: n8n needs a moment to start the first time.Illustration: the n8n welcome screen at localhost:5678 Create the owner account
On the first screen, enter your email, name and a password. This is the main (Owner) account of your n8n, so keep the password somewhere safe.
That’s it, n8n is installed!
From now on, whenever Docker Desktop is open, n8n starts by itself and waits for you at localhost:5678.
Everyday use
- To stop or start n8n: in Docker Desktop, open Containers and click the stop or start button next to n8n.
- Want n8n ready as soon as your computer starts? In Docker Desktop: Settings → General → Start Docker Desktop when you sign in.
- Remember: when your computer is off or asleep, your automations do not run.
Your own server (VPS): n8n that runs 24/7
Want automations that run all the time, even when your computer is off, with no execution limits? Rent a small server in the cloud. The good news: some providers offer a ready-made n8n template, so the installation itself is mostly a few clicks.
Choose a provider and a plan
Look for a VPS provider with a ready-made (one-click) n8n template. Hostinger, for example, offers one, and other providers do too. For most uses, a server with 2 CPUs (vCPU) and at least 2GB of memory is enough.
Pick the n8n template
When setting up the server, choose the n8n template instead of a "blank" operating system. Pick a server location close to you.
Set a strong password for the server
The provider asks for an admin (root) password. Choose a long, unique one and keep it in a password manager.
Open n8n and create your account, right away
After a few minutes of installation, the provider’s dashboard shows an address or button for opening n8n. Open it and create the owner account immediately: whoever reaches the address first gets to create it.
Add your own domain (recommended)
An address like
n8n.your-business.comlooks professional and is easy to remember. Most providers explain how to connect a domain and enable HTTPS. Make sure the address starts withhttps://and the browser shows a padlock.
Security is not optional
- A strong password and two-factor authentication (2FA) in your n8n user settings.
- Automatic backups or server snapshots, if your provider offers them.
- Update n8n regularly, through your provider’s dashboard or following its instructions.
- Never share login details, and keep passwords only in n8n’s Credentials area, not inside workflows.
After installing: your first steps
Activate the free license
When you self-host (Docker or VPS), n8n gives you a free license key that unlocks extra features: folders to organise workflows, debugging in the editor and saving extra execution data.
You can request it during sign-up, or later: open the ⋯ menu in the bottom corner, then Settings → Usage and plan → Unlock. The key arrives by email; click the button inside it.
Build your first workflow in two minutes
- Click Create Workflow.
- Add a Trigger manually trigger, which runs the workflow when you click.
- Click + and add a node called Edit Fields (Set).
- Add a field named
messagewith the valueHello from n8n!. - Click Execute workflow and watch the result appear in the node.
That is the whole idea
A trigger that starts the workflow, nodes that take actions, and data flowing between them. From here you can swap the trigger for a form, a new email or a schedule, and the nodes for Gmail, Google Sheets or an AI tool.
Save and switch it on
Save (Ctrl+S, or ⌘+S on a Mac). For a workflow to run by itself from its trigger, you need to switch it on: in newer versions that is the Publish button, in older versions the Active toggle.
Updates and backups (Docker install)
n8n is updated often. Here is how to update without losing anything, because your data lives safely in the n8n_data vault:
Download the new version
PowerShell · Terminaldocker pull n8nio/n8nRemove the old container (your data stays)
PowerShell · Terminaldocker rm -f n8nStart it again with the same command from step 6
PowerShell · Terminaldocker run -d --name n8n --restart unless-stopped -p 5678:5678 -e GENERIC_TIMEZONE="Europe/London" -e TZ="Europe/London" -e N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true -v n8n_data:/home/node/.n8n n8nio/n8n
Never delete n8n_data
That vault holds all your workflows, settings and connections. Deleting the container is safe; deleting the volume is not.
A simple backup
Every now and then, download your important workflows as files: inside a workflow, the ⋯ menu → Download. If something goes wrong you can import them back. Note that the file does not include your connection passwords, which you will need to enter again.
Stuck? Common problems and fixes
The browser says it cannot reach the site (localhost refused to connect)
Make sure Docker Desktop is open and that n8n shows a green dot under Containers. Wait a minute and refresh. Check that the address is exactly http://localhost:5678, with http and no s.
I get the error port is already allocated
Something is already using door 5678, usually an n8n that is already running. Check Containers. If it is something else, change -p 5678:5678 to -p 5679:5678 in the command and open http://localhost:5679.
I get the error The container name "/n8n" is already in use
The container already exists, so there is no need to create it again. Start it from Docker Desktop, or with the command docker start n8n.
I see 'docker' is not recognized or command not found
Docker Desktop is not installed or not running. Open it, wait for Engine running, then close and reopen the command window.
On Windows: an error about WSL or virtualization
Run wsl --update in PowerShell and restart. If the problem continues, you may need to enable virtualization in your computer’s BIOS settings. It differs between models, so search for "enable virtualization" together with your model name.
On a VPS: a message about a secure cookie
This appears when you open the server over an insecure (http) address. Use the https address your provider gives you, or connect a domain with HTTPS. Turning the protection off is not recommended.
I turned off my computer. Are my workflows gone?
No. Everything is stored in the n8n_data vault. When you open Docker Desktop again, n8n starts with everything you built.
Is n8n really free?
The self-hosted Community edition is free under the Sustainable Use License: you may use it for personal purposes and for your own business’s internal needs. What you may not do is sell n8n itself as a service to others. For business licensing questions, check the official license terms.
Official sources
- n8n Docs: Docker installation
- n8n Pricing
- n8n Docs: Community edition features
- Docker Docs: Install Docker Desktop on Windows
- Docker Docs: Install Docker Desktop on Mac
This guide is based on the official n8n and Docker documentation as checked in October 2026. Interfaces, prices and requirements change from time to time, so it is worth checking the official sources too. ShlomiFlowAI is not affiliated with n8n or Docker.
Want your first automation running this week?
ShlomiFlowAI can help you choose the right setup, install n8n and build your first workflows together.

