Skip to content

Instantly share code, notes, and snippets.

@theevocater
Created May 29, 2013 21:06
Show Gist options
  • Save theevocater/5673842 to your computer and use it in GitHub Desktop.
Save theevocater/5673842 to your computer and use it in GitHub Desktop.
I couldn't find a concise "add npm bin" anywhere on the web so here you go. If you use npm and you need the binaries everywhere you go (ie you use less) just add this to your .bashrc and it will add it to your path.
if [[ `which npm` && -d `npm bin` ]] ; then
PATH=$PATH:`npm bin`
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment