Created
November 13, 2020 18:40
-
-
Save ryanlong1004/342bd1f78ffadcd7bb68c15040b19370 to your computer and use it in GitHub Desktop.
npm Install Without sudo
This file contains 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
mkdir ~/.npm | |
npm config set prefix ~/.npm | |
nano ~/.bashrc | |
export PATH="$PATH:$HOME/.npm/bin" | |
source ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment