Skip to content

Instantly share code, notes, and snippets.

@taufiksu
Created March 19, 2018 07:35
Show Gist options
  • Save taufiksu/b93cb626f517991716464814325cb7c8 to your computer and use it in GitHub Desktop.
Save taufiksu/b93cb626f517991716464814325cb7c8 to your computer and use it in GitHub Desktop.
Setting global npm Windows 10
1. Open System Environment Variable
Settings > System > About > System Info > Environmental Variables
2. Edit path and append %USERPROFILE%\AppData\Roaming\npm at the end
3. npm config set prefix %USERPROFILE%\AppData\Roaming\npm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment