ss- Hello, I tried to install a global npm module (pm2) but when I tried to use the pm2 command, it did not work. Is this a problem with me or npm?
admin Hello, if you have a problem to install pm2 with npm try with yarn: yarn add pm2 To run pm2 you can use npx: npx pm2 or add ~/node_modules/.bin/ to $PATH and then run pm2 by just typing pm2. You can also call it directly: ~/node_modules/.bin/pm2