homebrew 安装
brew install hive(其他库也一样) --报错
Tapping homebrew/core Cloning into '/opt/homebrew/Library/Taps/homebrew/homebrew-core'...
解决:这里是上github 克隆homebrew-core库
control+c终止掉,执行下边的命令手动从镜像库克隆homebrew-core内容。
cd "$(brew --repo)/Library/Taps/"
mkdir homebrew && cd homebrew
git clone git://mirrors.ustc.edu.cn/homebrew-core.git
再次执行brew update
成功执行之后继续执行之前的安装命令,brew install hive 即可download,最后看到==> Installation successful!就说明安装成功了。