8

I was playing around to set up a prober working/development environment.

I installed command line tools such as:

  • NodeJS
  • NPM
  • Grunt
  • Bower

Where can I find those tools and how can I delete them? Is there any routine?

  • 1
    The default of all reasonable command line tools is under /usr/local. If you use a package manager then in that package manager's directory (comment re reasonable is that there are some badly behaved ones e.g. mono) – Mark Dec 16 '13 at 21:00
7

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.

3

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.

  • it returns nothing... no path or sth! of course i installed commands which i forget about, is there a way of find them? any standard-directory? – Bastian Gruber Dec 16 '13 at 17:52
  • @2DD8847 Are you typing the exact name of the tool equal to what you type in Terminal to use the tool? – grg Dec 16 '13 at 17:54
  • When i type 'bower' for example, i'm getting an info page of the how-to-using, when i tyoe 'whereis bower', i get nothing... – Bastian Gruber Dec 16 '13 at 18:58
  • bash command not found – Bastian Gruber Dec 16 '13 at 19:02
  • 'whereis ls' works... – Bastian Gruber Dec 16 '13 at 19:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .