Homebrew | curl: Failed to connect to raw.githubusercontent.com port 443: Connection refused
Posted HLQ_Struggle
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Homebrew | curl: Failed to connect to raw.githubusercontent.com port 443: Connection refused相关的知识,希望对你有一定的参考价值。
某天想玩玩 Homebrew,突然提示如下:
依稀记得,我曾经玩过这个东西啊,啥情况?
果断官网准备安装下 Homebrew:
出师不利,自然的打开 Stack Overflow 查找解决之道:
关键靠谱答案截图如下:
我们按照此步骤操作一番~
Step 1:首先打开 Homebrew install:
将文件另存为:brew_install.rb
鉴于个人也出现了几次打不开的情况,这里附上百度网盘地址,方便小伙伴操作:
- 链接: https://pan.baidu.com/s/1HvJZj0dl9fDqtgzmVtK2iw 密码:umqb
Step 2:ruby 安装已下载的 brew_install.rb:
iTerm 2 键入如下指令:
- ruby [brew_install.rb 地址]
如下图所示:
安装成功信息如下:
哦可,玩去吧~
以上是关于Homebrew | curl: Failed to connect to raw.githubusercontent.com port 443: Connection refused的主要内容,如果未能解决你的问题,请参考以下文章
Homebrew | curl: Failed to connect to raw.githubusercontent.com port 443: Connection refused
解决curl: Failed to connect to raw.githubusercontent.com port 443: Connection refused 问题
error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL
error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL
curl: Failed to connect to raw.githubusercontent.com port 443: Connection refused