今天在使用 brew 安装 nginx 时,提示错误,安装不上去:

brew install nginx, 提示:/usr/local is not writable.

这个是需要修改 /usr/local 目录的权限:

sudo chown -R $(whoami) /usr/local

执行此命令后, 再执行 brew install nginx 即可安装。

相关文章:

  • 2021-06-06
  • 2021-10-24
  • 2022-12-23
  • 2021-05-29
  • 2021-06-13
  • 2021-10-31
  • 2021-11-05
  • 2022-01-17
猜你喜欢
  • 2021-10-11
  • 2022-12-23
  • 2022-12-23
  • 2021-10-03
  • 2021-09-09
  • 2021-07-30
相关资源
相似解决方案