mac终端快速安装brewHomebrew.sh

快速安装brew

/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"

brew常用命令

brew update
brew doctor

brew 报错

fatal: not in a git directory Error: Command failed with exit 128: git

解决办法: 执行
brew doctor
提示3~4个Waring。后边有You can solve this by setting .... 或者Run:的命令,复制命令,终端运行。

你可能感兴趣的:(mac终端快速安装brewHomebrew.sh)