Created
September 19, 2020 12:59
-
-
Save NikoWoot/dd927c9ad8ed65ea3cfd6b93327f41c8 to your computer and use it in GitHub Desktop.
Resolve NPM and NodejSpermissions on WSL
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
mkdir ~/.npm | |
npm config set prefix ~/.npm | |
nano ~/.bashrc | |
export PATH="$PATH:$HOME/.npm/bin" | |
source ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment