MacOS安装HomewBrew
官方命令:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
镜像源:
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
下载后(终端操作):
sudo vim ~/.bash_profile
export PATH="/opt/homebrew/bin:$PATH"
在:wq保存退出后
source ~/.bash_profile
Last modified on 2024-10-28