0

During a long period of time I have installed some apps/scripts with the terminal, many were tests to understand some tools, and now I use just a few of them (very few).

What I would like to accomplish is to wipe them all in order to "restore" OSX installs and, later on I will reinstall the one I need.

I'm not sure I'm using the right terminology, I installed things via terminal like:

  • nodej
  • meteor
  • ionic

And other stuff, some with the use of curl ..., others with OSX Installer (NodeJS for example) and others with cordova I guess.

How to remove them all?

Mr.Web
  • 6,992
  • 8
  • 51
  • 86
  • 1
    You should read the script you `curl`-ed, but it usually just downloads a file into `/usr/local` so you probably can delete everything you recognize under that directory – William Nov 07 '15 at 11:58
  • 1
    Also, consider that some programs will keep data under your home directory (e.g. `~/.meteor`). See: http://stackoverflow.com/questions/24686971/how-can-i-completely-uninstall-and-then-reinstall-meteor-js – William Nov 07 '15 at 12:00
  • I found almost everything in `usr/locall/lib/node_modules`, I deleted the `node_modules` folder. Should that do the trick? – Mr.Web Nov 07 '15 at 12:07
  • Mmm... the `node_modules` folders is managed by `npm install`/`npm uninstall`, so the best thing to clean it would have been to run `npm uninstall` for each node package (`npm list --depth=0`). – William Nov 07 '15 at 12:12

0 Answers0