重装Homebrew

卸载当前版本

1
2
3
4
5
cd `brew —-prefix`
rm -rf Cellar
brew prune
rm -rf Library .git .gitignore bin/brew README.md share/man/man1/brew
rm -rf ~/Library/Caches/Homebrew

安装新版本

1
/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"
0%