Homebrew is a command-line utility which makes it easy to install programs on Mac OS.
Check to see if Homebrew is installed:
which brew
Install Homebrew if necessary:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
FYI: during the installation process you might also need to install "Xcode Developer Tools" (using the provided
xcode-select
command when prompted to do so).
List installed programs:
brew list
Installing programs:
brew install my_program # where my_program is the name of the program to be installed
Uninstalling programs:
brew uninstall my_program # where my_program is the name of the program to be installed