Javathoughts Logo
Javathoughts Blogs
Subscribe to the newsletter

⚡ Install n8n Locally or on Cloud

A comprehensive guide to setting up n8n — the powerful workflow automation tool — on your local machine or deploying it to Hostinger with Node.js.

What You'll Learn

  • What is n8n? — An open-source, self-hostable workflow automation platform with 350+ integrations.
  • Local Installation — Set up n8n on your development machine using npm, Docker, or npx.
  • Cloud Deployment — Deploy n8n to Hostinger VPS with Node.js, PM2, and Nginx reverse proxy.
  • Domain & SSL — Configure a custom domain and free SSL certificate with Let's Encrypt.
  • Production Tips — Database configuration, environment variables, authentication, and backup strategies.

Quick Start Preview

Local Installation (npm)

# Install n8n globally
npm install -g n8n

# Start n8n
n8n start

# Access the UI at http://localhost:5678

Cloud Deployment (Hostinger)

# SSH into your Hostinger VPS
ssh root@your-server-ip

# Install Node.js via NVM
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
nvm install --lts

# Install n8n and PM2
npm install -g n8n pm2

# Start n8n with PM2 (production)
pm2 start n8n --name n8n
pm2 save
pm2 startup

Key Topics Covered

🖥️

Local Development

Run n8n on your machine with npm, Docker, or one-line npx command.

☁️

Cloud Hosting

Deploy to Hostinger VPS with PM2, Nginx, and auto-restart on reboot.

🔒

SSL & Security

Free SSL with Let's Encrypt, basic auth, and environment isolation.

🔗

350+ Integrations

Connect to APIs, databases, AI models, and SaaS platforms out of the box.

Download the Full Guide

Get the complete PDF with screenshots, Nginx configs, and production deployment checklist.

Download PDF