Setup node_modules bin on global environtment path Posted on 2022-05-10 In uncategorized How to setup node_modules/.bin on global environtment path Setup Windows Setup Linuxsudo 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