Created
March 19, 2018 07:35
-
-
Save taufiksu/b93cb626f517991716464814325cb7c8 to your computer and use it in GitHub Desktop.
Setting global npm Windows 10
This file contains hidden or 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
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