I install volta as node version handler and when I run pm2 status/start/stop in PowerShell or cmd, there is 'pm2' is not recognized as an internal command' error.
I know that I should install pm2 as global but run npm i -g pm2
it is not working and have same error. Anybody has any idea?
by this answer of Volta and global npm package I just run
volta install pm2
instead ofnpm i -g pm2
and set Volta/bin in environment variable of windows. in Global installs done right said: