qkhm2w
Last Updated: February 25, 2016
·
1.088K
· jaysoo
571cd899248d35ac14382559520a570b

Automatically setup PATH to include local node_modules/.bin

Put this into your ~/.profile (or .zshrc, .bashrc, etc.):

export PATH="./node_modules/.bin/:$PATH"

Now the search path will always prefer local node bins over global ones.

Say Thanks
Respond