Where are all of the command line tools installed?

Solution 1:

The whereis command only looks in the standard executable paths. Try which bower instead. Here's an example from my machine. I used "git" because I don't have "bower" installed.

~ 506 whereis git
/usr/bin/git
~ 507 which git
/opt/local/bin/git

whereis returned the path of the system-installed version of "git". which returned the path of the version that actually runs when I type "git" at the command line.

Solution 2:

Since they're all command line tools, you can find them using whereis <tool> or where <tool>. Many command line tools can be removed simply by deleting the file found at this location, however they may leave configuration files at various locations about your system. You can usually find a full guide on uninstalling a command line tool and its associated files by searching the website of the tool that you wish to uninstall.