

The above command executes the installer script provided by the Homebrew team. Now you can install Homebrew with the following command: $ ruby -e " $( curl -fsSL )" Xcode is not required to use Homebrew, but some other packages will need Xcode's command-line tools.Įxecute the following command in your terminal to install Xcode's command-line tools package: $ xcode-select -installįollow the instructions on the screen to complete the installation of Xcode's command-line tools. bash or zsh)īefore we install Homebrew, you need to install Xcode's command-line tools package.


It downloads and installs binaries, applications, and utilities using your terminal. Homebrew is a popular package manager for the macOS operating system.
