my solution with link: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
and command: sudo chown -R "$(whoami)":admin /usr/local
it ":admin" for sum in user
MacOS BigSur 11.4
Thanks~
Thank you ser!
great, you save my life
In my case I had to setup a new local user on my machine and to remove the old one.
Then the folder ( defined by brew --prefix ) looses its owner.
With this the owner is set to the new local user and - it works!
In my case, had this problem as I created a new user for development and installed brew in my original Mac OS Monterey user account. The mentioned solution solved my problem. Thanks !
Nice~ Greate job!
Thanks! Worked for me (macOS Ventura 13.3.1)
Hi ! how can i fix this
/Users/emvlp/.zprofile:24: permission denied: /opt/homebrew/bin/brew
Could someone tell me the steps?
Thank you so much !
Thanks @erma4ina
and command: sudo chown -R "$(whoami)":admin /usr/local
it ":admin" for sum in user
Thanks, this worked for me!
(macOS Ventura 13.9, Intel Mac)
Worked for me on Intel Mac with macOS Ventura 13.5. Thank you :)
Worked for me on Monterey 12.6.5! (Late 2016, Intel silicon)
Thank you!