Mac 安装 brew (2020最新,不报错)

前言

今天安装brew,一会报这个错,一会儿报那个错,上网查了很多教程,用了很多时间都是不可以,网上资料抄来抄去,可阅读性很差

Warning: The Ruby Homebrew installer is now deprecated and has been rewritten in

Bash. Please migrate to the following command:

  /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

 

curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

最终翻阅资料,海纳百川,解决问题!

解决

使用大佬脚本解决问题

自动脚本(全部国内地址)(在Mac os终端中复制粘贴回车下面这句话)

/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
按照要求输入开机密码即可
在这里插入图片描述
原文:Homebrew国内如何自动安装(国内地址)

  • 5
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值