Sample Header Ad - 728x90

Why does my brew installation not work?

134 votes
13 answers
732180 views
I installed brew before, but it does not work now. When I run brew, it gives me the error -bash: brew: command not found So I tried to reinstall using the code ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install) " But it gives me another one : > It appears Homebrew is already installed. If your intent is to reinstall you > should do the following before running this installer again: > rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup If I use the command rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup, it gives back the first error : -bash: brew: command not found What should I do now?
Asked by cindywmiao (1463 rep)
Oct 9, 2014, 12:46 AM
Last activity: Jun 1, 2024, 11:01 AM