起因是这样的,我想在mac上安装htop
然后我了解到可以用brew安装htop,然后再执行命令 brew install htop
所以我就开始吭哧吭哧安装brew
过程xue wei 曲折了一些
先是看到一个文章,Mac如何安装brew?_赫赫phper的博客-CSDN博客_mac 安装brew
我就开始写命令:
/usr/bin/ruby -e "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install)"
结果1:curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to cdn.jsdelivr.net:443
再试验:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
结果2:curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
据说结果2的原因是: http://raw.gi