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.
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.
Installing Homebrew is straightforward; you’re only required to paste a single line of code in to your Terminal in order to install it.
Open your Terminal App
Copy and paste the following command, and then press ENTER
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install”
Hit the RETURN key when asked to do so
Follow the installation process on screen
When necessary, you can update Homebrew by simply using the following command in the Terminal App:
You can also enable auto completion for your brew commands by entering the command:
brew install bash-completion
Uninstalling Homebrew is just as simple as installing it.
Open the Terminal App
Copy and paste the following command and then press ENTER:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
Updated about a month ago