`
hongtoushizi
  • 浏览: 357926 次
  • 性别: Icon_minigender_1
  • 来自: 天津
社区版块
存档分类
最新评论

mac下brew install 报错

阅读更多

mac下brew install 报错

Password:

Error: Cowardly refusing to `sudo brew install'

You can use brew with sudo, but only if the brew executable is owned by root.

However, this is both not recommended and completely unsupported so do so at

your own risk.

 

原因是这个brew的权限不正确

 

修改一下这个brew的权限chown root:wheel /usr/local/bin/brew

OK

分享到:
评论

相关推荐

    苹果电脑安装jdk1.6 mac for jdk1.6 jdk6 安装版

    命令是这个:brew install java6或 brew install homebrew/cask-versions/java6 如果有报错可能是githubtoken的问题需要访问 报错连接 生成token然后执行命令 export HOMEBREW_GITHUB_API_TOKEN="你生成的token" ...

    Mac 安装 mysqlclient过程解析

    brew install mysql-connector-c 但是报错: 查看报错信息,在安装 mysql-connector-c 前先 brew unlink mysql 但是继续安装还是报错: 查看官方说明,原来在 macOS 下需将 mysql_config 中的 # on mac

    HomeBrew 下载时出现 404 错误

    今天在macbook上安装软件时,homebrew出现了404的错误: curl: (22) The requested URL returned error: 404 Not Found Error: An exception occurred within a child process: DownloadError: Failed to download ...

    解决Mac安装thrift因bison报错的问题

    使用brew install bison 安装新版的bison $ brew list bison /usr/local/Cellar/bison/3.0.4/bin/bison /usr/local/Cellar/bison/3.0.4/bin/yacc /usr/local/Cellar/bison/3.0.4/lib/liby.a /usr/local/Cellar/...

    Mac上安装brew以及可能出现的问题

    安装方法 打开终端,输入以下命令 /usr/bin/ruby-e $(curl -fsSLhttps://raw.githubusercontent....报错的解决方法 输入上面的命令过后可能会报这个错误,如果报这个错,不要慌,试试下面的方法 curl: (7) Failed to c

    jenkins-2.229.pkg

    用命令:brew install jenkins会报网络错误,无法成功下载 那就用pkg文件安装吧【这是官方提供的最新的2021安装包了】 jenkins-2.229.pkg,2020-03-30 06:15发布,63M大小

    多玩前端工作流grunt-workflow.zip

    安装 nodejs window 安装地址 , mac 推荐通过brew安装brew install node 安装 grunt-cli npm install -g grunt-cli 安装 grunt-init npm install -g grunt-init 将当前git克隆到本地%USERPROFILE%\.grunt-init\...

    Tutorial-Node.js

    ##方法一:$ brew install node##方法二:###1. 下载nodejs选择 binary包: Mac OS X Binaries (.tar.gz)保存在: /bin/node-v0.12.0/###2. 添加path (用户级环境变量)sudo vi /.bash_profileadd : export PATH=/bin/...

    fex-team.github.io.zip

    如果在 Mac 下安装遇到编译报错,可以试试用 Brew 安装新版 ruby brew install ruby Windows 下 jekyll 官方对 winodws 的支持程度很低,推荐使用 Building portable Jekyll for Windows,另外这里附上网盘地址...

    Mac 安装Homebrew

    2.报错了 Failed during: git fetch origin master:refs/remotes/origin/master –tags –f … 3.不要慌!!!此时,你可以ping github.com,若出现以下图片这种情况,说明你的网不通!!! 此时 在终端输入 sudo

    mac 安装homebrew出错 Failed to connect to raw.githubusercontent.com port 443: Connection refused error:

    /usr/bin/ruby -e $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install) 开始一直报错Failed to connect to raw.githubusercontent.com port 443: Connection refused error: Error: 7...

Global site tag (gtag.js) - Google Analytics