How to fix homebrew permissions?

I was able to solve the problem by using chown on the folder: code

sudo chown -R "$USER":admin /usr/local

Also you'll (most probably) have to do the same on /Library/Caches/Homebrew:co

sudo chown -R "$USER":admin /Library/Caches/Homebrew
相關文章
相關標籤/搜索