Mac安装brew

1.终端输入命令:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

2.此时会报错,是因为安装brew需要翻墙


解决办法:

终端输入命令:

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

image.png

你可能感兴趣的:(Mac安装brew)