今天我准备安装 home-brew。但是当我尝试在我的 MacBook m2 Monterey 上安装时遇到了问题。
这是我的问题吗?
fuadazharibrahim@fuads-MacBook-Pro ~ % brew list
zsh: command not found: brew
fuadazharibrahim@fuads-MacBook-Pro ~ % /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
==> 检查是否具有sudo
访问权限(可能会请求您的密码)...
Password:
==> This script will install:
/opt/homebrew/bin/brew
/opt/homebrew/share/doc/homebrew
/opt/homebrew/share/man/man1/brew.1
/opt/homebrew/share/zsh/site-functions/_brew
/opt/homebrew/etc/bash_completion.d/brew
/opt/homebrew
Press RETURN/ENTER to continue or any other key to abort:
==> /usr/bin/sudo /usr/sbin/chown -R fuadazharibrahim:admin /opt/homebrew
==> Downloading and installing Homebrew...
/bin/bash: line 234: /usr/local/bin/git: Bad CPU type in executable
Failed during: git init -q
我的问题是如何解决我的问题?