uninstall PM2

pm2 kill
npm remove pm2 -g
#test with :
which pm2
Harendra