mac安装brew遇到404报错解决方案

转载 http://blog.csdn.net/starlmxx/article/details/50946643

今天安装Homebrew时用如下命令:    

ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

出现 

curl: (22) The requested URL returned error: 400 Bad Request
错误,搜了下改用如下命令就可以成功安装:

 

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

posted @ 2018-01-11 09:11  芒果有毒  阅读(2151)  评论(0编辑  收藏  举报