Running n8n locally is the easiest and completely free way to learn automation. In this guide, we'll install Docker Desktop, enable WSL, set up Ubuntu, and run n8n on your Windows computer.
Before You Start
Requirements
- Windows 10 or Windows 11 (64-bit)
- Stable Internet Connection
- Administrator Access
- At least 5 GB of Free Disk Space
Step 1: Download Docker Desktop
Docker lets you run applications inside isolated containers. We will use Docker to run n8n locally.
Download Docker Desktop:
https://www.docker.com/products/docker-desktop/
Step 2: Enable WSL
What is WSL?
WSL (Windows Subsystem for Linux) allows Linux to run directly inside Windows without installing a separate operating system.
Open Command Prompt as Administrator and run:
wsl --install

Wait for the installation to complete.
Step 3: Restart Your Computer
After WSL installation is complete, restart your computer.
This allows Windows to finish setting up WSL correctly.
Step 4: Ubuntu Installation
After restarting, Windows will install Ubuntu through WSL.
Ubuntu is a Linux environment where Docker works smoothly.
If prompted:
- Create a Username
- Create a Password
Step 5: Open Docker Desktop
Launch Docker Desktop.
Wait until Docker finishes starting.
You should see Docker running successfully.
Step 6: Verify Docker Installation (Optional)
Open Command Prompt and run:
docker --version
Example Output:
Docker version 28.x.x, build xxxxxxx
If you see the Docker version, everything is working correctly.
Step 7: Create an n8n Data Volume
A Docker Volume stores your n8n data safely, so your workflows remain even after restarting Docker.
Run:
docker volume create n8n_data
Expected Output:
n8n_data
Step 8: Run n8n
Now run the following command:
docker run -it --rm --name n8n -p 5678:5678 -v n8n_data:/home/node/.n8n docker.n8n.io/n8nio/n8n
Docker will automatically download the latest n8n image during the first run. This may take a few minutes depending on your internet speed.
Step 9: Wait for n8n to Start
Once the installation is complete, you'll see a message similar to:
Editor is now accessible via:
http://localhost:5678
Step 10: Open n8n
Open your browser and visit:
http://localhost:5678
The n8n setup page will appear.
Step 11: Create Your Owner Account
Fill in:
- First Name
- Last Name
- Email Address
- Password
Click Create Account.
Congratulations! 🎉
Your local n8n instance is now ready.
You can now:
- Create unlimited workflows
- Learn automation
- Connect APIs
- Build AI workflows
- Use n8n for free on your local computer
Stop n8n
Press:
Ctrl + C
inside the Command Prompt.
Start n8n Again
Simply run the same command again:
docker run -it --rm --name n8n -p 5678:5678 -v n8n_data:/home/node/.n8n docker.n8n.io/n8nio/n8n
Need Help?
If http://localhost:5678 doesn't open:
- Make sure Docker Desktop is running.
- Check that WSL is installed successfully.
- Restart Docker Desktop.
- Restart your computer and try again.
That's it! You have successfully installed n8n locally on Windows for free and you're ready to build your first automation workflow.






Top comments (0)