Created
July 4, 2018 16:06
-
-
Save naranjja/cecc139fccf9b515a910b060829c2c12 to your computer and use it in GitHub Desktop.
Install NPM with write permissions on *buntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install nodejs -y | |
sudo chown -R $USER /usr/local | |
sudo chown -R $USER /usr/local/lib/node_modules | |
sudo chown -R $USER ~/.npm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment