How to install Homebrew on mac

Homebrew can be used to install various software very easily.

Use this to install Homebrew

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

Use this to uninstall Homebrew

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

As Homebrew gets updated often – use ‘brew update’ before using it to ensure it is up to date.