7

I've deleted a main Homebrew file and now I can't un-install Homebrew. I want to un-install it and then do a fresh install. This is what I'm getting in the Terminal...

host:~ user$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
It appears Homebrew is already installed. If your intent is to reinstall you should do the following before running this installer again: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
host:~ user$  ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
Failed to locate Homebrew!

I'm bit of a rookie as you can probably tell. How can I sort this?

The main goal is to set up the MEAN stack.

Thanks in advance.

  • 1
    Did you move things or rename directories used by homebrew? Try locating with gem search ^homebrew or gem list – TheBro21 Oct 5 '15 at 12:26
3

Uninstall Homebrew

From the Homebrew FAQ:

To uninstall Homebrew, paste the command below in a terminal prompt.

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
  • What happens when you put in that command above and get this: Failed to locate Homebrew! – user155917 Nov 5 '15 at 4:19
  • @Katherine please can you ask this as a new question; see apple.stackexchange.com/questions/ask – Graham Miln Nov 5 '15 at 7:58

You must log in to answer this question.

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