brew tap caskroom / cask抱怨git

问题描述 投票:1回答:1

当我运行brew tap caskroom/cask时,我收到了相互矛盾的错误消息。

Warning: git 2.15.1 is already installed
Error: Git must be installed and in your PATH!

以前,当Brew问我时,我跑了brew link --overwrite git

Git似乎安装得很好,它确实在我的道路上:

$ git --version
git version 2.15.1
$ which git
/usr/local/bin/git
$ echo $PATH
/Users/selah/anaconda3/bin:/Applications/instantclient_12_1:/Users/selah/anaconda/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin

我的最终目标是成功运行brew info osxfuse。目前我收到以下错误:

Error: No available formula with the name "osxfuse" 
It was migrated from homebrew/core to caskroom/cask.
You can access it again by running:
  brew tap caskroom/cask

任何人都可以帮助我通过这个brew tap错误,以便brew可以查看osxfuse的信息?

git macos homebrew osxfuse
1个回答
2
投票

我安装了开发人员工具,这纠正了我的问题:

xcode-select --install
© www.soinside.com 2019 - 2024. All rights reserved.