Skip to content

Install n8n

What is n8n?

n8n is a powerful workflow automation tool that lets you connect apps, automate tasks, and build workflows without heavy coding.


Using Docker (Recommended for Production)

docker run -it --rm \
  -p 5678:5678 \
  n8nio/n8n

Open in browser: http://localhost:5678


Using Docker Compose

Create a docker-compose.yml file:

version: "3"

services:
  n8n:
    image: n8nio/n8n
    ports:
      - "5678:5678"
    environment:
      - N8N_BASIC_AUTH_ACTIVE=true
      - N8N_BASIC_AUTH_USER=admin
      - N8N_BASIC_AUTH_PASSWORD=password
    volumes:
      - ~/.n8n:/home/node/.n8n

Run:

docker-compose up -d

Optional: Enable Authentication

export N8N_BASIC_AUTH_ACTIVE=true
export N8N_BASIC_AUTH_USER=admin
export N8N_BASIC_AUTH_PASSWORD=strongpassword

Open your browser and go to:

http://localhost:5678

Tips

  • Use Docker for scalability and production
  • Always enable authentication for security
  • Use environment variables for configuration
  • Backup your .n8n folder regularly

Resources

  • Official Docs: https://docs.n8n.io
  • GitHub: https://github.com/n8n-io/n8n

Get Support

Need help setting up n8n on your VPS? Our automation team can deploy it for you.

Contact for Installation