mac电脑安装Homebrew,自动安装的脚本如下。
一、自动脚本
安装脚本:
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
卸载脚本:
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/HomebrewUninstall.sh)"
亲测有效,已经安装过brew的可自行备份后,再运行上面的安装脚本。