Created
May 29, 2013 21:06
-
-
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.
This file contains 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
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