Update PM2

To get the most from PM2 and Keymetrics, make sure your PM2 version is up-to-date.

Here is the Changelog: https://github.com/Unitech/pm2/releases

Updating PM2

Updating PM2 is very fast (less than some seconds) and seamless.

First make sure that you save all your processes:

$ pm2 save

Then install the latest PM2 version from NPM:

$ npm install pm2 -g

And finally update the in-memory PM2 process:

$ pm2 update

That’s all, you now have a fresh PM2 system!