How to Install “homebrew” on macOS

To install Homebrew on your macOS start by opening your Terminal. You can find Terminal in the Utilities folder within the Applications folder, or you can use Spotlight Search (Cmd + Space) to search for “Terminal”. Once you have the Terminal open you can install Homebrew by running the following command.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

This command will download and run the Homebrew installation script. The script will prompt you to enter your password, after you enter your password. Wait for the installation to complete. Homebrew will be installed in the /usr/local directory for macOS Intel, and /opt/homebrew for Apple Silicon. After the installation, you can verify if Homebrew is correctly installed by typing the following command in the Terminal.

brew --version

This command will display the version of Homebrew installed on your Mac.

That’s it! Homebrew is now installed on your Mac, if you want to learn how to use Homebrew to install / remove update various packages and software on your system. Go ahead and watch my detailed tutorial on Youtube. https://youtu.be/QfGIjQCrG3M