PM2 is not registered as a command after installing it globally, with or without sudo and on root or another user.
I've tried a bunch of fixes from stackoverflow/forums, but none of them seem to work.
I've set the path in ~/.bashrc
to export PATH=$PATH:/usr/local/bin
because the npm prefix is now set to /usr/local/
Doing this on raspberry pi 1 B+ running raspbian lite, node: 11.5, npm: 6.4.1
What could be the issue here?