我正在尝试安装 Homebrew。但是,发生了以下错误。
fatal: couldn't find remote ref refs/heads/master
Error: Fetching /opt/homebrew/Library/Taps/dart-lang/homebrew-dart failed!
Error: Some taps failed to update! The following taps can not read their remote branches:
dart-lang/dart
This is happening because the remote branch was renamed or deleted.
Reset taps to point to the correct remote branches by running 'brew tap --repair'
Failed during: /opt/homebrew/bin/brew update --force --quiet
Run Code Online (Sandbox Code Playgroud)
我尝试过跑步
brew tap --repair
Run Code Online (Sandbox Code Playgroud)
但事实证明zsh: command not found: brew
有人知道如何解决它吗?