(not in PATH env variable)

JavaScript
export PATH=$PATH:`npm bin -g` //fixing PATH
Source

Also in JavaScript: