nodenv
nodenv copied to clipboard
Installing global package with yarn will not yield to a shim after rehash
I have tried to install pm2 via yarn global add pm2 but I somehow cannot get pm2 to show up in bash no matter what I do.
nodenv rehash does nothing. I installed the rehash plugin that should run rehash automatically, no success.
Now when I install pm2 via npm install pm2 -g and then run a nodenv rehash I get a shim and it works.
Is this a bug?
ok so I just found https://github.com/nodenv/nodenv/issues/120 after some more digging. The issue has been closed but it looks like this was more of a feature request.
Looks like yarn global is not supported out of the box, or has something changed since then?