Back to Blog

How to fix permission-denied issues when executing homebrew commands

Dec 30, 20221 min read

I tried to update ddev to the latest version, using brew upgrade ddev in the terminal, and after each attempt I got a permission denied error.

The solution that worked is the following command:

sudo chown -R $(whoami) $(brew --prefix)/*

Stay Updated

Get the latest posts and insights delivered to your inbox.

No spam. Unsubscribe at any time.