MacOS X 15.7安装brew
执行脚本
/bin/bash -c “$(curl -fsSL
https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install.sh)”
/bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install.sh)"
该脚本采用中科大镜像
中科大所提供的 Homebrew 镜像服务
https://lug.ustc.edu.cn/wiki/mirrors/help/brew.git
https://mirrors.ustc.edu.cn/help/brew.git.html
export HOMEBREW_BREW_GIT_REMOTE="https://mirrors.ustc.edu.cn/brew.git"
brew update
通过gitee安装
/bin/zsh -c “$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)”
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"