欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Mac环境下安装brew失败解决方案

程序员文章站 2024-03-21 14:45:28
...

使用命令 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 安装失败

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

可替换以下命令:

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

关闭Git 代理:

git config --global --unset https.proxy

git config --global --unset http.proxy

相关标签: python