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

Posted 芒果有毒

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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)"

以上是关于mac安装brew遇到404报错解决方案的主要内容,如果未能解决你的问题,请参考以下文章

解决mac安装homebrew后报错-bash: brew: command not found

Mac 终端报错 zsh: command not found: brew 解决方案

Mac下安装jenkins以及报错解决办法

Brew:Mac OS 使用brew命令报错“Error opening archive: Failed to open ‘../Caches/Homebrew../”解决方法

Brew:Mac OS 使用brew命令报错“Error opening archive: Failed to open ‘../Caches/Homebrew../”解决方法

Brew:Mac OS 使用brew命令报错“Error opening archive: Failed to open ‘../Caches/Homebrew../”解决方法