Skip to content

Instantly share code, notes, and snippets.

@KevinWang15
Created November 10, 2017 09:01
Show Gist options
  • Save KevinWang15/b505dc03feb904520b576d2bb1287298 to your computer and use it in GitHub Desktop.
Save KevinWang15/b505dc03feb904520b576d2bb1287298 to your computer and use it in GitHub Desktop.
Fix .bin PATH for npm global modules
export npm_path=$(npm config get prefix)
export PATH=$PATH:$npm_path/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment