首页 > 代码库 > brew安装时报错-/usr/local must be writable

brew安装时报错-/usr/local must be writable

执行语句

udo chown -R $(whoami) /usr/local,即

 

sudo chown -R username /usr/local

其中username为系统当前用户名。

然后执行brew update

brew安装时报错-/usr/local must be writable