El Capitan & Homebrew

El Capitan just released. And surely we need to take care the upgrade for Homebrew. Check this out if you’re not familiar with it.

Here’s the upgrade steps:

  1. update xcode to 7.0.1
  2. install command line tool
xcode-select --install
  1. fix /usr/local permission
sudo chown $(whoami):admin /usr/local && sudo chown -R $(whoami):admin /usr/local
  1. run update & upgrades
    brew update
    brew upgrade
    brew cask update
    brew doctor
    brew cleanup
    brew cask cleanup
    

Reference:

廣告