Homebrew is a widely-used package manager for macOS, providing an easy way to install and manage software on Apple computers. It supplements the software available in the App Store by offering a vast array of open-source software, tools, and utilities.
Historically, developers and power users on macOS might have felt a certain limitation due to the lack of a built-in package manager, similar to what's available in many Linux distributions. Homebrew fills this gap by offering a streamlined way to install, update, and manage software packages, from simple tools to complex applications.
To set up Homebrew on your macOS system, you'll need to use the terminal. The installation is straightforward, and once completed, you'll have access to thousands of packages and utilities, ready to be installed with a single command.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
You are granting the script permissions to write to system directories. Always ensure you trust the source before providing such permissions.
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/yourusername/.zprofile - eval "$(/opt/homebrew/bin/brew shellenv)"
$ brew help
This should display the Homebrew help message, confirming its successful installation.
$ brew update
$ brew install wget
Homebrew also provides a “cask” feature, allowing you to install graphical applications. Example:
$ brew install --cask firefox
Comment anonymously. Login not required.