Reinstalling homebrew (Yosemite update)

# clean up homebrew
rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup

# reinstall homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”

# recommended
brew doctor
cd /usr/local/Library && git stash && git clean -d -f

now you can start clean again with homebrew:

ie. brew install mysql

No comments:

Post a Comment