美文网首页
Mac OS 10.13 上 brew update 的权限问题

Mac OS 10.13 上 brew update 的权限问题

作者: 招财小能手 | 来源:发表于2018-10-24 11:56 被阅读12次

参考链接:https://github.com/Homebrew/brew/issues/3285
问题:

$ brew update
Warning: /usr/local is not writable.
You should change the ownership and permissions of /usr/local
back to your user account.
  sudo chown -R $(whoami) /usr/local

解决:
re-install homebrew

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

相关文章

网友评论

      本文标题:Mac OS 10.13 上 brew update 的权限问题

      本文链接:https://www.haomeiwen.com/subject/jdanzftx.html