0 points

Avoid requiring sudo for n and npm global installs


dashboard

Sun Oct 11 2020 04:45:58 GMT+0000 (UTC)

Posted by @eneki

# take ownership of node install destination folders
sudo chown -R $(whoami) /usr/local/bin /usr/local/lib /usr/local/include /usr/local/share
content_copy Copy

https://www.npmjs.com/package/n