1. Install nala in Debian 12
1
sudo apt install nala -y
  1. Install nodejs and npm
1
2
3
sudo nala install nodejs npm -y
# or
sudo apt install nodejs npm -y
  1. Check versions
1
2
nodejs --version
npm --version
  1. Run n8n
1
npx n8n
  1. To run n8n in the background install screen
1
sudo nala install screen -y
  1. Run screen
1
screen
  1. Run n8n
1
npx n8n
  1. Detach screen session with the below combination:
ctrl+a and ctrl+d #to detach
  1. Reattach screen session with the below command:
1
screen -r
  1. Check the IP address of the machine where n8n is running with the below command:
1
hostname -I
  1. Login in your web browser using the URL schema: http://IP_addresss:5678 (5678 is a port).

  2. Follow the video tutorial to see how to import and run the flow in n8n.