Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (23 sloc) 716 Bytes
layout title description permalink
docs
Update PM2
Upgrade PM2 to the latest version
/docs/usage/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: https://github.com/Unitech/pm2/releases.

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!