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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -