Check out the related section in the new documentation

Update PM2

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

You can find the changelog here:

Updating PM2

Updating PM2 is extremely fast (less than few seconds) and seamless.

First make sure that you saved correctly 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 and up-to-date PM2 system!