Mac上brew时出现Git must be installed and in your PATH!怎么办

东门清夷
2023-12-01

有些问题

Git must be installed and in your PATH!

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"出现异常了

Warning: git-2.7.4 already installed

一种解决方案

打开终端,输入命令

xcode-select --install
brew update 

测试是否成功

打开终端,输入命令

brew install wget(或者其他测试一下)

相关问题解决

Github:https://github.com/Homebrew/legacy-homebrew/issues/50500
Take&Give:https://ted423.bitcron.com/post/document/wen-ti-chu-li/git-must-be-installed-and-in-your-path!

 类似资料: