How to Install pm2 NPM Packages on Ubuntu / Debian

How to Install pm2 software package in NPM Packages

pm2 : Production process manager for Node.JS applications with a built-in load balancer.. You can installing pm2 npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.

$ sudo npm install pm2
$ sudo npm install -g pm2

If want to update the pm2 package execute the command as below,

$ sudo npm update pm2

Update package globally,

$ npm install -g pm2

Git clone:

$ sudo  git clone https://github.com/rektide/pm2.git
$ sudo  npm install -g ./pm2

pm2@2.8.0 /usr/lib/node_modules/pm2

How to remove pm2 package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall pm2

Basic Information of pm2 NPM Package:

Package Name pm2
Version 2.8.0
Description Production process manager for Node.JS applications with a built-in load balancer.
Released Date 2017-11-23T10:55:53.780Z
Published by tknew
How to Learn https://www.npmjs.com/package/pm2/tutorial