Thursday, 8 October 2015

Fix homebrew EL Captain

If homebrew shows you random permission issues you fix it.

First Disable SIP i.e. System Integrity Protection. You can read more about it from the below link.

Then open terminal and type the below line:
sudo chown $(whoami):admin /usr/local && sudo chown -R $(whoami):admin /usr/local

Now, update Hombrew and upgrade all its formulae from terminal with the below commands

1) Update Homebrew

command: brew update

2) Check for outdate formulae

command: brew outdated

3) Upgrade all the formulas from older versions to newer versions

command: brew upgrade

4) Upgrade only specific formulae

command: brew upgrade $Name_Of_Formulae

5) Clean up everything

command: brew cleanup

6) Clean up a single formulae(cleaning up means deleting the old and outdated version)

command: brew cleanup $Name_of_Formulae

1 comment:

  1. I tired to apply the step by step procedure, But still not working.

    Hope you can help.

    Fixing A Pipe