{"id":4669,"date":"2026-09-21T17:26:44","date_gmt":"2026-09-21T17:26:44","guid":{"rendered":"https:\/\/ownwebservers.com\/kb\/?p=4669"},"modified":"2026-09-21T17:26:46","modified_gmt":"2026-09-21T17:26:46","slug":"manually-install-n8n-on-ubuntu","status":"publish","type":"post","link":"https:\/\/ownwebservers.com\/kb\/manually-install-n8n-on-ubuntu\/","title":{"rendered":"How to Manually Install n8n on Ubuntu?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In today\u2019s digital environment, automation helps businesses reduce repetitive work and improve productivity. If you are searching for a flexible workflow automation platform, n8n is an excellent open-source solution. It allows you to connect different applications, automate routine tasks, and manage workflows without requiring advanced coding knowledge.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this guide, we will explain how to manually install n8n on Ubuntu using two methods: <a href=\"https:\/\/ownwebservers.com\/kb\/update-n8n-in-docker\/\" data-type=\"link\" data-id=\"https:\/\/ownwebservers.com\/kb\/update-n8n-in-docker\/\" target=\"_blank\" rel=\"noreferrer noopener\">Docker<\/a> and Node.js. The steps are simple and suitable for beginners as well as experienced system administrators. By the end of this tutorial, you will have n8n installed and accessible through your Ubuntu server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before starting the installation, make sure you have:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>An Ubuntu 20.04, 22.04, or 24.04 server<\/li>\n\n\n\n<li>A VPS or <a href=\"https:\/\/ownwebservers.com\/dedicated-servers\" data-type=\"link\" data-id=\"https:\/\/ownwebservers.com\/dedicated-servers\" target=\"_blank\" rel=\"noreferrer noopener\">dedicated server<\/a><\/li>\n\n\n\n<li>A non-root user with sudo privileges<\/li>\n\n\n\n<li>Basic knowledge of Linux commands<\/li>\n\n\n\n<li>SSH access to your Ubuntu server<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Steps to Manually Install n8n on Ubuntu<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 1: Update Your Ubuntu Server<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Before installing any software, update your Ubuntu system packages.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update &amp;&amp; sudo apt upgrade -y<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This command updates the package list and installs the available system updates.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 2: Install Required Dependencies<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Next, install the essential packages required for software installation and secure repository access:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install -y apt-transport-https ca-certificates curl software-properties-common<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">These packages perform the following functions:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>apt-transport-https: Enables package downloads over HTTPS.<\/li>\n\n\n\n<li>ca-certificates: Helps verify trusted SSL certificates.<\/li>\n\n\n\n<li>curl: Downloads external files and installation scripts.<\/li>\n\n\n\n<li>software-properties-common: Helps manage software repositories.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Option A: Containerized Installation Using Docker<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you plan to use n8n for business automation or production workflows, Docker is a convenient option. It keeps n8n isolated, simplifies management, and allows your data to remain persistent when configured correctly.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Install Docker<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">First, add the Docker GPG key:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -fsSL https:\/\/download.docker.com\/linux\/ubuntu\/gpg | sudo gpg --dearmor -o \/usr\/share\/keyrings\/docker-archive-keyring.gpg<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Add the Docker repository:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo \"deb &#91;arch=amd64 signed-by=\/usr\/share\/keyrings\/docker-archive-keyring.gpg] https:\/\/download.docker.com\/linux\/ubuntu $(lsb_release -cs) stable\" | sudo tee \/etc\/apt\/sources.list.d\/docker.list &gt; \/dev\/null<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Update the package list:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Install Docker:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install -y docker-ce docker-ce-cli containerd.io<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Verify the installation:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker --version<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This installs Docker Engine, Docker command-line tools, and the container runtime required to run n8n.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: Create Persistent Storage for n8n<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">To ensure your workflows and n8n data are retained even if the container is stopped or removed, create a dedicated storage directory:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo mkdir -p \/root\/n8n_data<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Set the required ownership:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo chown -R 1000:1000 \/root\/n8n_data<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The user ID <code>1000<\/code> generally corresponds to the default user inside the n8n container.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 5: Run n8n in a Docker Container<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Run the following command to start n8n:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker run -d --name n8n \\\n  -p 5678:5678 \\\n  -v \/root\/n8n_data:\/home\/node\/.n8n \\\n  -e N8N_BASIC_AUTH_ACTIVE=true \\\n  -e N8N_BASIC_AUTH_USER=admin \\\n  -e N8N_BASIC_AUTH_PASSWORD=strongpassword \\\n  -e N8N_SECURE_COOKIE=false \\\n  --restart always \\\n  n8nio\/n8n:latest<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Replace <code>strongpassword<\/code> with a strong and unique password.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here is what the main options mean:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>-d<\/code> \u2192 Runs the container in the background.<\/li>\n\n\n\n<li><code>--name n8n<\/code> \u2192 Assigns the name <code>n8n<\/code> to the container.<\/li>\n\n\n\n<li><code>-p 5678:5678<\/code> \u2192 Makes n8n available through port 5678.<\/li>\n\n\n\n<li><code>-v<\/code> \u2192 Mounts server storage for persistent n8n data.<\/li>\n\n\n\n<li><code>N8N_BASIC_AUTH_*<\/code> \u2192 Configures basic authentication for the referenced setup.<\/li>\n\n\n\n<li><code>--restart always<\/code> \u2192 Automatically restarts the container after a server reboot.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">For production use, configure n8n with HTTPS, secure authentication, and appropriate access restrictions.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 6: Check the n8n Container<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Confirm that the n8n container is running:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker ps<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You should see the n8n container listed with a status similar to <code>Up<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now open your browser and enter:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>http:&#47;&#47;&lt;server-ip&gt;:5678<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Replace <code>&lt;server-ip&gt;<\/code> with your actual Ubuntu server IP address.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Log in using the credentials configured in the Docker command.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The Docker method is suitable for users who want a portable and manageable n8n installation with persistent storage and automatic restarts.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Option B: Direct Installation Using Node.js<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The direct <strong><a href=\"https:\/\/ownwebservers.com\/kb\/how-to-install-npm-and-node-js-on-mac\/\" data-type=\"link\" data-id=\"https:\/\/ownwebservers.com\/kb\/how-to-install-npm-and-node-js-on-mac\/\" target=\"_blank\" rel=\"noreferrer noopener\">Node.js<\/a><\/strong> installation method is useful if you want to install n8n quickly without configuring Docker.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This option is suitable for testing, learning, and experimenting with n8n workflows.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Install Node.js<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Install Node.js 18 LTS using the NodeSource setup script:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -fsSL https:\/\/deb.nodesource.com\/setup_18.x | sudo -E bash -<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Then install Node.js:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install -y nodejs<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Verify the installed versions:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>node -v\nnpm -v<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Make sure the installed Node.js version is compatible with the n8n version you plan to use.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: Install n8n Using npm<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Once Node.js is installed, install n8n globally with npm:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo npm install -g n8n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The <code>-g<\/code> option installs n8n globally so that you can run it directly from the terminal.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 5: Start n8n<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Start n8n manually by running:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>n8n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This starts n8n in your current terminal session.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 6: Access the n8n Dashboard<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Open your browser and enter:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>http:&#47;&#47;&lt;server-ip&gt;:5678<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Replace <code>&lt;server-ip&gt;<\/code> with your actual server IP address.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You should now see the n8n editor interface, where you can create workflows and connect different applications.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Note: When n8n is started directly from the terminal, it may stop when the terminal session ends. For continuous production usage, configure a suitable service manager or use Docker with a restart policy.<\/p>\n<\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Manually installing n8n on Ubuntu allows you to automate repetitive tasks and connect different applications through customizable workflows. You can choose the direct Node.js installation for testing or Docker for a more organized and reliable setup.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For businesses and developers who need a dedicated environment for workflow automation, <strong><a href=\"https:\/\/ownwebservers.com\/n8n-hosting\" data-type=\"link\" data-id=\"https:\/\/ownwebservers.com\/n8n-hosting\" target=\"_blank\" rel=\"noreferrer noopener\">n8n VPS Hosting<\/a><\/strong> provides the flexibility, control, and server resources required to run n8n efficiently. With proper security, regular backups, and continuous monitoring, you can use n8n to manage automation workflows smoothly on your own VPS.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Read more knowledge base <a href=\"https:\/\/ownwebservers.com\/kb\/how-to-enable-root-login-via-ssh-in-ubuntu\/\" data-type=\"link\" data-id=\"https:\/\/ownwebservers.com\/kb\/how-to-enable-root-login-via-ssh-in-ubuntu\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Enable Root Login via SSH in Ubuntu<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In today\u2019s digital environment, automation helps businesses reduce repetitive work and improve productivity. If you are searching for a flexible workflow automation platform, n8n is an excellent open-source solution. It allows you to connect different applications, automate routine tasks, and manage workflows without requiring advanced coding knowledge. In this guide, we will explain how to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[294],"class_list":["post-4669","post","type-post","status-publish","format-standard","hentry","category-tutorials","tag-install-n8n-on-ubuntu"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Manually Install n8n on Ubuntu: Step-by-Step Guide<\/title>\n<meta name=\"description\" content=\"Learn how to manually install n8n on Ubuntu using Docker or Node.js. Follow simple steps to configure, run, access, and secure your self-hosted n8n instance.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ownwebservers.com\/kb\/manually-install-n8n-on-ubuntu\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Manually Install n8n on Ubuntu: Step-by-Step Guide\" \/>\n<meta property=\"og:description\" content=\"Learn how to manually install n8n on Ubuntu using Docker or Node.js. Follow simple steps to configure, run, access, and secure your self-hosted n8n instance.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ownwebservers.com\/kb\/manually-install-n8n-on-ubuntu\/\" \/>\n<meta property=\"og:site_name\" content=\"OWS KB\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/OWN-WEB-SERVERS-107052961577434\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-21T17:26:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-09-21T17:26:46+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@OwnWebservers\" \/>\n<meta name=\"twitter:site\" content=\"@OwnWebservers\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/ownwebservers.com\\\/kb\\\/manually-install-n8n-on-ubuntu\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ownwebservers.com\\\/kb\\\/manually-install-n8n-on-ubuntu\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/ownwebservers.com\\\/kb\\\/#\\\/schema\\\/person\\\/4a40fe3fe17a08ddd1d7c113668e75f2\"},\"headline\":\"How to Manually Install n8n on Ubuntu?\",\"datePublished\":\"2026-09-21T17:26:44+00:00\",\"dateModified\":\"2026-09-21T17:26:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/ownwebservers.com\\\/kb\\\/manually-install-n8n-on-ubuntu\\\/\"},\"wordCount\":818,\"publisher\":{\"@id\":\"https:\\\/\\\/ownwebservers.com\\\/kb\\\/#organization\"},\"keywords\":[\"Install n8n on Ubuntu\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ownwebservers.com\\\/kb\\\/manually-install-n8n-on-ubuntu\\\/\",\"url\":\"https:\\\/\\\/ownwebservers.com\\\/kb\\\/manually-install-n8n-on-ubuntu\\\/\",\"name\":\"How to Manually Install n8n on Ubuntu: Step-by-Step Guide\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ownwebservers.com\\\/kb\\\/#website\"},\"datePublished\":\"2026-09-21T17:26:44+00:00\",\"dateModified\":\"2026-09-21T17:26:46+00:00\",\"description\":\"Learn how to manually install n8n on Ubuntu using Docker or Node.js. Follow simple steps to configure, run, access, and secure your self-hosted n8n instance.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/ownwebservers.com\\\/kb\\\/manually-install-n8n-on-ubuntu\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/ownwebservers.com\\\/kb\\\/manually-install-n8n-on-ubuntu\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/ownwebservers.com\\\/kb\\\/manually-install-n8n-on-ubuntu\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/ownwebservers.com\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Manually Install n8n on Ubuntu?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/ownwebservers.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/ownwebservers.com\\\/kb\\\/\",\"name\":\"OWS KB\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/ownwebservers.com\\\/kb\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/ownwebservers.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/ownwebservers.com\\\/kb\\\/#organization\",\"name\":\"Own Web Servers\",\"url\":\"https:\\\/\\\/ownwebservers.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/ownwebservers.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/ownwebservers.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/OWS-Logo-with-punchline-front-scaled.png\",\"contentUrl\":\"https:\\\/\\\/ownwebservers.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/OWS-Logo-with-punchline-front-scaled.png\",\"width\":2560,\"height\":994,\"caption\":\"Own Web Servers\"},\"image\":{\"@id\":\"https:\\\/\\\/ownwebservers.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/OWN-WEB-SERVERS-107052961577434\",\"https:\\\/\\\/x.com\\\/OwnWebservers\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/ownwebservers.com\\\/kb\\\/#\\\/schema\\\/person\\\/4a40fe3fe17a08ddd1d7c113668e75f2\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ba5db5841d48bd7517bb2583e13983e6d2fa56a4099a0b3c61ad2daefc321303?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ba5db5841d48bd7517bb2583e13983e6d2fa56a4099a0b3c61ad2daefc321303?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ba5db5841d48bd7517bb2583e13983e6d2fa56a4099a0b3c61ad2daefc321303?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\\\/\\\/ownwebservers.com\\\/kb\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Manually Install n8n on Ubuntu: Step-by-Step Guide","description":"Learn how to manually install n8n on Ubuntu using Docker or Node.js. Follow simple steps to configure, run, access, and secure your self-hosted n8n instance.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ownwebservers.com\/kb\/manually-install-n8n-on-ubuntu\/","og_locale":"en_US","og_type":"article","og_title":"How to Manually Install n8n on Ubuntu: Step-by-Step Guide","og_description":"Learn how to manually install n8n on Ubuntu using Docker or Node.js. Follow simple steps to configure, run, access, and secure your self-hosted n8n instance.","og_url":"https:\/\/ownwebservers.com\/kb\/manually-install-n8n-on-ubuntu\/","og_site_name":"OWS KB","article_publisher":"https:\/\/www.facebook.com\/OWN-WEB-SERVERS-107052961577434","article_published_time":"2026-09-21T17:26:44+00:00","article_modified_time":"2026-09-21T17:26:46+00:00","author":"admin","twitter_card":"summary_large_image","twitter_creator":"@OwnWebservers","twitter_site":"@OwnWebservers","twitter_misc":{"Written by":"admin","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ownwebservers.com\/kb\/manually-install-n8n-on-ubuntu\/#article","isPartOf":{"@id":"https:\/\/ownwebservers.com\/kb\/manually-install-n8n-on-ubuntu\/"},"author":{"name":"admin","@id":"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2"},"headline":"How to Manually Install n8n on Ubuntu?","datePublished":"2026-09-21T17:26:44+00:00","dateModified":"2026-09-21T17:26:46+00:00","mainEntityOfPage":{"@id":"https:\/\/ownwebservers.com\/kb\/manually-install-n8n-on-ubuntu\/"},"wordCount":818,"publisher":{"@id":"https:\/\/ownwebservers.com\/kb\/#organization"},"keywords":["Install n8n on Ubuntu"],"articleSection":["Tutorials"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/ownwebservers.com\/kb\/manually-install-n8n-on-ubuntu\/","url":"https:\/\/ownwebservers.com\/kb\/manually-install-n8n-on-ubuntu\/","name":"How to Manually Install n8n on Ubuntu: Step-by-Step Guide","isPartOf":{"@id":"https:\/\/ownwebservers.com\/kb\/#website"},"datePublished":"2026-09-21T17:26:44+00:00","dateModified":"2026-09-21T17:26:46+00:00","description":"Learn how to manually install n8n on Ubuntu using Docker or Node.js. Follow simple steps to configure, run, access, and secure your self-hosted n8n instance.","breadcrumb":{"@id":"https:\/\/ownwebservers.com\/kb\/manually-install-n8n-on-ubuntu\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ownwebservers.com\/kb\/manually-install-n8n-on-ubuntu\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ownwebservers.com\/kb\/manually-install-n8n-on-ubuntu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ownwebservers.com\/kb\/"},{"@type":"ListItem","position":2,"name":"How to Manually Install n8n on Ubuntu?"}]},{"@type":"WebSite","@id":"https:\/\/ownwebservers.com\/kb\/#website","url":"https:\/\/ownwebservers.com\/kb\/","name":"OWS KB","description":"","publisher":{"@id":"https:\/\/ownwebservers.com\/kb\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ownwebservers.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/ownwebservers.com\/kb\/#organization","name":"Own Web Servers","url":"https:\/\/ownwebservers.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ownwebservers.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2026\/07\/OWS-Logo-with-punchline-front-scaled.png","contentUrl":"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2026\/07\/OWS-Logo-with-punchline-front-scaled.png","width":2560,"height":994,"caption":"Own Web Servers"},"image":{"@id":"https:\/\/ownwebservers.com\/kb\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/OWN-WEB-SERVERS-107052961577434","https:\/\/x.com\/OwnWebservers"]},{"@type":"Person","@id":"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ba5db5841d48bd7517bb2583e13983e6d2fa56a4099a0b3c61ad2daefc321303?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ba5db5841d48bd7517bb2583e13983e6d2fa56a4099a0b3c61ad2daefc321303?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ba5db5841d48bd7517bb2583e13983e6d2fa56a4099a0b3c61ad2daefc321303?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/ownwebservers.com\/kb"]}]}},"_links":{"self":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/4669","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/comments?post=4669"}],"version-history":[{"count":3,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/4669\/revisions"}],"predecessor-version":[{"id":4672,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/4669\/revisions\/4672"}],"wp:attachment":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/media?parent=4669"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/categories?post=4669"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/tags?post=4669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}