Install Xcode + Homebrew

Homebrew is a package manager that makes installing packages from the Mac terminal quick and easy. If you need to brush up on your skills with the Mac terminal, check out this tutorial.

Prerequisites:
Homebrew relies upon Xcode. So, you'll need to have Xcode installed. If you don't already have it, you can find it in the Apple AppStore.

You will be required to have some fluency with the Mac Terminal App which is situated in the Utilities Folder under the Applications Folder.

Process:

Installing Homebrew is straightforward; you’re only required to paste a single line of code in to your Terminal in order to install it.

  1. Open your Terminal App

  2. Copy and paste the following command, and then press ENTER

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install” 
  1. Hit the RETURN key when asked to do so

  2. Follow the installation process on screen

When necessary, you can update Homebrew by simply using the following command in the Terminal App:

brew update 

You can also enable auto completion for your brew commands by entering the command:

brew install bash-completion 

Uninstalling Homebrew:

Uninstalling Homebrew is just as simple as installing it.

  1. Open the Terminal App

  2. Copy and paste the following command and then press ENTER:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"