【发布时间】:2018-03-25 10:34:10
【问题描述】:
我根据网站上的说明运行了以下命令。但是我收到了这个错误。
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
curl: (1) Protocol https not supported or disabled in libcurl
-bash: $: command not found
我调查了在 curl 上启用 SSL,但在我的环境中找不到解决方案。所以我通过浏览器访问https://raw.githubusercontent.com/Homebrew/install/master/install并下载到本地并运行它。但是我收到了这个错误。
$ /usr/bin/ruby -e "$(/Users/tadashingo/Documents/install)"
-bash: /Users/tadashingo/Documents/install: Permission denied
我尝试了这种解决方法,但仍然出现错误。 warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
能否指导我在我的环境中安装 Homebrew?
【问题讨论】: