MacOS X 15.7安装brew

该博客介绍了如何在MacOSX 15.7上安装Homebrew,提供了两种安装方法,分别是通过中科大镜像服务和Gitee平台。用户可以执行指定的bash脚本来快速安装,并更新Homebrew到最新版本,确保安装过程高效且稳定。
摘要由CSDN通过智能技术生成

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)"
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值