mac上安装brew

安装

  • 执行下面这个命令
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

安装问题

  • 如果安装过程中卡在这儿:Downloading Command Line Tools for Xcode
  • 建议直接手动去下载CTL包。根据你的Xcode版本去对应下载。关键字搜索:Command Line Tools
  • 完了之后就在执行一次安装命令,最后根据提示,在命令行进行设置,完结,撒花
    image
posted @ 2025-12-31 11:40  九叶草  阅读(5)  评论(0)    收藏  举报