举个例子,要安装Homebrew就需要git工具,我们不直接安装git,而是安装xcode–select工具
xcode–select包含git,并且在之后的开发过程中也会使用到xcode–select工具
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
先安装xcode–select工具,后序流程需要使用git,xcode–select包含git
xcode-select --install
详细说明:https://gitee.com/cunkai/HomebrewCN
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
原文地址:https://blog.csdn.net/huangzhaobo/article/details/125790264
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如若转载,请注明出处:http://www.7code.cn/show_19265.html
如若内容造成侵权/违法违规/事实不符,请联系代码007邮箱:suwngjj01@126.com进行投诉反馈,一经查实,立即删除!