Homebrew 使用错误总结
2017-05-26 本文已影响2989人
sun_dev
Homebrew 使用错误总结
1、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.
把/use/local的owner換成自己,就有write權限了
whoami就是一個命令,會echo當前登錄用戶的名字。當然你知道自己的用戶名,比如jack,就直接
sudo chown -R jack /usr/local
也可以