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

猜你喜欢

转载自blog.csdn.net/rkjava/article/details/133049906
今日推荐