当前位置: 代码迷 >> 综合 >> Homebrew 卸载时出现:Failed to locate Homebrew!
  详细解决方案

Homebrew 卸载时出现:Failed to locate Homebrew!

热度:60   发布时间:2023-11-17 08:45:04.0

卸载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)"
  相关解决方案