Part 2: How to uninstall and re-install Homebrew in OS X El Capitan
This is an additional thing that you need to do in Mac OS X El Capitan because Apple introduced this new feature called System Integrity Protector. If it complains about permission issues, then you have to fix it before you can continue. You can perform both these tasks using this one command in the terminal app: ruby -e "$(curl -fsSL )" Step 3 - Now, you need to get a fresh copy of Homebrew and then run the install script. Step 2 - Install Command Line tools by running the following command in terminal: xcode-select -install If it does, then come back to this step and continue. Also, You can skip this step and jump to Step 3 instead and see if the Homebrew installer complains about XCode command line tools. Quick Note - If you already have XCode installed then go to STep 2. You might skip this step if you already have XCode installed. Step 1 - Install XCode by downloading it from here. This is needed for installing the XCode command line tools which in turn is needed by Homebrew. Happy Brewing! Part 1: How to install fresh copy of Homebrew in OS X El Capitan However, if you are doing a fresh installation of El Capitan then follow the steps outlined in Part 1 of this tutorial. If you want to uninstall or delete Homebrew first and then re-install it on El Capitan then follow Part 2 of this tutorial below.