HomeBrew(Terminal下安装)
X86 架构电脑
1、Github资源:$ /usr/bin/ruby -e "$(curl -fsSLhttps://raw.githubusercontent.com/Homebrew/install/master/install)”
2、Jsdelivr节点资源:$ /usr/bin/ruby -e "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install)"
3、国内gitee镜像资源:$ /bin/ruby -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
M1架构电脑
1、需Terminal勾选Rosetta,如下;
2、Terminal运行以上资源(注意在M1架构下无bash,需要使用zsh);