Skip to content

Instantly share code, notes, and snippets.

@NZX-DeSiGN
Created March 31, 2018 10:29
Show Gist options
  • Save NZX-DeSiGN/20e4aaa26bc0fd8c820bc32b1953033c to your computer and use it in GitHub Desktop.
Save NZX-DeSiGN/20e4aaa26bc0fd8c820bc32b1953033c to your computer and use it in GitHub Desktop.
FastComet relocate npm global package (resolve permission denied)
- mkdir ~/.npm-global
- npm config set prefix '~/.npm-global'
- Add this line in ~/.profile : export PATH=~/.npm-global/bin:$PATH
- source ~/.profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment