Error code:
bash-3.2# Brew Update
Initialized Empty Git repository in/usr/local/.git/
Remote:counting objects:1163, done.
Remote:compressing objects:100% (1067/1067), done.
Remote:total 1163 (Delta), reused 391 (delta), pack-reused 0
Receiving objects:100% (1163/1163), 1.23 MiB | 40.00 kib/s, done.
Resolving deltas:100% (116/116), done.
From Https://github.com/Homebrew/brew
* [New branch] master, Origin/master
HEAD is now in 42be54e Merge pull request #3667 from Commitay/cask-doctor-sip
To restore the stashed changes to/usr/local run:
' Cd/usr/local && git stash pop '
Error : Running Homebrew as Root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would being giving all
Build scripts full access to your system.
The workaround is to write permissions to the user, not sudo.
imacdemac:~ imac$ sudo chown-r imac/usr/local/
IMac Terminal homebrew is not available