Did you properly install your NodeJS and installed the Cordova CLI using:
$ sudo npm install -g cordova
If you restart your Terminal and try the CLI simply by typing
and all you get is a lousy
-bash: cordova: command not found That's no fun indeed!
This issue is probably caused by the PATHS not being configured right by the NodeJS install.
Just dive into your /etc/paths file and add the following directories:
/usr/local/share /usr/local/share/npm /usr/local/share/npm/lib/node_modules/ /usr/local/share/npm/bin .npm
Once youv’e saved the file and restarted your Terminal go ahead and check how the Cordova CLI smiles at you 🙂