码迷,mamicode.com
首页 > 系统相关 > 详细

升级mac系统后,brew报错,重装homebrew

时间:2019-11-03 14:27:55      阅读:372      评论:0      收藏:0      [点我收藏+]

标签:error   tarball   url   home   roo   you   https   重新安装   rip   

升级mac系统后,brew报错
brew update
Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.

直接重新安装一个新版本brew即可;
mkdir homebrew && curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew

升级mac系统后,brew报错,重装homebrew

标签:error   tarball   url   home   roo   you   https   重新安装   rip   

原文地址:https://blog.51cto.com/sry2004/2447359

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!