How to setup node_modules/.bin on global environtment path
Setup Windows
Setup Linux
sudo gedit ~/.bashrc
add following codes to end of file
if [ -d "./bin" ] ; then
export PATH="$PATH:./bin"
fi
if [ -d "./node_modules/.bin" ] ; then
export PATH="$PATH:./node_modules/.bin"
fi