Skip to content

A Simple Guide to Install n8n Locally on Your Machine

Installing n8n


  • The desktop version of n8n is no longer supported, so we'll be using the terminal for the setup.
  • Prerequisite: Install Node.js from the official website.
  • To run n8n, use the npx n8n command.
  • Access n8n locally at http://localhost:5678.
  • Be aware of downsides: local setup cannot accept webhooks/callbacks from other SaaS, won't restart if it fails, and your machine needs to be always on.


Hi there, my tech-savvy friends! If you've been eyeing n8n and are wondering how to get it running on your machine, then you're in the right place. Today, we'll walk through the process of local n8n installation, step-by-step. But before we jump in, let's do a quick TL;DR.

A Quick Note: Why Local?

Before we dive into the n8n setup, it's important to note that n8n's desktop version is no longer supported. This means we have to use the terminal to run n8n these days. While this might sound intimidating if you're not familiar with the terminal, I promise you it's simpler than it sounds!

Step 1: Preparing Your Machine

To get n8n running on your machine, we first need to install Node.js. Head over to the official Node.js website and download the Node.js installer. It comes with an installation wizard, which makes the process incredibly straightforward, even for beginners.

Install node js

Step 2: Running n8n

Once Node.js is installed, open your terminal. Type in npx n8n and hit Enter. Now, sit back and relax as n8n gets set up on your machine. The first run usually takes a little while, but subsequent runs are almost instantaneous.

Running npx n8n command

Step 3: Accessing n8n Locally

If everything goes well, you should be able to access n8n at http://localhost:5678. Just open your favorite web browser and type in that address. Voila! You're now running n8n locally on your machine.

Running npx n8n command

The Downsides of Running n8n Locally

While running n8n locally comes with its perks, there are some downsides to be aware of:

  • Your local n8n setup cannot accept webhooks or callbacks from other SaaS platforms. This means you won't be able to integrate n8n with services like Stripe without additional setup.
  • If your n8n installation fails for some reason, it won't automatically restart. This could disrupt your workflows.
  • Your computer needs to be always on for n8n to run. If you turn off your machine, n8n goes off too.

Wrapping Up

And there you have it, my friends—a beginner-friendly guide to n8n installation on your local machine. Although running n8n locally comes with a few limitations, it's a great way to familiarize yourself with this powerful tool.

Whether you're a small business owner or a marketer looking to streamline your processes, n8n is a fantastic choice. Just remember: practice makes perfect. The more you use n8n, the more comfortable you'll get with its features and functionalities.

Continue your journey of discovery with these carefully curated related articles. Dive right in!

Hosting n8n: Exploring Self-Hosting Options and The Benefits of AWS

Dive into an in-depth guide of n8n self-hosting options, emphasizing the benefits of Amazon Web Services (AWS) as a stable, cost-effective, and scalable choice for small businesses and marketers.

AWS Free Tier: What It Includes, How to Stay Within Limits, and Tips to Track Spending

Discover the benefits of the AWS Free Tier, learn how to avoid going over its usage limits, and get tips to track your spending. Explore the many services included for free and access helpful resources to get started.

Harness the Power of Open Source: n8n vs. Zapier - A Cost and Feature Comparison

Discover how n8n, a free and open-source workflow automation tool, can help you save costs while maintaining, or even enhancing, the functionalities of popular platforms like Zapier.

Embracing Open Source Workflow Automation: n8n vs. Make (formerly Integromat) - A Comprehensive Comparison

Explore the potential of n8n, a free and open-source workflow automation tool, as a strong competitor to Make, formerly known as Integromat. Understand how you can enjoy significant cost savings and more control with n8n, without losing out on key features.