Skip to content

Instantly share code, notes, and snippets.

@cbetta
Created November 4, 2018 13:14
Show Gist options
  • Save cbetta/9aa9050021f0c3345faacb8ddd0705a1 to your computer and use it in GitHub Desktop.
Save cbetta/9aa9050021f0c3345faacb8ddd0705a1 to your computer and use it in GitHub Desktop.
Week 2 - Fix global package installs
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