第一步:

下载地址:https://github.com/Homebrew/brew/releases/tag/4.1.4

打开页面,拉倒最下面,下载pkg文件,并安装

第二步:

终端执行一下命令:

echo 'export PATH="/opt/homebrew/bin:$PATH"' >> ~/.bash_profile 

source ~/.bash_profile

echo 'export PATH="/opt/homebrew/bin:$PATH"' >> ~/.zshrc   

source ~/.zshrc

第三步:

终端执行 brew,成功!

最后编辑:2025年01月02日 ©著作权归作者所有

发表评论