mac安装brew fail,mac 安装 brew,mac homebrew 安装失败

为了快速安装 svn, git, nginx 等,我想着先在 macbook 上安装 brew,按照常规的方法修改了 ruby 源,但还是出现安装错误

fatal: unable to access 'https://github.com/Homebrew/brew/' LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 Failed during: git fetch --force origin

意思是在 github 上拉取 brew 时,出现 443 错误。我们可以通过替换安装时的 shell 路径来解决,一般我们使用的安装命令如下

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

这样可能会出错,不推荐使用,我们可以使用 gitee 上的一个 shell 脚本 进行安装,命令如下

/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"

按照提示安装好,就可以使用 brew install 命令来安装 nginx,svn 等工具了

一般常规修改 ruby 源的方法

修改源

gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/

查看当前源

gem sources -l
# *** CURRENT SOURCES ***
# https://gems.ruby-china.com/

mac 安装 brew 异常 fatal: unable to access ‘https://github.com/Homebrew/brew相关推荐

  1. mac m1 解决fatal: unable to access ‘https://github.com/Homebrew/homebrew-core/‘ ;同时指定intel架构的brew 版本

    arch -x86_64 /bin/bash -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew ...

  2. GO使用go get -u “包“: fatal: unable to access ‘https://github.com/..‘: Failed to connect to报错

    文章目录 GO使用`go get -u "包"`下载github.com包报错 报错(被墙了,需要使用代理): 修改 `go env配置`(下面使用七牛云代理) macOS 或 L ...

  3. fatal: unable to access ‘https://github.com/nhn/raphael.git/‘: OpenSSL SSL_read: Connection was rese

    错误1: npm ERR! fatal: unable to connect to github.com 解决方案: ssh访问切换为https访问 git config --global url.& ...

  4. remote: Permission to xxx.git denied to xxx. fatal: unable to access 'https://github.com/xxx.git/':

    remote: Permission to xxx.git denied to xxx. fatal: unable to access 'https://github.com/xxx.git/': ...

  5. vue初始化项目出现 npm ERR! fatal: unable to access ‘https://github.com/nhn/raphael.git/‘: OpenSSL SSL_read:

    vue初始化项目出现npm ERR! fatal: unable to access 'https://github.com/nhn/raphael.git/': OpenSSL SSL_read:错 ...

  6. fatal: unable to access ‘https://github.com/***.git/‘: OpenSSL SSL_read: Connection was reset, errno

    写了点code,想交到GitHub,结果报了个错. fatal: unable to access 'https://github.com/koking0/Algorithm.git/': OpenS ...

  7. fatal: unable to access ‘https://github.comxxxxxxxxxxx‘: Failed to connect to xxxxxxxxxxxxx

    git clone 遇到问题:fatal: unable to access 'https://github.comxxxxxxxxxxx': Failed to connect to xxxxxxx ...

  8. git的clone命令出现fatal:unable to access ‘https://github.comXXXXXXX“:OpenSSL SSL_read:connection was errn

    git使用git clone命令时出现错误fatal:unable to access 'https://github.comXXXXXXX":OpenSSL SSL_read:connec ...

  9. 【git clone 报错】fatal: unable to access ‘https://github.com/zimeng303/React.git/‘: Failed to connect

    [git clone 报错]fatal: unable to access 'https://github.com/zimeng303/React.git/': Failed to connect t ...

最新文章

  1. Highcharts-2.3.2 网页曲线绘制工具 一淘网价格曲线
  2. 挨踢(IT)脱口秀--2014年2015上半年特别“任性”的网络流行语大盘点
  3. linux系统串口设置参数,linux 串口编程记录(一)串口参数设置(示例代码)
  4. Linux下程序的保护机制(checksec)
  5. 我在腾讯做运维--快速玩转蓝鲸社区版6.0【直播公开课】
  6. 真香!AirPods Pro美国全网脱销,网友:而我内心却毫无波澜
  7. HTTP MIME Types
  8. python一切都是对象 知乎_python一切皆对象
  9. 新手C语言学习第一课——小学生水平级
  10. php 加密视频播放地址,如何在PHP中实现Clear-Key视频加密并以HTML格式播放
  11. ZigBee协议栈简介
  12. 跨数据库跨系统,数据脱敏有新招
  13. linux下的系统监控软件,管理员必备的20个Linux系统监控工具
  14. 用户绑定手机号的思考
  15. ALOHA协议(纯ALOHA协议:想发就发;时隙ALOHA协议:控制想发就发的随意性)
  16. 微信公众账号分为哪几类?区别是什么?
  17. 国家级赛事正式开赛 | 2019数字中国创新大赛上线
  18. yolov5s.yaml中各参数作用意义及使用netron工具来可视化yolov5s的结构
  19. 最新《JK学院 C语言教程培训 C语言教程+源代码》
  20. 2022淘宝天猫京东头部主播消失后的618没有头部主播怎么领618红包?

热门文章

  1. Java8——Optional容器类
  2. 【java】java学习笔记之java常用类
  3. Python 假设有一段英文,其中有单独的字母I误写为i,请编写程序进行纠正。
  4. 番茄当下之作——莽荒纪
  5. App Store出现异常的更新twitter提示
  6. Python:中文数字转换为阿拉伯数字
  7. Unity3D 如何复制内容到剪切板
  8. DF、Png、Tableau转化HTML自动邮件发送
  9. Oracle数据库压力测试
  10. IDEA bootstrap.properties 绿叶图标设置