Y
Hacker News
new
|
ask
|
show
|
jobs
by
bepvte
2708 days ago
the main reason i use nvm is because its the only way i can use npm i -g.....
1 comments
josteink
2708 days ago
You 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-cust...
link
https://stackoverflow.com/questions/14742553/how-to-set-cust...