Fix brew update – Error: /usr/local must be writable!

So, you wanted to update homebrew with the command

brew update

but received a similar error below:

Error: /usr/local must be writable!

Simple fix is to run

sudo chown -R $(whoami) /usr/local

Your problem should now be fixed. If not, you might have ran into this issue that i’ve come across, too:

Error: update-report should not be called directly!

I fixed this by running both these commands

brew upgrade

then

brew update

Ta da! No more errors! Hopefully.

Happy brewing. Cheers, y’all

2 Replies to “Fix brew update – Error: /usr/local must be writable!”

    1. I’m glad I could help out! Figured it would be a good thing if I could save others the hour or so of research. Cheers.

Leave a Reply