qkhm2w
Last Updated: February 25, 2016
·
1.113K
· jaysoo

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.