Updating PM2 is extremely fast (less than few seconds) and seamless.
Process to update PM2
Install the latest PM2 version:
npm install pm2 -g
You can now update the in-memory PM2 daemon via command:
Node.js version upgrade
When you upgrade your Node.js installation, make sure to also update Node.js version starting PM2.
To update the PM2 startup script run:
$ pm2 unstartup $ pm2 startup