Knowledgebase

How to Install n8n on Debian 12

Search Articles

How to Install n8n on Debian 12

235 Views

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
  • ** Next Steps

    ** 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:

    1. Update your system: sudo apt update && sudo apt upgrade -y
    2. Install Node.js from the official repositories: sudo apt install -y nodejs npm ** For the latest Node.js versions, consider using nvm (Node Version Manager).
    3. Verify installation: node -v npm -v

    ** Install n8n

    1. Install n8n globally using npm: sudo npm install n8n -g
    2. Check the installation: n8n --version

    ** Running n8n

    1. Start n8n in the background: n8n start
    2. By default, n8n runs on http://localhost:5678. ** For production, consider running n8n with a process manager like pm2 and securing access with HTTPS and authentication.

    ** Troubleshooting & Tips

    • Permission errors? Try installing n8n with sudo or review your npm permissions.
  • Port 5678 already in use? Change the port with export N8N_PORT=XXXX before starting n8n.
  • Check logs for errors: n8n start --tunnel can 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.
Was this article helpful?
Views: 235