我试图在我的macbook上安装自制软件并使用命令行命令
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
在网站上给出安装它,我得到了这个错误。
Failed during: git init -q
我该如何解决这个问题?
请使用您使用的确切命令更新您的帖子。假设它是/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
,请确保通过在bash中运行xcode-select --install
来安装Xcode CLT。你可能在那里失败了,因为没有安装git。
它可能是一个权限错误,运行官方qazxsw poi中建议的命令:
troubleshooting page