Homebrew failed on installation, but now won't uninstall -
i used following command install homebrew:
ruby -e "$(curl -fssl https://raw.githubusercontent.com/homebrew/install/master/install)"
which returns error:
it appears homebrew installed. if intent reinstall should following before running installer again: ruby -e "$(curl -fssl https://raw.githubusercontent.com/homebrew/install/master/uninstall)"
when run command in terminal, "failed locate homebrew!"
i had same issue on mac os. lot of answers on here advised me remove /usr/local/.git did not exist. solution follows:
i navigated to:
/usr/local/homebrew/bin
and ran:
./brew doctor
it warned me homebrews bin not found , advised me add .bash_profile so:
echo 'export path="/usr/local/homebrew/bin:$path"' >> ~/.bash_profile
after started new session , brewing
Comments
Post a Comment