Automation Debian 12 n8n Installation How to Install n8n on Debian 12 n8n is a powerful open-source workflow automation tool. This article guides you through installing n8n on a Debian 12 server, including core prerequi…
How to Install n8n on Debian 12
Last updated: April 2026
Reading time: ~2 min
Audience: Boxis customers and administrators.
What you'll accomplish
- Complete the configuration or task described in this guide for your Boxis service.
Prerequisites
- Access to the interface, device, or server described below.
- Information or credentials you received from Boxis (contract, welcome e-mail, or client area).
Note Boxis: Offers and screens may differ slightly depending on your product. When in doubt, open a support ticket with your service reference.
Automation Debian 12 n8n Installation
How to Install n8n on Debian 12
n8n is a powerful open-source workflow automation tool. This article guides you through installing n8n on a Debian 12 server, including core prerequisites and troubleshooting advice.
## Table of Contents
- [** Prerequisites](#prerequisites)
- ** Install Node.js
- ** Install n8n
- ** Running n8n
- ** Troubleshooting & Tips
-
** Prerequisites
- Debian 12 server (root or sudo access)
- Basic familiarity with the Linux command line
-
Internet connection
** Install Node.js
n8n requires Node.js (version 18 or higher is recommended). To install Node.js on Debian 12:
- Update your system:
sudo apt update && sudo apt upgrade -y - Install Node.js from the official repositories:
sudo apt install -y nodejs npm** For the latest Node.js versions, consider usingnvm(Node Version Manager). - Verify installation:
node -v npm -v
** Install n8n
- Install n8n globally using npm:
sudo npm install n8n -g - Check the installation:
n8n --version
** Running n8n
- Start n8n in the background:
n8n start - By default, n8n runs on
http://localhost:5678. ** For production, consider running n8n with a process manager likepm2and securing access with HTTPS and authentication.
** Troubleshooting & Tips
- Permission errors? Try installing n8n with
sudoor review your npm permissions.
- Update your system:
- Port 5678 already in use? Change the port with
export N8N_PORT=XXXXbefore starting n8n. -
Check logs for errors:
n8n start --tunnelcan help with debugging.** Next Steps
- Secure your n8n instance with authentication and HTTPS.
- Explore more n8n guides in our Knowledge Base.
- Consider networking best practices for automation tools.
Expected result
- The product behaves as described in each step (connectivity, message, or UI state).
If something goes wrong
- Repeat the step and check for typos (hostnames, passwords, ports).
- Note the exact error message or screenshot.
- Open a ticket in the Boxis client area with the service name, time of the test, and any trace (e.g. traceroute) if it is a network issue.
See also
- Other articles in the same category in the Boxis knowledge base.
/knowledgebase/— main knowledge base index.