Node.js PM2: Deploy and Auto-Restart Apps

VDS / VPS Servers · 12.02.2025
Node.js PM2: Deploy and Auto-Restart Apps

Install and Start

npm install -g pm2
pm2 start app.js --name myapp -i max
pm2 save && pm2 startup
💡 Cluster mode auto-balances load across CPU cores and restarts crashed instances.
← Back to Knowledge Base Ask Support