Mac 错误zsh: command not found: brew解决方法
- 打开iterm或其他shell终端,执行命令:
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
- 选择下载brew的源,输入1~6任意都行
根据提示输入Y及开机密码
- 最后执行:source ~/.zprofile
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
根据提示输入Y及开机密码