Skip to content

Instantly share code, notes, and snippets.

@mateusvahl
Created May 8, 2015 22:58
Show Gist options
  • Save mateusvahl/2711e8d73f53bda480dc to your computer and use it in GitHub Desktop.
Save mateusvahl/2711e8d73f53bda480dc to your computer and use it in GitHub Desktop.
linux npm install without sudo
npm config set prefix '~/.npm-packages'
echo 'export PATH="$PATH:$HOME/.npm-packages/bin"' >> ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment