卸载Homebrew:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
卸载出现: Failed to locate Homebrew!
解决办法:
- Finder中,按住command+shift+G , 输入/usr/local/
- 将下图出现过的文件都删除
- 再次安装, 终端输入:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"