Homebrew complements macOS (or your Linux system). Install your RubyGems with gem and their dependencies with brew. “To install, drag this icon…” no more. Homebrew Cask installs macOS apps, fonts and plugins and other non-open source software.
The script installs Homebrew to its default, supported, best prefix (/opt/homebrew for Apple Silicon, /usr/local for macOS Intel and /home/linuxbrew/.linuxbrew for Linux) so that you don’t need sudo after Homebrew’s initial installation when you brew install.
Use brew doctor to troubleshoot common issues. [!NOTE] Please note that unlike macOS, Homebrew does not use a sandbox when building on Linux, so formulae may install outside the Homebrew prefix.
It is possible to install some Python packages as formulae by using brew install xyz. We do not recommend using these formulae and instead recommend you install them with pip inside a virtualenv.
Run brew edit <formula> to open the formula in EDITOR. You don’t have to submit modifications back to homebrew/core, just edit the formula to what you personally need and brew install <formula>.
If hosted on GitHub, we recommend that the repository’s name start with homebrew- so the short brew tap command can be used. See the brew manual page for more information on repository naming.
These are executable scripts that reside somewhere in the $PATH, named brew-cmdname or brew- cmdname.rb, which can be invoked like brew cmdname. This allows you to create your own commands without modifying Homebrew’s internals.
brew doctor will output warnings related to configuration CI coverage may be incomplete; bottles may be unavailable or fail to install Issues that only affect these configurations may be closed without investigation Support is generally limited to community responses on Homebrew’s Discussions Tier 2 configurations include: