MacOS 使用 Brew 时出现 `brew link` 错误解决方案

Posted ·1371 Views·262 Words

错误信息

Error: An unexpected error occurred during the `brew link` step
The formula built, but is not symlinked into /usr/local
Permission denied @ dir_s_mkdir - /usr/local/Frameworks
Error: Permission denied @ dir_s_mkdir - /usr/local/Frameworks

 

解决方案

sudo chown -R $(whoami):admin /usr/local/*

然后重新安装即可

Comments

Leave a comment to join the discussion