1. 程式人生 > >使用Homebrew安裝軟體報錯解決方法

使用Homebrew安裝軟體報錯解決方法

報錯資訊如下:

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.

解決方法:修改/user/local檔案所有者為自己,命令為:sudo chown -R 使用者名稱 /usr/local

再次:brew install erlang 即可。