npm not in path env variable code example Example: (not in PATH env variable) export PATH=$PATH:`npm bin -g` //fixing PATH