Created
November 4, 2018 13:14
-
-
Save cbetta/9aa9050021f0c3345faacb8ddd0705a1 to your computer and use it in GitHub Desktop.
Week 2 - Fix global package installs
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-global | |
npm config set prefix '~/.npm-global' | |
code ~ | |
# Add this line to .profile, .zshrc, .bashrc or .bash_profile | |
# export PATH=~/.npm-global/bin:$PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment