Installing nvm (Node.js Version Manager)

nvm is node version manager, allows you to run multiple version of node.js

To install nvm, run

To list all available node version, run

To install a particular node.js version, run

To activate/select a node.js version, use

nodejs

pm2 process manager for node.js

Auto Start pm2 on boot

pm2 is a process manager for node.js applications. It is similar to forever.

http://pm2.keymetrics.io

First you need to install npm, on Ubuntu/Debian, run

To install pm2, run

Start an Application

Start an Application with name

Start Application in Cluster mode with

To Scale a clustered application, run

Start the processes on reboot

List running applications

Controlling running application

Restart all running applications

nodejs