3 ms·
the main reason i use nvm is because its the only way i can use npm i -g.....
by bepvte 8y ago
the main reason i use nvm is because its the only way i can use npm i -g.....
- josteink 8y agoYou dont need to nvm to do that. You just need to set an alternate "global" path inside your home-directory, instead of one in /usr/lib/node which requires root. https://stackoverflow.com/questions/14742553/how-to-set-custom-location-for-local-installation-of-npm-package https://stackoverflow.com/questions/14742553/how-to-set-cust...