Homebrew complements macos (or your linux system). Install your rubygems with gem and their dependencies with brew. 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.
These are executable scripts that reside somewhere in the $path, named brew-cmdname or brew- cmdname.rb, which can be invoked like brew cmdname. Users brew manual page (command documentation) homebrew blog (news on major updates) installation support tiers troubleshooting faq (frequently asked questions) common issues brew. Homebrew’s package index homebrew formulae is an online package browser for homebrew – the macos (and linux) package manager.
For more information on how to install and use homebrew. Feb 3, 2025the most significant changes since 4.4.0 are major improvements to brew bundle / services, preliminary linux support for casks, official support tiers, tier 2 arm64 linux support,. 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. As well as supporting formulae (brew "."), you can also use brew bundle with casks, taps, mac app store apps, vscode extensions, go packages, cargo packages, uv tools and flatpak packages and. Run brew edit 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 .