Skip to content

Instantly share code, notes, and snippets.

@NikoWoot
Created September 19, 2020 12:59
Show Gist options
  • Save NikoWoot/dd927c9ad8ed65ea3cfd6b93327f41c8 to your computer and use it in GitHub Desktop.
Save NikoWoot/dd927c9ad8ed65ea3cfd6b93327f41c8 to your computer and use it in GitHub Desktop.
Resolve NPM and NodejSpermissions on WSL
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