Im stuck with upgrade pm2 to latest version from 0.7.8 to 1.1.3
Official documentation says that it simply done with npm install pm2 -g and pm2 update but actually my current version of pm2(0.7.8) don't have update command it is new feature
i also tried to uninstall/install option by this tutorial but it didn't not removing anything and i don't want to manually remove some /usr/ or /lib folders to not harm something as suggesting in that article last comment
So my question: is there present some normal way to remove pm2(version 0.7.8) ? some native way
i also not able to find old documentation for pm2 to find there remove or upgrade steps ...
After long research i did not find any better way then delete files manually and install it as has been suggested here
My runned commands:
# Remove part
rm /usr/bin/pm2
rm -r /usr/local/lib/node_modules
rm -r /root/.pm2/
# Server reboot
reboot
# Install
npm install pm2 -g
after this i have now pm2 at 1.1.3 version and all works well
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With