MacOS X 15.7安装brew
执行脚本
/bin/bash -c “$(curl -fsSL
https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install.sh)”
/bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install.sh)"
该脚本采用中科大镜像
中科大所提供的 Homebrew 镜像服务
https://lug.ustc.edu.cn/wiki/mirrors/help/brew.git
https://mirrors.ustc.edu.cn/help/brew.git.html
export HOMEBREW_BREW_GIT_REMOTE="https://mirrors.ustc.edu.cn/brew.git"
brew update
通过gitee安装
/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/Homebrew.sh)"
查看brew版本
brew --version
该博客介绍了如何在MacOSX 15.7上安装Homebrew,提供了两种安装方法,分别是通过中科大镜像服务和Gitee平台。用户可以执行指定的bash脚本来快速安装,并更新Homebrew到最新版本,确保安装过程高效且稳定。
955

被折叠的 条评论
为什么被折叠?



