Homebrew is a package manager that can be used on macOS or Linux. Homebrew on macOS can be assumed as an apt in the Debian family, yum in the CentOS family, and others.
To install Homebrew, it’s very easy to just run the following command.
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Wait until the installation process is complete and the brew is ready to use.