When I try to run a command to call a package already installed using npm.
e.g: cordova
cordova -v
It does not work, it works only when I run the full path:
/Users/James/.npm-packages/bin/cordova -v
For that I need to create an alias for each package in order to avoid calling using the full paths, which causes many issues in many levels.
My npm version is:
3.7.3
My O.S
Mac OSx El Capitan