.\" generated by kramdown .TH "BREW" "1" "July 2026" "Homebrew" .SH NAME brew \- The Package Manager for Everywhere .SH "SYNOPSIS" \fBbrew\fP \fB\-\-version\fP .br \fBbrew\fP \fIcommand\fP [\fB\-\-verbose\fP|\fB\-v\fP] [\fIoptions\fP] [\fIformula\fP] \.\.\. .SH "DESCRIPTION" Homebrew is the easiest and most flexible way to install the UNIX tools Apple didn\[u2019]t include with macOS\. It can also install software not packaged for your Linux distribution without requiring \fBsudo\fP\&\. .SH "TERMINOLOGY" .TP \fBformula\fP Homebrew package definition that builds from upstream sources .TP \fBcask\fP Homebrew package definition that installs pre\-compiled binaries built and signed by upstream .TP \fBprefix\fP path in which Homebrew is installed, e\.g\. \fB/opt/homebrew\fP or \fB/home/linuxbrew/\.linuxbrew\fP .TP \fBkeg\fP installation destination directory of a given \fBformula\fP version, e\.g\. \fB/opt/homebrew/Cellar/foo/0\.1\fP .TP \fBrack\fP directory containing one or more versioned \fBkegs\fP, e\.g\. \fB/opt/homebrew/Cellar/foo\fP .TP \fBkeg\-only\fP a \fBformula\fP is \fIkeg\-only\fP if it is not symlinked into Homebrew\[u2019]s prefix .TP \fBopt prefix\fP a symlink to the active version of a \fBkeg\fP, e\.g\. \fB/opt/homebrew/opt/foo\fP .TP \fBCellar\fP directory containing one or more named \fBracks\fP, e\.g\. \fB/opt/homebrew/Cellar\fP .TP \fBCaskroom\fP directory containing one or more named \fBcasks\fP, e\.g\. \fB/opt/homebrew/Caskroom\fP .TP \fBexternal command\fP \fBbrew\fP subcommand defined outside of the Homebrew/brew GitHub repository .TP \fBtap\fP directory (and usually Git repository) of \fBformulae\fP, \fBcasks\fP and/or \fBexternal commands\fP .TP \fBbottle\fP pre\-built \fBkeg\fP poured into a \fBrack\fP of the \fBCellar\fP instead of building from upstream sources .SH "ESSENTIAL COMMANDS" For the full command list, see the \fICOMMANDS\fP section\. .P With \fB\-\-verbose\fP or \fB\-\-debug\fP, many commands print extra debugging information\. Note that these options should only appear after a command\. .P Some command behaviour can be customised with environment variables; see the \fIENVIRONMENT\fP section\. .SS "\fBinstall\fP \fIformula\fP" Install \fIformula\fP\&\. .P \fIformula\fP is usually the name of the formula to install, but it has other syntaxes which are listed in the \fISPECIFYING FORMULAE\fP section\. .SS "\fBuninstall\fP \fIformula\fP" Uninstall \fIformula\fP\&\. .SS "\fBlist\fP" List all installed formulae\. .SS "\fBsearch\fP \fR[\fItext\fP|\fB/\fP\fItext\fP\fB/\fP]" Perform a substring search of cask tokens and formula names for \fItext\fP\&\. If \fItext\fP is flanked by slashes, it is interpreted as a regular expression\. The search for \fItext\fP is extended online to \fBhomebrew/core\fP and \fBhomebrew/cask\fP\&\. If no search term is provided, all locally available formulae are listed\. .SH "COMMANDS" .SS "\fBalias\fP \fR[\fB\-\-edit\fP] \fR[\fIalias\fP|\fIalias\fP=\fIcommand\fP]" Show an alias\[u2019]s command\. If no alias is given, print the whole list\. .TP \fB\-\-edit\fP Edit aliases in a text editor\. Either one or all aliases may be opened at once\. If the given alias doesn\[u2019]t exist it\[u2019]ll be pre\-populated with a template\. .SS "\fBas\-console\-user\fP \fIcommand\fP \fR[\fIargs\fP \.\.\.]" Run a Homebrew command as the active macOS console user\. .P This is intended for MDM, Munki and Jamf workflows where \fBbrew\fP is invoked as root but Homebrew operations should run as the logged\-in console user\. The nested command is always dispatched through \fBHOMEBREW_BREW_FILE\fP\&\. .SS "\fBautoremove\fP \fR[\fB\-\-dry\-run\fP]" Uninstall formulae that were only installed as a dependency of another formula and are now no longer needed\. .TP \fB\-n\fP, \fB\-\-dry\-run\fP List what would be uninstalled, but do not actually uninstall anything\. .SS "\fBbundle\fP \fR[\fIsubcommand\fP]" Bundler for non\-Ruby dependencies from Homebrew formulae, Homebrew casks, Mac App Store dependencies, VSCode (and forks/variants) extensions, Go packages, Cargo packages, uv tools, Flatpak packages, WinGet packages, Krew plugins and npm packages\. .P Note: Flatpak support is only available on Linux\. .TP \fB\-\-file\fP Read from or write to the \fBBrewfile\fP from this location\. Use \fB\-\-file=\-\fP to pipe to stdin/stdout\. .TP \fB\-g\fP, \fB\-\-global\fP Read from or write to the \fBBrewfile\fP from \fB$HOMEBREW_BUNDLE_FILE_GLOBAL\fP (if set), \fB${XDG_CONFIG_HOME}/homebrew/Brewfile\fP (if \fB$XDG_CONFIG_HOME\fP is set), \fB~/\.homebrew/Brewfile\fP or \fB~/\.Brewfile\fP otherwise\. .TP \fBbrew bundle sh\fP [\fB\-\-check\fP] [\fB\-\-no\-secrets\fP] Run your shell in a \fBbrew bundle exec\fP environment\. .TP \fB\-\-install\fP Run \fBinstall\fP before starting the shell\. .TP \fB\-\-services\fP Temporarily start services while running the shell\. Enabled by default if \fB$HOMEBREW_BUNDLE_SERVICES\fP is set\. .TP \fB\-\-check\fP Check that all dependencies in the Brewfile are installed before starting the shell\. Enabled by default if \fB$HOMEBREW_BUNDLE_CHECK\fP is set\. .TP \fB\-\-no\-secrets\fP Attempt to remove secrets from the environment before starting the shell\. .TP \fBbrew bundle remove\fP \fIname\fP [\.\.\.] Remove entries that match \fBname\fP from your \fBBrewfile\fP\&\. Use \fB\-\-formula\fP, \fB\-\-cask\fP, \fB\-\-tap\fP, \fB\-\-mas\fP, \fB\-\-vscode\fP, \fB\-\-go\fP, \fB\-\-cargo\fP, \fB\-\-uv\fP, \fB\-\-flatpak\fP, \fB\-\-winget\fP, \fB\-\-krew\fP and \fB\-\-npm\fP to remove only entries of the corresponding type\. Passing \fB\-\-formula\fP also removes matches against formula aliases and old formula names\. .TP \fB\-\-install\fP Run \fBinstall\fP before removing entries\. .TP \fB\-\-formula\fP Remove Homebrew formula entries, including matches against formula aliases and old names\. .TP \fB\-\-cask\fP Remove Homebrew cask entries\. .TP \fB\-\-tap\fP Remove Homebrew tap entries\. .TP \fB\-\-mas\fP Remove entries for Mac App Store dependencies\. .TP \fB\-\-vscode\fP Remove entries for VSCode (and forks/variants) extensions\. .TP \fB\-\-go\fP Remove entries for Go packages\. .TP \fB\-\-cargo\fP Remove entries for Cargo packages\. .TP \fB\-\-uv\fP Remove entries for uv tools\. .TP \fB\-\-flatpak\fP Remove entries for Flatpak packages\. Note: Linux only\. .TP \fB\-\-winget\fP Remove entries for WinGet packages\. Note: WSL only\. .TP \fB\-\-krew\fP Remove entries for Krew plugins\. .TP \fB\-\-npm\fP Remove entries for npm packages\. .TP \fBbrew bundle list\fP List all dependencies present in the \fBBrewfile\fP\&\. .P By default, only Homebrew formula dependencies are listed\. .TP \fB\-\-install\fP Run \fBinstall\fP before listing dependencies\. .TP \fB\-\-all\fP List all dependencies\. .TP \fB\-\-formula\fP List Homebrew formula dependencies\. .TP \fB\-\-cask\fP List Homebrew cask dependencies\. .TP \fB\-\-tap\fP List Homebrew tap dependencies\. .TP \fB\-\-mas\fP List Mac App Store dependencies\. .TP \fB\-\-vscode\fP List VSCode (and forks/variants) extensions\. .TP \fB\-\-go\fP List Go packages\. .TP \fB\-\-cargo\fP List Cargo packages\. .TP \fB\-\-uv\fP List uv tools\. .TP \fB\-\-flatpak\fP List Flatpak packages\. Note: Linux only\. .TP \fB\-\-winget\fP List WinGet packages\. Note: WSL only\. .TP \fB\-\-krew\fP List Krew plugins\. .TP \fB\-\-npm\fP List npm packages\. .TP \fBbrew bundle\fP [\fBinstall\fP|\fBupgrade\fP] Install and upgrade (by default) all dependencies from the \fBBrewfile\fP\&\. .P Use this to restore a recorded installed state from a \fBBrewfile\fP\&\. .P \fBbrew bundle upgrade\fP is shorthand for \fBbrew bundle install \-\-upgrade\fP\&\. .P You can specify the \fBBrewfile\fP location using \fB\-\-file\fP or by setting the \fB$HOMEBREW_BUNDLE_FILE\fP environment variable\. .P You can skip the installation of dependencies by adding space\-separated values to one or more of the following environment variables: \fB$HOMEBREW_BUNDLE_BREW_SKIP\fP, \fB$HOMEBREW_BUNDLE_CASK_SKIP\fP, \fB$HOMEBREW_BUNDLE_MAS_SKIP\fP, \fB$HOMEBREW_BUNDLE_TAP_SKIP\fP\&\. .TP \fB\-v\fP, \fB\-\-verbose\fP Print output from commands as they are run\. .TP \fB\-\-no\-upgrade\fP Do not run \fBbrew upgrade\fP on outdated dependencies\. Note they may still be upgraded by \fBbrew install\fP if needed\. Enabled by default if \fB$HOMEBREW_BUNDLE_NO_UPGRADE\fP is set\. .TP \fB\-\-upgrade\fP Run \fBbrew upgrade\fP on outdated dependencies, even if \fB$HOMEBREW_BUNDLE_NO_UPGRADE\fP is set\. .TP \fB\-\-upgrade\-formulae\fP Run \fBbrew upgrade\fP on any of these comma\-separated formulae, even if \fB$HOMEBREW_BUNDLE_NO_UPGRADE\fP is set\. .TP \fB\-\-jobs\fP Run up to this many formula installations in parallel\. Defaults to 1 (sequential)\. Use \fBauto\fP for the number of CPU cores (max 4)\. .TP \fB\-f\fP, \fB\-\-force\fP Run with \fB\-\-force\fP/\fB\-\-overwrite\fP\&\. .TP \fB\-\-force\-cleanup\fP Perform cleanup after installing dependencies without asking\. Enabled by default if \fB$HOMEBREW_BUNDLE_FORCE_INSTALL_CLEANUP\fP is set and \fB\-\-global\fP is passed\. .TP \fB\-\-zap\fP Use \fBzap\fP instead of \fBuninstall\fP when cleaning up casks after installing dependencies\. .TP \fBbrew bundle exec\fP [\fB\-\-check\fP] [\fB\-\-no\-secrets\fP] [\fB\-\-sandbox=\fP\fIpath\fP] [\fB\-\-deny\-network\fP] \fIcommand\fP Run an external command in an isolated build environment based on the \fBBrewfile\fP dependencies\. .P This sanitised build environment ignores unrequested dependencies, which makes sure that things you didn\[u2019]t specify in your \fBBrewfile\fP won\[u2019]t get picked up by commands like \fBbundle install\fP, \fBnpm install\fP, etc\. It will also add compiler flags which will help with finding keg\-only dependencies like \fBopenssl\fP, \fBicu4c\fP, etc\. .TP \fB\-\-install\fP Run \fBinstall\fP before executing the command\. .TP \fB\-\-services\fP Temporarily start services while executing the command\. Enabled by default if \fB$HOMEBREW_BUNDLE_SERVICES\fP is set\. .TP \fB\-\-check\fP Check that all dependencies in the Brewfile are installed before executing the command\. Enabled by default if \fB$HOMEBREW_BUNDLE_CHECK\fP is set\. .TP \fB\-\-no\-secrets\fP Attempt to remove secrets from the environment before executing the command\. .TP \fB\-\-sandbox\fP Run \fIcommand\fP in Homebrew\[u2019]s sandbox, allowing writes to \fIpath\fP and Homebrew\[u2019]s temporary and cache directories\. .TP \fB\-\-deny\-network\fP Deny network access from inside the sandbox\. .TP \fBbrew bundle env\fP [\fB\-\-check\fP] [\fB\-\-no\-secrets\fP] Print the environment variables that would be set in a \fBbrew bundle exec\fP environment\. .TP \fB\-\-install\fP Run \fBinstall\fP before printing the environment\. .TP \fB\-\-check\fP Check that all dependencies in the Brewfile are installed before printing the environment\. Enabled by default if \fB$HOMEBREW_BUNDLE_CHECK\fP is set\. .TP \fB\-\-no\-secrets\fP Attempt to remove secrets from the environment before printing it\. .TP \fBbrew bundle edit\fP Edit the \fBBrewfile\fP in your editor\. .TP \fB\-\-install\fP Run \fBinstall\fP before editing the \fBBrewfile\fP\&\. .TP \fBbrew bundle dump\fP Write all installed casks/formulae/images/taps into a \fBBrewfile\fP in the current directory or to a custom file specified with the \fB\-\-file\fP option\. This is useful as an installed\-state snapshot and can be kept in version control and diffed\. .TP \fB\-\-install\fP Run \fBinstall\fP before dumping dependencies\. .TP \fB\-f\fP, \fB\-\-force\fP Overwrite an existing \fBBrewfile\fP\&\. .TP \fB\-\-formula\fP Dump Homebrew formula dependencies\. .TP \fB\-\-no\-formula\fP Dump without Homebrew formula dependencies\. Enabled by default if \fB$HOMEBREW_BUNDLE_DUMP_NO_BREW\fP is set\. .TP \fB\-\-no\-dump\-brew\fP Dump without Homebrew formula dependencies\. Enabled by default if \fB$HOMEBREW_BUNDLE_DUMP_NO_BREW\fP is set\. .TP \fB\-\-cask\fP Dump Homebrew cask dependencies\. .TP \fB\-\-no\-cask\fP Dump without Homebrew cask dependencies\. Enabled by default if \fB$HOMEBREW_BUNDLE_DUMP_NO_CASK\fP is set\. .TP \fB\-\-no\-dump\-cask\fP Dump without Homebrew cask dependencies\. Enabled by default if \fB$HOMEBREW_BUNDLE_DUMP_NO_CASK\fP is set\. .TP \fB\-\-tap\fP Dump Homebrew tap dependencies\. .TP \fB\-\-no\-tap\fP Dump without Homebrew tap dependencies\. Enabled by default if \fB$HOMEBREW_BUNDLE_DUMP_NO_TAP\fP is set\. .TP \fB\-\-no\-dump\-tap\fP Dump without Homebrew tap dependencies\. Enabled by default if \fB$HOMEBREW_BUNDLE_DUMP_NO_TAP\fP is set\. .TP \fB\-\-mas\fP Dump Mac App Store dependencies\. .TP \fB\-\-vscode\fP Dump VSCode (and forks/variants) extensions\. .TP \fB\-\-go\fP Dump Go packages\. .TP \fB\-\-cargo\fP Dump Cargo packages\. .TP \fB\-\-uv\fP Dump uv tools\. .TP \fB\-\-flatpak\fP Dump Flatpak packages\. Note: Linux only\. .TP \fB\-\-winget\fP Dump WinGet packages\. Note: WSL only\. .TP \fB\-\-krew\fP Dump Krew plugins\. .TP \fB\-\-npm\fP Dump npm packages\. .TP \fB\-\-no\-mas\fP \fBdump\fP without Mac App Store dependencies\. Enabled by default if \fB$HOMEBREW_BUNDLE_DUMP_NO_MAS\fP is set\. .TP \fB\-\-no\-dump\-mas\fP \fBdump\fP without Mac App Store dependencies\. Enabled by default if \fB$HOMEBREW_BUNDLE_DUMP_NO_MAS\fP is set\. .TP \fB\-\-no\-vscode\fP \fBdump\fP without VSCode (and forks/variants) extensions\. Enabled by default if \fB$HOMEBREW_BUNDLE_DUMP_NO_VSCODE\fP is set\. .TP \fB\-\-no\-dump\-vscode\fP \fBdump\fP without VSCode (and forks/variants) extensions\. Enabled by default if \fB$HOMEBREW_BUNDLE_DUMP_NO_VSCODE\fP is set\. .TP \fB\-\-no\-go\fP \fBdump\fP without Go packages\. Enabled by default if \fB$HOMEBREW_BUNDLE_DUMP_NO_GO\fP is set\. .TP \fB\-\-no\-dump\-go\fP \fBdump\fP without Go packages\. Enabled by default if \fB$HOMEBREW_BUNDLE_DUMP_NO_GO\fP is set\. .TP \fB\-\-no\-cargo\fP \fBdump\fP without Cargo packages\. Enabled by default if \fB$HOMEBREW_BUNDLE_DUMP_NO_CARGO\fP is set\. .TP \fB\-\-no\-dump\-cargo\fP \fBdump\fP without Cargo packages\. Enabled by default if \fB$HOMEBREW_BUNDLE_DUMP_NO_CARGO\fP is set\. .TP \fB\-\-no\-uv\fP \fBdump\fP without uv tools\. Enabled by default if \fB$HOMEBREW_BUNDLE_DUMP_NO_UV\fP is set\. .TP \fB\-\-no\-dump\-uv\fP \fBdump\fP without uv tools\. Enabled by default if \fB$HOMEBREW_BUNDLE_DUMP_NO_UV\fP is set\. .TP \fB\-\-no\-flatpak\fP \fBdump\fP without Flatpak packages\. Enabled by default if \fB$HOMEBREW_BUNDLE_DUMP_NO_FLATPAK\fP is set\. .TP \fB\-\-no\-dump\-flatpak\fP \fBdump\fP without Flatpak packages\. Enabled by default if \fB$HOMEBREW_BUNDLE_DUMP_NO_FLATPAK\fP is set\. .TP \fB\-\-no\-winget\fP \fBdump\fP without WinGet packages\. Enabled by default if \fB$HOMEBREW_BUNDLE_DUMP_NO_WINGET\fP is set\. .TP \fB\-\-no\-dump\-winget\fP \fBdump\fP without WinGet packages\. Enabled by default if \fB$HOMEBREW_BUNDLE_DUMP_NO_WINGET\fP is set\. .TP \fB\-\-no\-krew\fP \fBdump\fP without Krew plugins\. Enabled by default if \fB$HOMEBREW_BUNDLE_DUMP_NO_KREW\fP is set\. .TP \fB\-\-no\-dump\-krew\fP \fBdump\fP without Krew plugins\. Enabled by default if \fB$HOMEBREW_BUNDLE_DUMP_NO_KREW\fP is set\. .TP \fB\-\-no\-npm\fP \fBdump\fP without npm packages\. Enabled by default if \fB$HOMEBREW_BUNDLE_DUMP_NO_NPM\fP is set\. .TP \fB\-\-no\-dump\-npm\fP \fBdump\fP without npm packages\. Enabled by default if \fB$HOMEBREW_BUNDLE_DUMP_NO_NPM\fP is set\. .TP \fB\-\-no\-describe\fP Do not add description comments above each line\. Description comments are the default\. Enabled by default if \fB$HOMEBREW_BUNDLE_NO_DESCRIBE\fP is set\. .TP \fB\-\-no\-restart\fP Do not add \fBrestart_service\fP to formula lines\. .TP \fBbrew bundle cleanup\fP Uninstall all dependencies not present in the \fBBrewfile\fP\&\. .P This workflow is useful for maintainers or testers who regularly install lots of formulae\. .P Unless \fB\-\-force\fP is passed, this prompts before removing anything and returns a 1 exit code if the prompt is declined or cannot be shown\. .TP \fB\-\-install\fP Run \fBinstall\fP before cleaning up dependencies\. .TP \fB\-f\fP, \fB\-\-force\fP Actually perform cleanup operations\. .TP \fB\-\-all\fP Clean up all supported dependencies\. .TP \fB\-\-formula\fP Clean up Homebrew formula dependencies\. .TP \fB\-\-no\-formula\fP Clean up without Homebrew formula dependencies\. Enabled by default if \fB$HOMEBREW_BUNDLE_CLEANUP_NO_BREW\fP is set\. .TP \fB\-\-no\-cleanup\-brew\fP Clean up without Homebrew formula dependencies\. Enabled by default if \fB$HOMEBREW_BUNDLE_CLEANUP_NO_BREW\fP is set\. .TP \fB\-\-cask\fP Clean up Homebrew cask dependencies\. .TP \fB\-\-no\-cask\fP Clean up without Homebrew cask dependencies\. Enabled by default if \fB$HOMEBREW_BUNDLE_CLEANUP_NO_CASK\fP is set\. .TP \fB\-\-no\-cleanup\-cask\fP Clean up without Homebrew cask dependencies\. Enabled by default if \fB$HOMEBREW_BUNDLE_CLEANUP_NO_CASK\fP is set\. .TP \fB\-\-tap\fP Clean up Homebrew tap dependencies\. .TP \fB\-\-no\-tap\fP Clean up without Homebrew tap dependencies\. Enabled by default if \fB$HOMEBREW_BUNDLE_CLEANUP_NO_TAP\fP is set\. .TP \fB\-\-no\-cleanup\-tap\fP Clean up without Homebrew tap dependencies\. Enabled by default if \fB$HOMEBREW_BUNDLE_CLEANUP_NO_TAP\fP is set\. .TP \fB\-\-mas\fP Clean up Mac App Store dependencies\. .TP \fB\-\-no\-mas\fP \fBcleanup\fP without Mac App Store dependencies\. Enabled by default if \fB$HOMEBREW_BUNDLE_CLEANUP_NO_MAS\fP is set\. .TP \fB\-\-no\-cleanup\-mas\fP \fBcleanup\fP without Mac App Store dependencies\. Enabled by default if \fB$HOMEBREW_BUNDLE_CLEANUP_NO_MAS\fP is set\. .TP \fB\-\-vscode\fP Clean up VSCode (and forks/variants) extensions\. .TP \fB\-\-no\-vscode\fP \fBcleanup\fP without VSCode (and forks/variants) extensions\. Enabled by default if \fB$HOMEBREW_BUNDLE_CLEANUP_NO_VSCODE\fP is set\. .TP \fB\-\-no\-cleanup\-vscode\fP \fBcleanup\fP without VSCode (and forks/variants) extensions\. Enabled by default if \fB$HOMEBREW_BUNDLE_CLEANUP_NO_VSCODE\fP is set\. .TP \fB\-\-go\fP Clean up Go packages\. .TP \fB\-\-no\-go\fP \fBcleanup\fP without Go packages\. Enabled by default if \fB$HOMEBREW_BUNDLE_CLEANUP_NO_GO\fP is set\. .TP \fB\-\-no\-cleanup\-go\fP \fBcleanup\fP without Go packages\. Enabled by default if \fB$HOMEBREW_BUNDLE_CLEANUP_NO_GO\fP is set\. .TP \fB\-\-cargo\fP Clean up Cargo packages\. .TP \fB\-\-no\-cargo\fP \fBcleanup\fP without Cargo packages\. Enabled by default if \fB$HOMEBREW_BUNDLE_CLEANUP_NO_CARGO\fP is set\. .TP \fB\-\-no\-cleanup\-cargo\fP \fBcleanup\fP without Cargo packages\. Enabled by default if \fB$HOMEBREW_BUNDLE_CLEANUP_NO_CARGO\fP is set\. .TP \fB\-\-uv\fP Clean up uv tools\. .TP \fB\-\-no\-uv\fP \fBcleanup\fP without uv tools\. Enabled by default if \fB$HOMEBREW_BUNDLE_CLEANUP_NO_UV\fP is set\. .TP \fB\-\-no\-cleanup\-uv\fP \fBcleanup\fP without uv tools\. Enabled by default if \fB$HOMEBREW_BUNDLE_CLEANUP_NO_UV\fP is set\. .TP \fB\-\-flatpak\fP Clean up Flatpak packages\. Note: Linux only\. .TP \fB\-\-no\-flatpak\fP \fBcleanup\fP without Flatpak packages\. Enabled by default if \fB$HOMEBREW_BUNDLE_CLEANUP_NO_FLATPAK\fP is set\. .TP \fB\-\-no\-cleanup\-flatpak\fP \fBcleanup\fP without Flatpak packages\. Enabled by default if \fB$HOMEBREW_BUNDLE_CLEANUP_NO_FLATPAK\fP is set\. .TP \fB\-\-winget\fP Clean up WinGet packages\. Note: WSL only\. .TP \fB\-\-no\-winget\fP \fBcleanup\fP without WinGet packages\. Enabled by default if \fB$HOMEBREW_BUNDLE_CLEANUP_NO_WINGET\fP is set\. .TP \fB\-\-no\-cleanup\-winget\fP \fBcleanup\fP without WinGet packages\. Enabled by default if \fB$HOMEBREW_BUNDLE_CLEANUP_NO_WINGET\fP is set\. .TP \fB\-\-krew\fP Clean up Krew plugins\. .TP \fB\-\-no\-krew\fP \fBcleanup\fP without Krew plugins\. Enabled by default if \fB$HOMEBREW_BUNDLE_CLEANUP_NO_KREW\fP is set\. .TP \fB\-\-no\-cleanup\-krew\fP \fBcleanup\fP without Krew plugins\. Enabled by default if \fB$HOMEBREW_BUNDLE_CLEANUP_NO_KREW\fP is set\. .TP \fB\-\-npm\fP Clean up npm packages\. .TP \fB\-\-no\-npm\fP \fBcleanup\fP without npm packages\. Enabled by default if \fB$HOMEBREW_BUNDLE_CLEANUP_NO_NPM\fP is set\. .TP \fB\-\-no\-cleanup\-npm\fP \fBcleanup\fP without npm packages\. Enabled by default if \fB$HOMEBREW_BUNDLE_CLEANUP_NO_NPM\fP is set\. .TP \fB\-\-zap\fP Clean up casks using the \fBzap\fP command instead of \fBuninstall\fP\&\. .TP \fBbrew bundle check\fP Check if all dependencies present in the \fBBrewfile\fP are installed\. .P This provides a successful exit code if everything is up\-to\-date, making it useful for scripting\. Use \fB\-\-verbose\fP to list unmet dependencies\. .TP \fB\-v\fP, \fB\-\-verbose\fP List all missing dependencies\. .TP \fB\-\-no\-upgrade\fP Do not check for outdated dependencies\. Note they may still be upgraded by \fBbrew install\fP if needed\. Enabled by default if \fB$HOMEBREW_BUNDLE_NO_UPGRADE\fP is set\. .TP \fB\-\-install\fP Run \fBinstall\fP before checking dependencies\. .TP \fBbrew bundle add\fP \fIname\fP [\.\.\.] Add entries to your \fBBrewfile\fP\&\. Adds formulae by default\. Use \fB\-\-cask\fP, \fB\-\-tap\fP, \fB\-\-vscode\fP, \fB\-\-go\fP, \fB\-\-cargo\fP, \fB\-\-uv\fP, \fB\-\-flatpak\fP, \fB\-\-krew\fP and \fB\-\-npm\fP to add the corresponding entry instead\. .TP \fB\-\-install\fP Run \fBinstall\fP before adding entries\. .TP \fB\-\-formula\fP Add Homebrew formula entries\. .TP \fB\-\-cask\fP Add Homebrew cask entries\. .TP \fB\-\-tap\fP Add Homebrew tap entries\. .TP \fB\-\-vscode\fP Add entries for VSCode (and forks/variants) extensions\. .TP \fB\-\-go\fP Add entries for Go packages\. .TP \fB\-\-cargo\fP Add entries for Cargo packages\. .TP \fB\-\-uv\fP Add entries for uv tools\. .TP \fB\-\-flatpak\fP Add entries for Flatpak packages\. Note: Linux only\. .TP \fB\-\-krew\fP Add entries for Krew plugins\. .TP \fB\-\-npm\fP Add entries for npm packages\. .TP \fB\-\-no\-describe\fP Do not add description comments above each line\. Description comments are the default\. Enabled by default if \fB$HOMEBREW_BUNDLE_NO_DESCRIBE\fP is set\. .SS "\fBcasks\fP" List all locally installable casks including short names\. .SS "\fBcleanup\fP \fR[\fIoptions\fP] \fR[\fIformula\fP|\fIcask\fP \.\.\.]" Remove stale lock files and outdated downloads for all formulae and casks, and remove old versions of installed formulae\. If arguments are specified, only do this for the given formulae and casks\. Removes all downloads more than 120 days old\. This can be adjusted with \fB$HOMEBREW_CLEANUP_MAX_AGE_DAYS\fP\&\. .TP \fB\-\-prune\fP Remove all cache files older than specified \fIdays\fP\&\. If you want to remove everything, use \fB\-\-prune=all\fP\&\. .TP \fB\-n\fP, \fB\-\-dry\-run\fP Show what would be removed, but do not actually remove anything\. .TP \fB\-s\fP, \fB\-\-scrub\fP Scrub the cache, including downloads for even the latest versions\. Note that downloads for any installed formulae or casks will still not be deleted\. If you want to delete those too: \fBrm \-rf "$(brew \-\-cache)"\fP .TP \fB\-\-prune\-prefix\fP Only prune the symlinks and directories from the prefix and remove no other files\. .SS "\fBcommand\fP \fIcommand\fP \fR[\.\.\.]" Display the path to the file being used when invoking \fBbrew\fP \fIcmd\fP\&\. .SS "\fBcommand\-not\-found\-init\fP" Print instructions for setting up the command\-not\-found hook for your shell\. If the output is not to a tty, print the appropriate handler script for your shell\. .P For more information, see: https://docs\.brew\.sh/Command\-Not\-Found .SS "\fBcommands\fP \fR[\fB\-\-quiet\fP] \fR[\fB\-\-include\-aliases\fP]" Show lists of built\-in and external commands\. .TP \fB\-q\fP, \fB\-\-quiet\fP List only the names of commands without category headers\. .TP \fB\-\-include\-aliases\fP Include aliases of internal commands\. .SS "\fBcompletions\fP \fR[\fIsubcommand\fP]" Control whether Homebrew automatically links external tap shell completion files\. Read more at .UR https://docs\.brew\.sh/Shell\-Completion .UE \&\. .TP \fBbrew completions unlink\fP Unlink Homebrew\[u2019]s completions\. .TP \fBbrew completions\fP [\fBstate\fP] Display the current state of Homebrew\[u2019]s completions\. .TP \fBbrew completions link\fP Link Homebrew\[u2019]s completions\. .SS "\fBconfig\fP, \fB\-\-config\fP" Show Homebrew and system configuration info useful for debugging\. If you file a bug report, you will be required to provide this information\. .SS "\fBdeps\fP \fR[\fIoptions\fP] \fR[\fIformula\fP|\fIcask\fP \.\.\.]" Show dependencies for \fIformula\fP\&\. When given multiple formula arguments, show the intersection of dependencies for each formula\. By default, \fBdeps\fP shows all required and recommended dependencies\. .P If any version of each formula argument is installed and no other options are passed, this command displays their actual runtime dependencies (similar to \fBbrew linkage\fP), which may differ from a formula\[u2019]s declared dependencies\. .P \fINote:\fP \fB\-\-missing\fP and \fB\-\-skip\-recommended\fP have precedence over \fB\-\-include\-*\fP\&\. .TP \fB\-n\fP, \fB\-\-topological\fP Sort dependencies in topological order\. .TP \fB\-1\fP, \fB\-\-direct\fP Show only the direct dependencies declared in the formula\. .TP \fB\-\-union\fP Show the union of dependencies for multiple \fIformula\fP, instead of the intersection\. .TP \fB\-\-full\-name\fP List dependencies by their full name\. .TP \fB\-\-include\-implicit\fP Include implicit dependencies used to download and unpack source files\. .TP \fB\-\-include\-build\fP Include \fB:build\fP dependencies for \fIformula\fP\&\. .TP \fB\-\-include\-optional\fP Include \fB:optional\fP dependencies for \fIformula\fP\&\. .TP \fB\-\-include\-test\fP Include \fB:test\fP dependencies for \fIformula\fP (non\-recursive unless \fB\-\-graph\fP or \fB\-\-tree\fP)\. .TP \fB\-\-skip\-recommended\fP Skip \fB:recommended\fP dependencies for \fIformula\fP\&\. .TP \fB\-\-include\-requirements\fP Include requirements in addition to dependencies for \fIformula\fP\&\. .TP \fB\-\-tree\fP Show dependencies as a tree\. When given multiple formula arguments, show individual trees for each formula\. .TP \fB\-\-prune\fP Prune parts of tree already seen\. .TP \fB\-\-graph\fP Show dependencies as a directed graph\. .TP \fB\-\-dot\fP Show text\-based graph description in DOT format\. .TP \fB\-\-annotate\fP Mark any build, test, implicit, optional, or recommended dependencies as such in the output\. .TP \fB\-\-installed\fP List dependencies for formulae that are currently installed\. If \fIformula\fP is specified, list only its dependencies that are currently installed\. .TP \fB\-\-brewfile\fP Use formulae and casks listed in a Brewfile as inputs\. Defaults to \fB\&\./Brewfile\fP; use \fB\-\-brewfile=\fP\fIpath\fP to specify another\. .TP \fB\-\-missing\fP Show only missing dependencies\. .TP \fB\-\-for\-each\fP Switch into the mode used when evaluating all formulae and casks, but only list dependencies for each provided \fIformula\fP, one formula per line\. .TP \fB\-\-HEAD\fP Show dependencies for HEAD version instead of stable version\. .TP \fB\-\-os\fP Show dependencies for the given operating system\. .TP \fB\-\-arch\fP Show dependencies for the given CPU architecture\. .TP \fB\-\-formula\fP Treat all named arguments as formulae\. .TP \fB\-\-cask\fP Treat all named arguments as casks\. .SS "\fBdesc\fP \fR[\fIoptions\fP] \fIformula\fP|\fIcask\fP|\fItext\fP|\fB/\fP\fIregex\fP\fB/\fP \fR[\.\.\.]" Display \fIformula\fP\[u2019]s name and one\-line description\. The cache is created on the first search, making that search slower than subsequent ones\. .TP \fB\-s\fP, \fB\-\-search\fP Search both names and descriptions for \fItext\fP\&\. If \fItext\fP is flanked by slashes, it is interpreted as a regular expression\. .TP \fB\-n\fP, \fB\-\-name\fP Search just names for \fItext\fP\&\. If \fItext\fP is flanked by slashes, it is interpreted as a regular expression\. .TP \fB\-d\fP, \fB\-\-description\fP Search just descriptions for \fItext\fP\&\. If \fItext\fP is flanked by slashes, it is interpreted as a regular expression\. .TP \fB\-\-formula\fP Treat all named arguments as formulae\. .TP \fB\-\-cask\fP Treat all named arguments as casks\. .SS "\fBdeveloper\fP \fR[\fIsubcommand\fP]" Control Homebrew\[u2019]s developer mode\. When developer mode is enabled, \fBbrew update\fP will update Homebrew to the latest commit on the \fBmain\fP branch instead of the latest stable version along with some other behaviour changes\. .TP \fBbrew developer\fP [\fBstate\fP] Display the current state of Homebrew\[u2019]s developer mode\. .TP \fBbrew developer on\fP Turn Homebrew\[u2019]s developer mode on\. .TP \fBbrew developer off\fP Turn Homebrew\[u2019]s developer mode off\. .SS "\fBdocs\fP" Open Homebrew\[u2019]s online documentation at .UR https://docs\.brew\.sh .UE in a browser\. .SS "\fBdoctor\fP, \fBdr\fP \fR[\fB\-\-list\-checks\fP] \fR[\fB\-\-audit\-debug\fP] \fR[\fIdiagnostic_check\fP \.\.\.]" Check your system for potential problems\. Will exit with a non\-zero status if any potential problems are found\. .P Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue\. If everything you use Homebrew for is working fine: please don\[u2019]t worry or file an issue; just ignore this\. .TP \fB\-\-list\-checks\fP List all audit methods, which can be run individually if provided as arguments\. .TP \fB\-D\fP, \fB\-\-audit\-debug\fP Enable debugging and profiling of audit methods\. .SS "\fBexec\fP, \fBx\fP \fR[\fB\-\-formulae=\fP\fIformulae\fP] \fR[\fB\-\-sandbox=\fP\fIpath\fP] \fR[\fB\-\-deny\-network\fP] \fR[\fB\-\-\fP] \fIcommand\fP \fR[\fIargs\fP \.\.\.]" Run \fIcommand\fP in an environment populated by Homebrew formulae\. .P If \fB\-\-formulae\fP is passed, Homebrew installs those comma\-separated formulae if needed, prepends their executable directories and those of their dependencies to \fBPATH\fP and runs \fIcommand\fP\&\. This allows \fIcommand\fP to be a script path such as \fB\&\./script\.sh\fP\&\. .P If \fB\-\-formulae\fP is omitted, Homebrew finds a formula that provides \fIcommand\fP, installs it if needed and runs that executable\. .P Example: \fBbrew exec \-\-formulae=jq,yq \-\- \./script\.sh\fP .P Scripts can also use a shebang on systems with \fBenv \-S\fP: \fB#!/usr/bin/env \-S brew exec \-\-formulae=jq,yq \-\-\fP .TP \fB\-\-formulae\fP Comma\-separated formulae to install and add to \fBPATH\fP before running \fIcommand\fP\&\. .TP \fB\-\-sandbox\fP Run \fIcommand\fP in Homebrew\[u2019]s sandbox, allowing writes to \fIpath\fP and Homebrew\[u2019]s temporary and cache directories\. .TP \fB\-\-deny\-network\fP Deny network access from inside the sandbox\. .SS "\fBfetch\fP \fR[\fIoptions\fP] \fIformula\fP|\fIcask\fP \fR[\.\.\.]" Download a bottle (if available) or source packages for \fIformula\fPe and binaries for \fIcask\fPs\. For files, also print SHA\-256 checksums\. .TP \fB\-\-os\fP Download for the given operating system\. (Pass \fBall\fP to download for all operating systems\.) .TP \fB\-\-arch\fP Download for the given CPU architecture\. (Pass \fBall\fP to download for all architectures\.) .TP \fB\-\-all\-platforms\fP Download for every supported operating system and architecture, plus each language for \fIcask\fPs, fetching each distinct URL once\. .TP \fB\-\-bottle\-tag\fP Download a bottle for given tag\. .TP \fB\-\-HEAD\fP Fetch HEAD version instead of stable version\. .TP \fB\-f\fP, \fB\-\-force\fP Remove a previously cached version and re\-fetch\. .TP \fB\-v\fP, \fB\-\-verbose\fP Do a verbose VCS checkout, if the URL represents a VCS\. This is useful for seeing if an existing VCS cache has been updated\. .TP \fB\-\-retry\fP Retry if downloading fails or re\-download if the checksum of a previously cached version no longer matches\. Tries at most 5 times with exponential backoff\. .TP \fB\-\-deps\fP Also download dependencies for any listed \fIformula\fP\&\. .TP \fB\-s\fP, \fB\-\-build\-from\-source\fP Download source packages rather than a bottle\. .TP \fB\-\-build\-bottle\fP Download source packages (for eventual bottling) rather than a bottle\. .TP \fB\-\-force\-bottle\fP Download a bottle if it exists for the current or newest version of macOS, even if it would not be used during installation\. .TP \fB\-\-formula\fP Treat all named arguments as formulae\. .TP \fB\-\-cask\fP Treat all named arguments as casks\. .SS "\fBformulae\fP" List all locally installable formulae including short names\. .SS "\fBgist\-logs\fP \fR[\fB\-\-new\-issue\fP] \fR[\fB\-\-private\fP] \fIformula\fP" Upload logs for a failed build of \fIformula\fP to a new Gist\. Presents an error message if no logs are found\. .TP \fB\-n\fP, \fB\-\-new\-issue\fP Automatically create a new issue in the appropriate GitHub repository after creating the Gist\. .TP \fB\-p\fP, \fB\-\-private\fP The Gist will be marked private and will not appear in listings but will be accessible with its link\. .SS "\fBhelp\fP \fR[\fIcommand\fP \.\.\.]" Outputs the usage instructions for \fBbrew\fP \fIcommand\fP\&\. Equivalent to \fBbrew \-\-help\fP \fIcommand\fP\&\. .SS "\fBhome\fP, \fBhomepage\fP \fR[\fB\-\-formula\fP] \fR[\fB\-\-cask\fP] \fR[\fIformula\fP|\fIcask\fP \.\.\.]" Open a \fIformula\fP or \fIcask\fP\[u2019]s homepage in a browser, or open Homebrew\[u2019]s own homepage if no argument is provided\. .TP \fB\-\-formula\fP Treat all named arguments as formulae\. .TP \fB\-\-cask\fP Treat all named arguments as casks\. .SS "\fBinfo\fP, \fBabv\fP \fR[\fIoptions\fP] \fR[\fIformula\fP|\fIcask\fP \.\.\.]" Display brief statistics for your Homebrew installation\. If a \fIformula\fP or \fIcask\fP is provided, show summary of information about it\. .TP \fB\-\-analytics\fP List global Homebrew analytics data or, if specified, installation and build error data for \fIformula\fP (provided neither \fB$HOMEBREW_NO_ANALYTICS\fP nor \fB$HOMEBREW_NO_GITHUB_API\fP are set)\. .TP \fB\-\-days\fP How many days of analytics data to retrieve\. The value for \fIdays\fP must be \fB30\fP, \fB90\fP or \fB365\fP\&\. The default is \fB30\fP\&\. .TP \fB\-\-category\fP Which type of analytics data to retrieve\. The value for \fIcategory\fP must be \fBinstall\fP, \fBinstall\-on\-request\fP or \fBbuild\-error\fP; \fBcask\-install\fP or \fBos\-version\fP may be specified if \fIformula\fP is not\. The default is \fBinstall\fP\&\. .TP \fB\-\-github\fP Open the GitHub source page for \fIformula\fP and \fIcask\fP in a browser\. To view the history locally: \fBbrew log \-p\fP \fIformula\fP or \fIcask\fP .TP \fB\-\-json\fP Print a JSON representation\. Currently the default value for \fIversion\fP is \fBv1\fP\&\.\fBv1\fP is valid for \fIformula\fP only\. \fBv2\fP is valid for both \fIformula\fP and \fIcask\fP\&\.See the docs for examples of using the JSON output: .UR https://docs\.brew\.sh/Querying\-Brew .UE .TP \fB\-\-installed\fP Output a human\-readable inventory of installed formulae and casks\. If \fB\-\-json\fP is passed, print JSON for installed formulae and, with \fB\-\-json=v2\fP, installed casks\. .TP \fB\-\-variations\fP Include the variations hash in each formula\[u2019]s JSON output\. .TP \fB\-v\fP, \fB\-\-verbose\fP Show more verbose data for \fIformula\fP, or full information with \fB\-\-installed\fP\&\. .TP \fB\-\-formula\fP Treat all named arguments as formulae\. .TP \fB\-\-cask\fP Treat all named arguments as casks\. .TP \fB\-\-sizes\fP Show the size of installed formulae and casks\. .SS "\fBinstall\fP \fR[\fIoptions\fP] \fIformula\fP|\fIcask\fP \fR[\.\.\.]" Install a \fIformula\fP or \fIcask\fP\&\. Additional options specific to a \fIformula\fP may be appended to the command\. .P Unless \fB$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK\fP is set, \fBbrew upgrade\fP or \fBbrew reinstall\fP will be run for outdated dependents and dependents with broken linkage, respectively\. .P Unless \fB$HOMEBREW_NO_INSTALL_CLEANUP\fP is set, \fBbrew cleanup\fP will then be run for the installed formulae or, every 30 days, for all formulae\. .P Unless \fB$HOMEBREW_NO_INSTALL_UPGRADE\fP is set, \fBbrew install\fP \fIformula\fP will upgrade \fIformula\fP if it is already installed but outdated\. .TP \fB\-d\fP, \fB\-\-debug\fP If brewing fails, open an interactive debugging session with access to IRB or a shell inside the temporary build directory\. .TP \fB\-\-display\-times\fP Print install times for each package at the end of the run\. Enabled by default if \fB$HOMEBREW_DISPLAY_INSTALL_TIMES\fP is set\. .TP \fB\-f\fP, \fB\-\-force\fP Install formulae without checking for previously installed keg\-only or non\-migrated versions\. When installing casks, overwrite existing files (binaries and symlinks are excluded, unless originally from the same cask)\. .TP \fB\-v\fP, \fB\-\-verbose\fP Print the verification and post\-install steps\. .TP \fB\-n\fP, \fB\-\-dry\-run\fP Show what would be installed, but do not actually install anything\. .TP \fB\-y\fP, \fB\-\-no\-ask\fP Do not ask for confirmation before downloading and installing\. Ask mode is the default\. Enabled by default if \fB$HOMEBREW_NO_ASK\fP is set\. .TP \fB\-\-formula\fP Treat all named arguments as formulae\. .TP \fB\-\-ignore\-dependencies\fP An unsupported Homebrew development option to skip installing any dependencies of any kind\. If the dependencies are not already present, the formula will have issues\. If you\[u2019]re not developing Homebrew, consider adjusting your PATH rather than using this option\. .TP \fB\-\-only\-dependencies\fP Install the dependencies with specified options but do not install the formula itself\. .TP \fB\-\-cc\fP Attempt to compile using the specified \fIcompiler\fP, which should be the name of the compiler\[u2019]s executable, e\.g\. \fBgcc\-9\fP for GCC 9\. In order to use LLVM\[u2019]s clang, specify \fBllvm_clang\fP\&\. To use the Apple\-provided clang, specify \fBclang\fP\&\. This option will only accept compilers that are provided by Homebrew or bundled with macOS\. Please do not file issues if you encounter errors while using this option\. .TP \fB\-s\fP, \fB\-\-build\-from\-source\fP Compile \fIformula\fP from source even if a bottle is provided\. Dependencies will still be installed from bottles if they are available\. .TP \fB\-\-force\-bottle\fP Install from a bottle if it exists for the current or newest version of macOS, even if it would not normally be used for installation\. .TP \fB\-\-include\-test\fP Install testing dependencies required to run \fBbrew test\fP \fIformula\fP\&\. .TP \fB\-\-HEAD\fP If \fIformula\fP defines it, install the HEAD version, aka\. main, trunk, unstable, master\. .TP \fB\-\-fetch\-HEAD\fP Fetch the upstream repository to detect if the HEAD installation of the formula is outdated\. Otherwise, the repository\[u2019]s HEAD will only be checked for updates when a new stable or development version has been released\. .TP \fB\-\-keep\-tmp\fP Retain the temporary files created during installation\. .TP \fB\-\-debug\-symbols\fP Generate debug symbols on build\. Source will be retained in a cache directory\. .TP \fB\-\-build\-bottle\fP Prepare the formula for eventual bottling during installation, skipping any post\-install steps\. .TP \fB\-\-skip\-post\-install\fP Install but skip any post\-install steps\. .TP \fB\-\-skip\-link\fP Install but skip linking the keg into the prefix\. .TP \fB\-\-as\-dependency\fP Install but mark as installed as a dependency and not installed on request\. .TP \fB\-\-bottle\-arch\fP Optimise bottles for the specified architecture rather than the oldest architecture supported by the version of macOS the bottles are built on\. .TP \fB\-i\fP, \fB\-\-interactive\fP Download and patch \fIformula\fP, then open a shell\. This allows the user to run \fB\&\./configure \-\-help\fP and otherwise determine how to turn the software package into a Homebrew package\. .TP \fB\-g\fP, \fB\-\-git\fP Create a Git repository, useful for creating patches to the software\. .TP \fB\-\-overwrite\fP Delete files that already exist in the prefix while linking\. .TP \fB\-\-cask\fP Treat all named arguments as casks\. .TP \fB\-\-[no\-]binaries\fP Disable/enable linking of helper executables (default: enabled)\. .TP \fB\-\-require\-sha\fP Require all casks to have a checksum\. .TP \fB\-\-adopt\fP Adopt existing artifacts in the destination that are identical to those being installed\. Cannot be combined with \fB\-\-force\fP\&\. .TP \fB\-\-skip\-cask\-deps\fP Skip installing cask dependencies\. .TP \fB\-\-zap\fP For use with \fBbrew reinstall \-\-cask\fP\&\. Remove all files associated with a cask\. \fIMay remove files which are shared between applications\.\fP .SS "\fBleaves\fP \fR[\fB\-\-installed\-on\-request\fP] \fR[\fB\-\-installed\-as\-dependency\fP]" List installed formulae that are not dependencies of another installed formula or cask\. .TP \fB\-r\fP, \fB\-\-installed\-on\-request\fP Only list leaves that were manually installed\. .TP \fB\-p\fP, \fB\-\-installed\-as\-dependency\fP Only list leaves that were installed as dependencies\. .SS "\fBlink\fP, \fBln\fP \fR[\fIoptions\fP] \fIinstalled_formula\fP \fR[\.\.\.]" Symlink all of \fIformula\fP\[u2019]s installed files into Homebrew\[u2019]s prefix\. This is done automatically when you install formulae but can be useful for manual installations\. .TP \fB\-\-overwrite\fP Delete files that already exist in the prefix while linking\. .TP \fB\-n\fP, \fB\-\-dry\-run\fP List files which would be linked or deleted by \fBbrew link \-\-overwrite\fP without actually linking or deleting any files\. .TP \fB\-f\fP, \fB\-\-force\fP Allow keg\-only formulae to be linked\. .TP \fB\-\-HEAD\fP Link the HEAD version of the formula if it is installed\. .SS "\fBlist\fP, \fBls\fP \fR[\fIoptions\fP] \fR[\fIinstalled_formula\fP|\fIinstalled_cask\fP \.\.\.]" List all installed formulae and casks\. If \fIformula\fP is provided, summarise the paths within its current keg\. If \fIcask\fP is provided, list its artifacts\. .TP \fB\-\-formula\fP List only formulae, or treat all named arguments as formulae\. .TP \fB\-\-cask\fP List only casks, or treat all named arguments as casks\. .TP \fB\-\-full\-name\fP Print formulae with fully\-qualified names\. Unless \fB\-\-full\-name\fP, \fB\-\-versions\fP or \fB\-\-pinned\fP are passed, other options (i\.e\. \fB\-1\fP, \fB\-l\fP, \fB\-r\fP and \fB\-t\fP) are passed to \fBls\fP(1) which produces the actual output\. .TP \fB\-\-versions\fP Show the version number for installed formulae, or only the specified formulae if \fIformula\fP are provided\. .TP \fB\-\-json\fP Output installed formulae and casks with versions, linked and opt\-linked formula versions and pinned versions as JSON using the fast Bash command path\. Requires \fB\-\-versions\fP, no named arguments and \fBjq\fP\&\. .TP \fB\-\-multiple\fP Only show formulae with multiple versions installed\. Implies \fB\-\-versions\fP\&\. .TP \fB\-\-pinned\fP List only pinned packages, or only the specified (pinned) packages if \fIformula\fP or \fIcask\fP are provided\. See also \fBpin\fP, \fBunpin\fP\&\. .TP \fB\-\-installed\-on\-request\fP List the formulae installed on request\. .TP \fB\-\-no\-installed\-on\-request\fP List the formulae not installed on request (i\.e\. installed as dependencies)\. .TP \fB\-\-poured\-from\-bottle\fP List the formulae installed from a bottle\. .TP \fB\-\-built\-from\-source\fP List the formulae compiled from source\. .TP \fB\-1\fP Force output to be one entry per line\. This is the default when output is not to a terminal\. .TP \fB\-l\fP List formulae and/or casks in long format\. Has no effect when a formula or cask name is passed as an argument\. .TP \fB\-r\fP Reverse the order of formula and/or cask sorting to list the oldest entries first\. Has no effect when a formula or cask name is passed as an argument\. .TP \fB\-t\fP Sort formulae and/or casks by time modified, listing most recently modified first\. Has no effect when a formula or cask name is passed as an argument\. .SS "\fBlog\fP \fR[\fIoptions\fP] \fR[\fIformula\fP|\fIcask\fP]" Show the \fBgit log\fP for \fIformula\fP or \fIcask\fP, or show the log for the Homebrew repository if no formula or cask is provided\. .TP \fB\-p\fP, \fB\-\-patch\fP Also print patch from commit\. .TP \fB\-\-stat\fP Also print diffstat from commit\. .TP \fB\-\-oneline\fP Print only one line per commit\. .TP \fB\-1\fP Print only one commit\. .TP \fB\-n\fP, \fB\-\-max\-count\fP Print only a specified number of commits\. .TP \fB\-\-formula\fP Treat all named arguments as formulae\. .TP \fB\-\-cask\fP Treat all named arguments as casks\. .SS "\fBmcp\-server\fP \fR[\fB\-\-debug\fP]" Starts the Homebrew MCP (Model Context Protocol) server\. .TP \fB\-d\fP, \fB\-\-debug\fP Enable debug logging to stderr\. .SS "\fBmigrate\fP \fR[\fIoptions\fP] \fIinstalled_formula\fP|\fIinstalled_cask\fP \fR[\.\.\.]" Migrate renamed packages to new names, where \fIformula\fP are old names of packages\. .TP \fB\-f\fP, \fB\-\-force\fP Treat installed \fIformula\fP and provided \fIformula\fP as if they are from the same taps and migrate them anyway\. .TP \fB\-n\fP, \fB\-\-dry\-run\fP Show what would be migrated, but do not actually migrate anything\. .TP \fB\-\-formula\fP Only migrate formulae\. .TP \fB\-\-cask\fP Only migrate casks\. .SS "\fBmissing\fP \fR[\fB\-\-hide=\fP] \fR[\fIformula\fP|\fIcask\fP \.\.\.]" Check the given \fIformula\fP kegs and \fIcask\fP installations for missing dependencies\. If no \fIformula\fP or \fIcask\fP are provided, check all kegs and casks\. Will exit with a non\-zero status if any kegs or casks are found to be missing dependencies\. .TP \fB\-\-hide\fP Act as if none of the specified \fIhidden\fP are installed\. \fIhidden\fP should be a comma\-separated list of formulae or casks\. .SS "\fBnodenv\-sync\fP" Create symlinks for Homebrew\[u2019]s installed NodeJS versions in \fB~/\.nodenv/versions\fP\&\. .P Note that older version symlinks will also be created so e\.g\. NodeJS 19\.1\.0 will also be symlinked to 19\.0\.0\. .SS "\fBoptions\fP \fR[\fB\-\-compact\fP] \fR[\fB\-\-installed\fP] \fR[\fIformula\fP \.\.\.]" Show install options specific to \fIformula\fP\&\. .TP \fB\-\-compact\fP Show all options on a single line separated by spaces\. .TP \fB\-\-installed\fP Show options for formulae that are currently installed\. .SS "\fBoutdated\fP \fR[\fIoptions\fP] \fR[\fIformula\fP|\fIcask\fP \.\.\.]" List installed casks and formulae that have an updated version available\. By default, version information is displayed in interactive shells and suppressed otherwise\. .TP \fB\-q\fP, \fB\-\-quiet\fP List only the names of outdated kegs (takes precedence over \fB\-\-verbose\fP)\. .TP \fB\-v\fP, \fB\-\-verbose\fP Include detailed version information\. .TP \fB\-\-formula\fP List only outdated formulae\. .TP \fB\-\-cask\fP List only outdated casks\. .TP \fB\-\-json\fP Print output in JSON format\. There are two versions: \fBv1\fP and \fBv2\fP\&\. \fBv1\fP is deprecated and is currently the default if no version is specified\. \fBv2\fP prints outdated formulae and casks\. .TP \fB\-\-minimum\-version\fP Only list a named formula or cask with an installed version below the given minimum version\. .TP \fB\-\-fetch\-HEAD\fP Fetch the upstream repository to detect if the HEAD installation of the formula is outdated\. Otherwise, the repository\[u2019]s HEAD will only be checked for updates when a new stable or development version has been released\. .TP \fB\-g\fP, \fB\-\-greedy\fP Also include outdated casks with \fBversion :latest\fP and \fBauto_updates true\fP casks that would otherwise be skipped\. Enabled by default if \fB$HOMEBREW_UPGRADE_GREEDY\fP is set\. .TP \fB\-\-greedy\-latest\fP Also include outdated casks including those with \fBversion :latest\fP\&\. .TP \fB\-\-greedy\-auto\-updates\fP Also include outdated \fBauto_updates true\fP casks that would otherwise be skipped\. .SS "\fBpin\fP \fR[\fB\-\-formula\fP] \fR[\fB\-\-cask\fP] \fIinstalled_formula\fP|\fIinstalled_cask\fP \fR[\.\.\.]" Pin the specified package, preventing it from being upgraded when issuing the \fBbrew upgrade\fP \fIformula\fP or \fIcask\fP command\. See also \fBunpin\fP\&\. .P \fINote:\fP Other packages which depend on newer versions of a pinned formula might not install or run correctly\. Pinned casks with \fBauto_updates true\fP may update themselves outside Homebrew\. .TP \fB\-\-formula\fP Treat all named arguments as formulae\. .TP \fB\-\-cask\fP Treat all named arguments as casks\. .SS "\fBpostinstall\fP, \fBpost_install\fP \fIinstalled_formula\fP \fR[\.\.\.]" Rerun the post\-install steps for \fIformula\fP\&\. .SS "\fBpyenv\-sync\fP" Create symlinks for Homebrew\[u2019]s installed Python versions in \fB~/\.pyenv/versions\fP\&\. .P Note that older patch version symlinks will be created and linked to the minor version so e\.g\. Python 3\.11\.0 will also be symlinked to 3\.11\.3\. .SS "\fBrbenv\-sync\fP" Create symlinks for Homebrew\[u2019]s installed Ruby versions in \fB~/\.rbenv/versions\fP\&\. .P Note that older version symlinks will also be created so e\.g\. Ruby 3\.2\.1 will also be symlinked to 3\.2\.0\. .SS "\fBreadall\fP \fR[\fIoptions\fP] \fR[\fItap\fP \.\.\.]" Import all items from the specified \fItap\fP, or from all installed taps if none is provided\. This can be useful for debugging issues across all items when making significant changes to \fBformula\.rb\fP, testing the performance of loading all items or checking if any current formulae/casks have Ruby issues\. .TP \fB\-\-os\fP Read using the given operating system\. (Pass \fBall\fP to simulate all operating systems\.) .TP \fB\-\-arch\fP Read using the given CPU architecture\. (Pass \fBall\fP to simulate all architectures\.) .TP \fB\-\-aliases\fP Verify any alias symlinks in each tap\. .TP \fB\-\-syntax\fP Syntax\-check all of Homebrew\[u2019]s Ruby files (if no \fItap\fP is passed)\. .TP \fB\-\-no\-simulate\fP Don\[u2019]t simulate other system configurations when checking formulae and casks\. .SS "\fBreinstall\fP \fR[\fIoptions\fP] \fIformula\fP|\fIcask\fP \fR[\.\.\.]" Uninstall and then reinstall a \fIformula\fP or \fIcask\fP using the same options it was originally installed with, plus any appended options specific to a \fIformula\fP\&\. .P Unless \fB$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK\fP is set, \fBbrew upgrade\fP or \fBbrew reinstall\fP will be run for outdated dependents and dependents with broken linkage, respectively\. .P Unless \fB$HOMEBREW_NO_INSTALL_CLEANUP\fP is set, \fBbrew cleanup\fP will then be run for the reinstalled formulae or, every 30 days, for all formulae\. .TP \fB\-d\fP, \fB\-\-debug\fP If brewing fails, open an interactive debugging session with access to IRB or a shell inside the temporary build directory\. .TP \fB\-\-display\-times\fP Print install times for each package at the end of the run\. Enabled by default if \fB$HOMEBREW_DISPLAY_INSTALL_TIMES\fP is set\. .TP \fB\-f\fP, \fB\-\-force\fP Install without checking for previously installed keg\-only or non\-migrated versions\. .TP \fB\-v\fP, \fB\-\-verbose\fP Print the verification and post\-install steps\. .TP \fB\-y\fP, \fB\-\-no\-ask\fP Do not ask for confirmation before downloading and reinstalling\. Ask mode is the default\. Enabled by default if \fB$HOMEBREW_NO_ASK\fP is set\. .TP \fB\-\-formula\fP Treat all named arguments as formulae\. .TP \fB\-s\fP, \fB\-\-build\-from\-source\fP Compile \fIformula\fP from source even if a bottle is available\. .TP \fB\-i\fP, \fB\-\-interactive\fP Download and patch \fIformula\fP, then open a shell\. This allows the user to run \fB\&\./configure \-\-help\fP and otherwise determine how to turn the software package into a Homebrew package\. .TP \fB\-\-force\-bottle\fP Install from a bottle if it exists for the current or newest version of macOS, even if it would not normally be used for installation\. .TP \fB\-\-keep\-tmp\fP Retain the temporary files created during installation\. .TP \fB\-\-debug\-symbols\fP Generate debug symbols on build\. Source will be retained in a cache directory\. .TP \fB\-g\fP, \fB\-\-git\fP Create a Git repository, useful for creating patches to the software\. .TP \fB\-\-cask\fP Treat all named arguments as casks\. .TP \fB\-\-[no\-]binaries\fP Disable/enable linking of helper executables (default: enabled)\. .TP \fB\-\-require\-sha\fP Require all casks to have a checksum\. .TP \fB\-\-adopt\fP Adopt existing artifacts in the destination that are identical to those being installed\. Cannot be combined with \fB\-\-force\fP\&\. .TP \fB\-\-skip\-cask\-deps\fP Skip installing cask dependencies\. .TP \fB\-\-zap\fP For use with \fBbrew reinstall \-\-cask\fP\&\. Remove all files associated with a cask\. \fIMay remove files which are shared between applications\.\fP .SS "\fBsandbox\-exec\fP \fR[\fB\-\-deny\-network\fP] \fIwritable\-path\fP \fR[\fB\-\-\fP] \fIcommand\fP \fR[\fIargs\fP \.\.\.]" Run \fIcommand\fP in Homebrew\[u2019]s sandbox, allowing writes to \fIwritable\-path\fP and Homebrew\[u2019]s temporary and cache directories\. .P Example: \fBbrew sandbox\-exec \. \-\- make test\fP .TP \fB\-\-deny\-network\fP Deny network access from inside the sandbox\. .SS "\fBsearch\fP, \fB\-S\fP \fR[\fIoptions\fP] \fItext\fP|\fB/\fP\fIregex\fP\fB/\fP \fR[\.\.\.]" Perform a substring search of cask tokens and formula names for \fItext\fP\&\. If \fItext\fP is flanked by slashes, it is interpreted as a regular expression\. .TP \fB\-\-formula\fP Search for formulae\. .TP \fB\-\-cask\fP Search for casks\. .TP \fB\-\-desc\fP Search for formulae with a description matching \fItext\fP and casks with a name or description matching \fItext\fP\&\. .TP \fB\-\-pull\-request\fP Search for GitHub pull requests containing \fItext\fP\&\. .TP \fB\-\-open\fP Search for only open GitHub pull requests\. .TP \fB\-\-closed\fP Search for only closed GitHub pull requests\. .TP \fB\-\-alpine\fP Search for \fItext\fP in the given database\. .TP \fB\-\-repology\fP Search for \fItext\fP in the given database\. .TP \fB\-\-macports\fP Search for \fItext\fP in the given database\. .TP \fB\-\-fink\fP Search for \fItext\fP in the given database\. .TP \fB\-\-opensuse\fP Search for \fItext\fP in the given database\. .TP \fB\-\-fedora\fP Search for \fItext\fP in the given database\. .TP \fB\-\-archlinux\fP Search for \fItext\fP in the given database\. .TP \fB\-\-debian\fP Search for \fItext\fP in the given database\. .TP \fB\-\-ubuntu\fP Search for \fItext\fP in the given database\. .SS "\fBservices\fP \fR[\fIsubcommand\fP]" Manage background services with macOS\[u2019] \fBlaunchctl\fP(1) daemon manager or Linux\[u2019]s \fBsystemctl\fP(1) service manager\. .P If \fBsudo\fP is passed, operate on \fB/Library/LaunchDaemons\fP or \fB/usr/lib/systemd/system\fP (started at boot)\. Otherwise, operate on \fB~/Library/LaunchAgents\fP or \fB~/\.config/systemd/user\fP (started at login)\. .TP \fB\-\-sudo\-service\-user\fP When run as root on macOS, run the service(s) as this user\. .TP [\fBsudo\fP] \fBbrew services stop\fP [\fB\-\-keep\fP] [\fB\-\-no\-wait\fP|\fB\-\-max\-wait=\fP] (\fIformula\fP|\fB\-\-all\fP) Stop the service \fIformula\fP immediately and unregister it from launching at login (or boot), unless \fB\-\-keep\fP is specified\. .TP \fB\-\-max\-wait\fP Wait at most this many seconds for \fBstop\fP to finish stopping a service\. Defaults to 60\. Set this to zero (0) seconds to wait indefinitely\. .TP \fB\-\-no\-wait\fP Don\[u2019]t wait for \fBstop\fP to finish stopping the service\. .TP \fB\-\-keep\fP When stopped, don\[u2019]t unregister the service from launching at login (or boot)\. .TP \fB\-\-all\fP Stop all services and unregister them from launching at login (or boot), unless \fB\-\-keep\fP is specified\. .TP [\fBsudo\fP] \fBbrew services start\fP (\fIformula\fP|\fB\-\-all\fP) [\fB\-\-file=\fP] Start the service \fIformula\fP immediately and register it to launch at login (or boot)\. .TP \fB\-\-file\fP Use the service file from this location to \fBstart\fP the service\. .TP \fB\-\-all\fP Start all services and register them to launch at login (or boot)\. .TP [\fBsudo\fP] \fBbrew services run\fP (\fIformula\fP|\fB\-\-all\fP) [\fB\-\-file=\fP] Run the service \fIformula\fP without registering to launch at login (or boot)\. .TP \fB\-\-file\fP Use the service file from this location to \fBrun\fP the service\. .TP \fB\-\-all\fP Run all services without registering them to launch at login (or boot)\. .TP [\fBsudo\fP] \fBbrew services restart\fP (\fIformula\fP|\fB\-\-all\fP) [\fB\-\-file=\fP] Stop (if necessary) and start the service \fIformula\fP immediately and register it to launch at login (or boot)\. .TP \fB\-\-file\fP Use the service file from this location to \fBstart\fP the service\. .TP \fB\-\-all\fP Restart all services\. .TP [\fBsudo\fP] \fBbrew services\fP [\fBlist\fP] [\fB\-\-json\fP] [\fB\-\-debug\fP] List information about all managed services for the current user (or root)\. Provides more output from Homebrew and \fBlaunchctl\fP(1) or \fBsystemctl\fP(1) if run with \fB\-\-debug\fP\&\. .TP \fB\-\-json\fP Output as JSON\. .TP [\fBsudo\fP] \fBbrew services kill\fP (\fIformula\fP|\fB\-\-all\fP) Stop the service \fIformula\fP immediately but keep it registered to launch at login (or boot)\. .TP \fB\-\-all\fP Stop all services immediately but keep them registered to launch at login (or boot)\. .TP [\fBsudo\fP] \fBbrew services info\fP (\fIformula\fP|\fB\-\-all\fP) [\fB\-\-json\fP] List all managed services for the current user (or root)\. .TP \fB\-\-all\fP List all managed services\. .TP \fB\-\-json\fP Output as JSON\. .TP [\fBsudo\fP] \fBbrew services cleanup\fP Remove all unused services\. .SS "\fBsetup\-ruby\fP \fR[\fIcommand\fP \.\.\.]" Installs and configures Homebrew\[u2019]s Ruby\. If \fBcommand\fP is passed, it will only run Bundler if necessary for that command\. .SS "\fBsetup\-sandbox\fP" Run any necessary commands to setup the Homebrew sandbox\. Must be run with \fBsudo\fP\&\. Currently a no\-op on non\-Linux\. .SS "\fBshellenv\fP \fR[\fIshell\fP \.\.\.]" Valid shells: bash|csh|fish|pwsh|sh|tcsh|zsh .P Print export statements\. When run in a shell, this installation of Homebrew will be added to your \fB$PATH\fP, \fB$MANPATH\fP, and \fB$INFOPATH\fP\&\. .P The variables \fB$HOMEBREW_PREFIX\fP, \fB$HOMEBREW_CELLAR\fP and \fB$HOMEBREW_REPOSITORY\fP are also exported to avoid querying them multiple times\. To help guarantee idempotence, this command produces no output when Homebrew\[u2019]s \fBbin\fP and \fBsbin\fP directories are first and second respectively in your \fB$PATH\fP\&\. Consider adding evaluation of this command\[u2019]s output to your dotfiles (e\.g\. \fB~/\.bash_profile\fP or \fB~/\.zprofile\fP on macOS and \fB~/\.bashrc\fP or \fB~/\.zshrc\fP on Linux) with e\.g\.: \fBeval "$(brew shellenv zsh)"\fP or \fBeval "$(brew shellenv bash)"\fP .P The shell should be specified explicitly with a supported shell name parameter but will be detected automatically if not provided (but this may not be correct)\. Unknown shells will output POSIX exports\. .SS "\fBsource\fP \fR[\fIformula\fP \.\.\.]" Open a \fIformula\fP\[u2019]s source repository in a browser, or open Homebrew\[u2019]s own repository if no argument is provided\. .P The repository URL is determined from the formula\[u2019]s head URL, stable URL, or homepage\. Supports GitHub, GitLab, Bitbucket, Codeberg and SourceHut repositories\. .SS "\fBtab\fP \fR[\fIoptions\fP] \fIinstalled_formula\fP|\fIinstalled_cask\fP \fR[\.\.\.]" Edit tab information for installed formulae or casks\. .P This can be useful when you want to control whether an installed formula should be removed by \fBbrew autoremove\fP\&\. To prevent removal, mark the formula as installed on request; to allow removal, mark the formula as not installed on request\. .TP \fB\-\-installed\-on\-request\fP Mark \fIinstalled_formula\fP or \fIinstalled_cask\fP as installed on request\. .TP \fB\-\-no\-installed\-on\-request\fP Mark \fIinstalled_formula\fP or \fIinstalled_cask\fP as not installed on request\. .TP \fB\-\-formula\fP Only mark formulae\. .TP \fB\-\-cask\fP Only mark casks\. .SS "\fBtap\fP \fR[\fIoptions\fP] \fR[\fIuser\fP\fB/\fP\fIrepo\fP] \fR[\fIURL\fP]" Tap a formula repository\. If no arguments are provided, list all installed taps\. .P With \fIURL\fP unspecified, tap a formula repository from GitHub using HTTPS\. Since so many taps are hosted on GitHub, this command is a shortcut for \fBbrew tap\fP \fIuser\fP\fB/\fP\fIrepo\fP \fBhttps://github\.com/\fP\fIuser\fP\fB/homebrew\-\fP\fIrepo\fP\&\. .P With \fIURL\fP specified, tap a formula repository from anywhere, using any transport protocol that \fBgit\fP(1) handles\. The one\-argument form of \fBtap\fP simplifies but also limits\. This two\-argument command makes no assumptions, so taps can be cloned from places other than GitHub and using protocols other than HTTPS, e\.g\. SSH, git, HTTP, FTP(S), rsync\. .TP \fB\-\-custom\-remote\fP Install or change a tap with a custom remote\. Useful for mirrors\. .TP \fB\-\-repair\fP Add missing symlinks to tap manpages and shell completions\. Correct git remote refs for any taps where upstream HEAD branch has been renamed\. .TP \fB\-f\fP, \fB\-\-force\fP Force install core taps even under API mode\. .SS "\fBtap\-info\fP \fR[\fB\-\-installed\fP] \fR[\fB\-\-json\fP] \fR[\fItap\fP \.\.\.]" Show detailed information about one or more \fItap\fPs\. If no \fItap\fP names are provided, display brief statistics for all installed taps\. .TP \fB\-\-installed\fP Show information on each installed tap\. .TP \fB\-\-json\fP Print a JSON representation of \fItap\fP\&\. Currently the default and only accepted value for \fIversion\fP is \fBv1\fP\&\. See the docs for examples of using the JSON output: .UR https://docs\.brew\.sh/Querying\-Brew .UE .SS "\fBtrust\fP \fR[\fIoptions\fP] \fR[\fItarget\fP \.\.\.]" Trust non\-official tap formulae, casks or commands so Homebrew may load them\. Trusted entries are stored in \fB${XDG_CONFIG_HOME}/homebrew/trust\.json\fP if \fB$XDG_CONFIG_HOME\fP is set or \fB~/\.homebrew/trust\.json\fP otherwise\. .TP \fB\-\-tap\fP Trust the named tap\. .TP \fB\-\-formula\fP Trust the named formula\. .TP \fB\-\-cask\fP Trust the named cask\. .TP \fB\-\-command\fP Trust the named external command\. .TP \fB\-\-json\fP Print trusted entries as JSON\. A \fIversion\fP number is required\. The only accepted value for \fIversion\fP is \fBv1\fP\&\. .SS "\fBunalias\fP \fIalias\fP \fR[\.\.\.]" Remove aliases\. .SS "\fBuninstall\fP, \fBremove\fP, \fBrm\fP \fR[\fIoptions\fP] \fIinstalled_formula\fP|\fIinstalled_cask\fP \fR[\.\.\.]" Uninstall a \fIformula\fP or \fIcask\fP\&\. .TP \fB\-f\fP, \fB\-\-force\fP Delete all installed versions of \fIformula\fP\&\. Uninstall even if \fIcask\fP is not installed, overwrite existing files and ignore errors when removing files\. .TP \fB\-\-zap\fP Remove all files associated with a \fIcask\fP\&\. \fIMay remove files which are shared between applications\.\fP .TP \fB\-\-ignore\-dependencies\fP Don\[u2019]t fail uninstall, even if \fIformula\fP is a dependency of any installed formulae\. .TP \fB\-\-formula\fP Treat all named arguments as formulae\. .TP \fB\-\-cask\fP Treat all named arguments as casks\. .SS "\fBunlink\fP \fR[\fB\-\-dry\-run\fP] \fIinstalled_formula\fP \fR[\.\.\.]" Remove symlinks for \fIformula\fP from Homebrew\[u2019]s prefix\. This can be useful for temporarily disabling a formula: \fBbrew unlink\fP \fIformula\fP \fB&&\fP \fIcommands\fP \fB&& brew link\fP \fIformula\fP .TP \fB\-n\fP, \fB\-\-dry\-run\fP List files which would be unlinked without actually unlinking or deleting any files\. .SS "\fBunpin\fP \fR[\fB\-\-formula\fP] \fR[\fB\-\-cask\fP] \fIinstalled_formula\fP|\fIinstalled_cask\fP \fR[\.\.\.]" Unpin the specified package, allowing it to be upgraded by \fBbrew upgrade\fP \fIformula\fP or \fIcask\fP\&\. See also \fBpin\fP\&\. .TP \fB\-\-formula\fP Treat all named arguments as formulae\. .TP \fB\-\-cask\fP Treat all named arguments as casks\. .SS "\fBuntap\fP \fR[\fB\-\-force\fP] \fItap\fP \fR[\.\.\.]" Remove a tapped formula repository\. .TP \fB\-f\fP, \fB\-\-force\fP Uninstall all formulae and casks from this tap with \fB\-\-force\fP before untapping\. .SS "\fBuntrust\fP \fR[\fIoptions\fP] \fR[\fItarget\fP \.\.\.]" Stop trusting non\-official tap formulae, casks or commands\. Trusted entries are stored in \fB${XDG_CONFIG_HOME}/homebrew/trust\.json\fP if \fB$XDG_CONFIG_HOME\fP is set or \fB~/\.homebrew/trust\.json\fP otherwise\. .TP \fB\-\-tap\fP Untrust the named tap\. .TP \fB\-\-formula\fP Untrust the named formula\. .TP \fB\-\-cask\fP Untrust the named cask\. .TP \fB\-\-command\fP Untrust the named external command\. .SS "\fBupdate\fP, \fBup\fP \fR[\fIoptions\fP]" Fetch the newest version of Homebrew and all formulae from GitHub using \fBgit\fP(1) and perform any necessary migrations\. .TP \fB\-\-auto\-update\fP Run on auto\-updates (e\.g\. before \fBbrew install\fP)\. Skips some slower steps\. .TP \fB\-f\fP, \fB\-\-force\fP Always do a slower, full update check (even if unnecessary)\. .TP \fB\-v\fP, \fB\-\-verbose\fP Print the directories checked and \fBgit\fP operations performed\. .TP \fB\-d\fP, \fB\-\-debug\fP Display a trace of all shell commands as they are executed\. .SS "\fBupdate\-if\-needed\fP" Runs \fBbrew update \-\-auto\-update\fP only if needed\. This is a good replacement for \fBbrew update\fP in scripts where you want the no\-op case to be both possible and really fast\. .SS "\fBupdate\-reset\fP \fR[\fIrepository\fP \.\.\.]" Fetch and reset Homebrew and all tap repositories (or any specified \fIrepository\fP) using \fBgit\fP(1) to their latest \fBorigin/HEAD\fP\&\. .P \fINote:\fP this will destroy all your uncommitted or committed changes\. .SS "\fBupgrade\fP \fR[\fIoptions\fP] \fR[\fIinstalled_formula\fP|\fIinstalled_cask\fP \.\.\.]" Upgrade outdated, unpinned packages using the same options they were originally installed with, plus any appended brew formula options\. If \fIcask\fP or \fIformula\fP are specified, upgrade only the given \fIcask\fP or \fIformula\fP (unless they are pinned; see \fBpin\fP, \fBunpin\fP)\. .P Unless \fB$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK\fP is set, \fBbrew upgrade\fP or \fBbrew reinstall\fP will be run for outdated dependents and dependents with broken linkage, respectively\. .P Unless \fB$HOMEBREW_NO_INSTALL_CLEANUP\fP is set, \fBbrew cleanup\fP will then be run for the upgraded formulae or, every 30 days, for all formulae\. .TP \fB\-d\fP, \fB\-\-debug\fP If brewing fails, open an interactive debugging session with access to IRB or a shell inside the temporary build directory\. .TP \fB\-\-display\-times\fP Print install times for each package at the end of the run\. Enabled by default if \fB$HOMEBREW_DISPLAY_INSTALL_TIMES\fP is set\. .TP \fB\-f\fP, \fB\-\-force\fP Install formulae without checking for previously installed keg\-only or non\-migrated versions\. When installing casks, overwrite existing files (binaries and symlinks are excluded, unless originally from the same cask)\. .TP \fB\-v\fP, \fB\-\-verbose\fP Print the verification and post\-install steps\. .TP \fB\-n\fP, \fB\-\-dry\-run\fP Show what would be upgraded, but do not actually upgrade anything\. .TP \fB\-\-minimum\-version\fP Only upgrade a named formula or cask with an installed version below the given minimum version\. .TP \fB\-y\fP, \fB\-\-no\-ask\fP Do not ask for confirmation before downloading and upgrading\. Ask mode is the default\. Enabled by default if \fB$HOMEBREW_NO_ASK\fP is set\. .TP \fB\-\-formula\fP Treat all named arguments as formulae\. If no named arguments are specified, upgrade only outdated formulae\. .TP \fB\-s\fP, \fB\-\-build\-from\-source\fP Compile \fIformula\fP from source even if a bottle is available\. .TP \fB\-i\fP, \fB\-\-interactive\fP Download and patch \fIformula\fP, then open a shell\. This allows the user to run \fB\&\./configure \-\-help\fP and otherwise determine how to turn the software package into a Homebrew package\. .TP \fB\-\-force\-bottle\fP Install from a bottle if it exists for the current or newest version of macOS, even if it would not normally be used for installation\. .TP \fB\-\-fetch\-HEAD\fP Fetch the upstream repository to detect if the HEAD installation of the formula is outdated\. Otherwise, the repository\[u2019]s HEAD will only be checked for updates when a new stable or development version has been released\. .TP \fB\-\-keep\-tmp\fP Retain the temporary files created during installation\. .TP \fB\-\-debug\-symbols\fP Generate debug symbols on build\. Source will be retained in a cache directory\. .TP \fB\-\-overwrite\fP Delete files that already exist in the prefix while linking\. .TP \fB\-\-cask\fP Treat all named arguments as casks\. If no named arguments are specified, upgrade only outdated casks\. .TP \fB\-\-skip\-cask\-deps\fP Skip installing cask dependencies\. .TP \fB\-\-no\-quit\fP Prevent running cask applications from being quit during upgrade\. Enabled by default if \fB$HOMEBREW_NO_UPGRADE_QUIT_CASKS\fP is set\. .TP \fB\-g\fP, \fB\-\-greedy\fP Also include casks with \fBversion :latest\fP and \fBauto_updates true\fP casks that would otherwise be skipped\. Enabled by default if \fB$HOMEBREW_UPGRADE_GREEDY\fP is set\. .TP \fB\-\-greedy\-latest\fP Also include casks with \fBversion :latest\fP\&\. .TP \fB\-\-greedy\-auto\-updates\fP Also include \fBauto_updates true\fP casks that would otherwise be skipped\. .TP \fB\-\-[no\-]binaries\fP Disable/enable linking of helper executables (default: enabled)\. .TP \fB\-\-require\-sha\fP Require all casks to have a checksum\. .SS "\fBuses\fP \fR[\fIoptions\fP] \fIformula\fP \fR[\.\.\.]" Show formulae and casks that specify \fIformula\fP as a dependency; that is, show dependents of \fIformula\fP\&\. When given multiple formula arguments, show the intersection of formulae that use \fIformula\fP\&\. By default, \fBuses\fP shows all formulae and casks that specify \fIformula\fP as a required or recommended dependency for their stable builds\. .P \fINote:\fP \fB\-\-missing\fP and \fB\-\-skip\-recommended\fP have precedence over \fB\-\-include\-*\fP\&\. .TP \fB\-\-recursive\fP Resolve more than one level of dependencies\. .TP \fB\-\-installed\fP Only list formulae and casks that are currently installed\. .TP \fB\-\-missing\fP Only list formulae and casks that are not currently installed\. .TP \fB\-\-include\-implicit\fP Include formulae that have \fIformula\fP as an implicit dependency for downloading and unpacking source files\. .TP \fB\-\-include\-build\fP Include formulae that specify \fIformula\fP as a \fB:build\fP dependency\. .TP \fB\-\-include\-test\fP Include formulae that specify \fIformula\fP as a \fB:test\fP dependency\. .TP \fB\-\-include\-optional\fP Include formulae that specify \fIformula\fP as an \fB:optional\fP dependency\. .TP \fB\-\-skip\-recommended\fP Skip all formulae that specify \fIformula\fP as a \fB:recommended\fP dependency\. .TP \fB\-\-formula\fP Include only formulae\. .TP \fB\-\-cask\fP Include only casks\. .SS "\fBversion\-install\fP \fIformula\fP[@\fIversion\fP] \fR[\fIversion\fP]" Extract a specific \fIversion\fP of \fIformula\fP into a personal tap and install it\. The default tap is \fIuser\fP/versions\. \fIuser\fP uses the GitHub username if available and the local username otherwise\. .SS "\fBvulns\fP \fR[\fIoptions\fP] \fR[\fIformula\fP \.\.\.]" Check \fIformula\fP for known security vulnerabilities using the OSV\.dev database\. .P With no arguments, all installed formulae are checked\. .TP \fB\-d\fP, \fB\-\-deps\fP Also check the dependencies of named formulae\. .TP \fB\-\-no\-ignore\-patches\fP Report vulnerabilities even when a formula patch resolves them\. .TP \fB\-\-brewfile\fP Check formulae listed in a Brewfile\. Defaults to \fB\&\./Brewfile\fP; use \fB\-\-brewfile=\fP\fIpath\fP to specify another\. .TP \fB\-s\fP, \fB\-\-severity\fP Only report findings at or above: \fBlow\fP, \fBmedium\fP, \fBhigh\fP, \fBcritical\fP\&\. .TP \fB\-m\fP, \fB\-\-max\-summary\fP Truncate summaries to \fIn\fP characters (default 60, 0 for no limit)\. .TP \fB\-j\fP, \fB\-\-json\fP Output JSON\. .SS "\fBwhich\-formula\fP \fR[\fB\-\-explain\fP] \fIcommand\fP \fR[\.\.\.]" Show which formula(e) provides the given command\. .TP \fB\-\-explain\fP Output explanation of how to get \fIcommand\fP by installing one of the providing formulae\. .SS "\fB\-\-cache\fP \fR[\fIoptions\fP] \fR[\fIformula\fP|\fIcask\fP \.\.\.]" Display Homebrew\[u2019]s download cache\. See also \fB$HOMEBREW_CACHE\fP\&\. .P If a \fIformula\fP or \fIcask\fP is provided, display the file or directory used to cache it\. .TP \fB\-\-os\fP Show cache file for the given operating system\. (Pass \fBall\fP to show cache files for all operating systems\.) .TP \fB\-\-arch\fP Show cache file for the given CPU architecture\. (Pass \fBall\fP to show cache files for all architectures\.) .TP \fB\-s\fP, \fB\-\-build\-from\-source\fP Show the cache file used when building from source\. .TP \fB\-\-force\-bottle\fP Show the cache file used when pouring a bottle\. .TP \fB\-\-bottle\-tag\fP Show the cache file used when pouring a bottle for the given tag\. .TP \fB\-\-HEAD\fP Show the cache file used when building from HEAD\. .TP \fB\-\-formula\fP Only show cache files for formulae\. .TP \fB\-\-cask\fP Only show cache files for casks\. .SS "\fB\-\-caskroom\fP \fR[\fIcask\fP \.\.\.]" Display Homebrew\[u2019]s Caskroom path\. .P If \fIcask\fP is provided, display the location in the Caskroom where \fIcask\fP would be installed, without any sort of versioned directory as the last path\. .SS "\fB\-\-cellar\fP \fR[\fIformula\fP \.\.\.]" Display Homebrew\[u2019]s Cellar path\. \fIDefault:\fP \fB$(brew \-\-prefix)/Cellar\fP, or if that directory doesn\[u2019]t exist, \fB$(brew \-\-repository)/Cellar\fP\&\. .P If \fIformula\fP is provided, display the location in the Cellar where \fIformula\fP would be installed, without any sort of versioned directory as the last path\. .SS "\fB\-\-env\fP, \fBenvironment\fP \fR[\fB\-\-shell=\fP] \fR[\fB\-\-plain\fP] \fR[\fIformula\fP \.\.\.]" Summarise Homebrew\[u2019]s build environment as a plain list\. .P If the command\[u2019]s output is sent through a pipe and no shell is specified, the list is formatted for export to \fBbash\fP(1) unless \fB\-\-plain\fP is passed\. .TP \fB\-\-shell\fP Generate a list of environment variables for the specified shell, or \fB\-\-shell=auto\fP to detect the current shell\. .TP \fB\-\-plain\fP Generate plain output even when piped\. .SS "\fB\-\-prefix\fP \fR[\fB\-\-unbrewed\fP] \fR[\fB\-\-installed\fP] \fR[\fIformula\fP \.\.\.]" Display Homebrew\[u2019]s install path\. \fIDefault:\fP .IP \(bu 4 macOS ARM: \fB/opt/homebrew\fP .IP \(bu 4 macOS Intel: \fB/usr/local\fP .IP \(bu 4 Linux: \fB/home/linuxbrew/\.linuxbrew\fP .P If \fIformula\fP is provided, display the location where \fIformula\fP is or would be installed\. .TP \fB\-\-unbrewed\fP List files in Homebrew\[u2019]s prefix not installed by Homebrew\. .TP \fB\-\-installed\fP Outputs nothing and returns a failing status code if \fIformula\fP is not installed\. .SS "\fB\-\-repository\fP, \fB\-\-repo\fP \fR[\fItap\fP \.\.\.]" Display where Homebrew\[u2019]s Git repository is located\. .P If \fIuser\fP\fB/\fP\fIrepo\fP are provided, display where tap \fIuser\fP\fB/\fP\fIrepo\fP\[u2019]s directory is located\. .SS "\fB\-\-taps\fP" Display the path to Homebrew’s Taps directory\. .SS "\fB\-\-version\fP, \fB\-v\fP" Print the version numbers of Homebrew, Homebrew/homebrew\-core and Homebrew/homebrew\-cask (if tapped) to standard output\. .SH "DEVELOPER COMMANDS" .SS "\fBaudit\fP \fR[\fIoptions\fP] \fR[\fIformula\fP|\fIcask\fP \.\.\.]" Check \fIformula\fP or \fIcask\fP for Homebrew coding style violations\. This should be run before submitting a new formula or cask\. If no \fIformula\fP or \fIcask\fP are provided, check all locally available formulae and casks and skip style checks\. Will exit with a non\-zero status if any errors are found\. .TP \fB\-\-os\fP Audit the given operating system\. (Pass \fBall\fP to audit all operating systems\.) .TP \fB\-\-arch\fP Audit the given CPU architecture\. (Pass \fBall\fP to audit all architectures\.) .TP \fB\-\-strict\fP Run additional, stricter style checks\. .TP \fB\-\-git\fP Run additional, slower style checks that navigate the Git repository\. .TP \fB\-\-online\fP Run additional, slower style checks that require a network connection\. .TP \fB\-\-installed\fP Only check formulae and casks that are currently installed\. .TP \fB\-\-new\fP Run various additional style checks to determine if a new formula or cask is eligible for Homebrew\. This should be used when creating new formulae or casks and implies \fB\-\-strict\fP and \fB\-\-online\fP\&\. .TP \fB\-\-changed\fP Check files that were changed from the \fBmain\fP branch\. .TP \fB\-\-tap\fP Check formulae and casks within the given tap, specified as \fIuser\fP\fB/\fP\fIrepo\fP\&\. .TP \fB\-\-fix\fP Fix style violations automatically using RuboCop\[u2019]s auto\-correct feature\. .TP \fB\-\-display\-filename\fP Prefix every line of output with the file or formula name being audited, to make output easy to grep\. .TP \fB\-\-skip\-style\fP Skip running non\-RuboCop style checks\. Useful if you plan on running \fBbrew style\fP separately\. Enabled by default unless a formula is specified by name\. .TP \fB\-D\fP, \fB\-\-audit\-debug\fP Enable debugging and profiling of audit methods\. .TP \fB\-\-only\fP Specify a comma\-separated \fImethod\fP list to only run the methods named \fBaudit_\fP\fImethod\fP\&\. .TP \fB\-\-except\fP Specify a comma\-separated \fImethod\fP list to skip running the methods named \fBaudit_\fP\fImethod\fP\&\. .TP \fB\-\-only\-cops\fP Specify a comma\-separated \fIcops\fP list to check for violations of only the listed RuboCop cops\. .TP \fB\-\-except\-cops\fP Specify a comma\-separated \fIcops\fP list to skip checking for violations of the listed RuboCop cops\. .TP \fB\-\-formula\fP Treat all named arguments as formulae\. .TP \fB\-\-cask\fP Treat all named arguments as casks\. .SS "\fBbottle\fP \fR[\fIoptions\fP] \fIinstalled_formula\fP|\fIfile\fP \fR[\.\.\.]" Generate a bottle (binary package) from a formula that was installed with \fB\-\-build\-bottle\fP\&\. If the formula specifies a rebuild version, it will be incremented in the generated DSL\. Passing \fB\-\-keep\-old\fP will attempt to keep it at its original value, while \fB\-\-no\-rebuild\fP will remove it\. .TP \fB\-\-skip\-relocation\fP Do not check if the bottle can be marked as relocatable\. .TP \fB\-\-force\-core\-tap\fP Build a bottle even if \fIformula\fP is not in \fBhomebrew/core\fP or any installed taps\. .TP \fB\-\-no\-rebuild\fP If the formula specifies a rebuild version, remove it from the generated DSL\. .TP \fB\-\-keep\-old\fP If the formula specifies a rebuild version, attempt to preserve its value in the generated DSL\. .TP \fB\-\-json\fP Write bottle information to a JSON file, which can be used as the value for \fB\-\-merge\fP\&\. .TP \fB\-\-merge\fP Generate an updated bottle block for a formula and optionally merge it into the formula file\. Instead of a formula name, requires the path to a JSON file generated with \fBbrew bottle \-\-json\fP \fIformula\fP\&\. .TP \fB\-\-write\fP Write changes to the formula file\. A new commit will be generated unless \fB\-\-no\-commit\fP is passed\. .TP \fB\-\-no\-commit\fP When passed with \fB\-\-write\fP, a new commit will not generated after writing changes to the formula file\. .TP \fB\-\-only\-json\-tab\fP When passed with \fB\-\-json\fP, the tab will be written to the JSON file but not the bottle\. .TP \fB\-\-no\-all\-checks\fP Don\[u2019]t try to create an \fBall\fP bottle or stop a no\-change upload\. .TP \fB\-\-root\-url\fP Use the specified \fIURL\fP as the root of the bottle\[u2019]s URL instead of Homebrew\[u2019]s default\. .TP \fB\-\-root\-url\-using\fP Use the specified download strategy class for downloading the bottle\[u2019]s URL instead of Homebrew\[u2019]s default\. .SS "\fBbump\fP \fR[\fIoptions\fP] \fR[\fIformula\fP|\fIcask\fP \.\.\.]" Displays out\-of\-date packages and the latest version available\. If the returned current and livecheck versions differ or when querying specific packages, also displays whether a pull request has been opened with the URL\. .TP \fB\-\-full\-name\fP Print formulae/casks with fully\-qualified names\. .TP \fB\-\-no\-pull\-requests\fP Do not retrieve pull requests from GitHub\. .TP \fB\-\-no\-autobump\fP Ignore formulae/casks in autobump list (official repositories only)\. .TP \fB\-\-formula\fP Check only formulae\. .TP \fB\-\-cask\fP Check only casks\. .TP \fB\-\-repology\fP Use Repology to check for outdated packages\. .TP \fB\-\-tap\fP Check formulae and casks within the given tap, specified as \fIuser\fP\fB/\fP\fIrepo\fP\&\. .TP \fB\-\-installed\fP Check formulae and casks that are currently installed\. .TP \fB\-\-no\-fork\fP Don\[u2019]t try to fork the repository\. .TP \fB\-\-open\-pr\fP Open a pull request for the new version if none have been opened yet\. .TP \fB\-\-start\-with\fP Letter or word that the list of package results should alphabetically follow\. .TP \fB\-\-bump\-synced\fP Bump additional formulae marked as synced with the given formulae\. .SS "\fBbump\-cask\-pr\fP \fR[\fIoptions\fP] \fIcask\fP" Create a pull request to update \fIcask\fP with a new version\. .P A best effort to determine the \fISHA\-256\fP will be made if the value is not supplied by the user\. .TP \fB\-n\fP, \fB\-\-dry\-run\fP Print what would be done rather than doing it\. .TP \fB\-\-write\-only\fP Make the expected file modifications without taking any Git actions\. .TP \fB\-\-commit\fP When passed with \fB\-\-write\-only\fP, generate a new commit after writing changes to the cask file\. .TP \fB\-\-no\-audit\fP Don\[u2019]t run \fBbrew audit\fP before opening the PR\. .TP \fB\-\-no\-style\fP Don\[u2019]t run \fBbrew style \-\-fix\fP before opening the PR\. .TP \fB\-\-no\-browse\fP Print the pull request URL instead of opening in a browser\. .TP \fB\-\-no\-fork\fP Don\[u2019]t try to fork the repository\. .TP \fB\-\-version\fP Specify the new \fIversion\fP for the cask\. .TP \fB\-\-version\-arm\fP Specify the new cask \fIversion\fP for the ARM architecture\. .TP \fB\-\-version\-intel\fP Specify the new cask \fIversion\fP for the Intel architecture\. .TP \fB\-\-message\fP Prepend \fImessage\fP to the default pull request message\. .TP \fB\-\-url\fP Specify the \fIURL\fP for the new download\. .TP \fB\-\-sha256\fP Specify the \fISHA\-256\fP checksum of the new download\. .TP \fB\-\-fork\-org\fP Use the specified GitHub organization for forking\. .SS "\fBbump\-compatibility\-version\fP \fR[\fIoptions\fP] \fIformula\fP \fR[\.\.\.]" Create a commit to increment the compatibility_version of \fIformula\fP\&\. If no compatibility_version is present, \[u201c]compatibility_version 1\[u201d] will be added\. .TP \fB\-n\fP, \fB\-\-dry\-run\fP Print what would be done rather than doing it\. .TP \fB\-\-write\-only\fP Make the expected file modifications without taking any Git actions\. .TP \fB\-\-message\fP Append \fImessage\fP to the default commit message\. .SS "\fBbump\-formula\-pr\fP \fR[\fIoptions\fP] \fR[\fIformula\fP]" Create a pull request to update \fIformula\fP with a new URL or a new tag\. .P If a \fIURL\fP is specified, the \fISHA\-256\fP checksum of the new download should also be specified\. A best effort to determine the \fISHA\-256\fP will be made if not supplied by the user\. .P If a \fItag\fP is specified, the Git commit \fIrevision\fP corresponding to that tag should also be specified\. A best effort to determine the \fIrevision\fP will be made if the value is not supplied by the user\. .P If a \fIversion\fP is specified, a best effort to determine the \fIURL\fP and \fISHA\-256\fP or the \fItag\fP and \fIrevision\fP will be made if both values are not supplied by the user\. .P \fINote:\fP this command cannot be used to transition a formula from a URL\-and\-SHA\-256 style specification into a tag\-and\-revision style specification, nor vice versa\. It must use whichever style specification the formula already uses\. .TP \fB\-n\fP, \fB\-\-dry\-run\fP Print what would be done rather than doing it\. .TP \fB\-\-write\-only\fP Make the expected file modifications without taking any Git actions\. .TP \fB\-\-commit\fP When passed with \fB\-\-write\-only\fP, generate a new commit after writing changes to the formula file\. .TP \fB\-\-no\-audit\fP Don\[u2019]t run \fBbrew audit\fP before opening the PR\. .TP \fB\-\-strict\fP Run \fBbrew audit \-\-strict\fP before opening the PR\. .TP \fB\-\-online\fP Run \fBbrew audit \-\-online\fP before opening the PR\. .TP \fB\-\-no\-browse\fP Print the pull request URL instead of opening in a browser\. .TP \fB\-\-no\-fork\fP Don\[u2019]t try to fork the repository\. .TP \fB\-\-mirror\fP Use the specified \fIURL\fP as a mirror URL\. If \fIURL\fP is a comma\-separated list of URLs, multiple mirrors will be added\. .TP \fB\-\-fork\-org\fP Use the specified GitHub organization for forking\. .TP \fB\-\-version\fP Use the specified \fIversion\fP to override the value parsed from the URL or tag\. Note that \fB\-\-version=0\fP can be used to delete an existing version override from a formula if it has become redundant\. .TP \fB\-\-message\fP Prepend \fImessage\fP to the default pull request message\. .TP \fB\-\-url\fP Specify the \fIURL\fP for the new download\. If a \fIURL\fP is specified, the \fISHA\-256\fP checksum of the new download should also be specified\. .TP \fB\-\-sha256\fP Specify the \fISHA\-256\fP checksum of the new download\. .TP \fB\-\-tag\fP Specify the new git commit \fItag\fP for the formula\. .TP \fB\-\-revision\fP Specify the new commit \fIrevision\fP corresponding to the specified git \fItag\fP or specified \fIversion\fP\&\. .TP \fB\-f\fP, \fB\-\-force\fP Remove all mirrors if \fB\-\-mirror\fP was not specified\. .TP \fB\-\-install\-dependencies\fP Install missing dependencies required to update resources\. .TP \fB\-\-python\-package\-name\fP Use the specified \fIpackage\-name\fP when finding Python resources for \fIformula\fP\&\. If no package name is specified, it will be inferred from the formula\[u2019]s stable URL\. .TP \fB\-\-python\-extra\-packages\fP Include these additional Python packages when finding resources\. .TP \fB\-\-python\-exclude\-packages\fP Exclude these Python packages when finding resources\. .SS "\fBbump\-revision\fP \fR[\fIoptions\fP] \fIformula\fP \fR[\.\.\.]" Create a commit to increment the revision of \fIformula\fP\&\. If no revision is present, \[u201c]revision 1\[u201d] will be added\. .TP \fB\-n\fP, \fB\-\-dry\-run\fP Print what would be done rather than doing it\. .TP \fB\-\-remove\-bottle\-block\fP Remove the bottle block in addition to bumping the revision\. .TP \fB\-\-write\-only\fP Make the expected file modifications without taking any Git actions\. .TP \fB\-\-message\fP Append \fImessage\fP to the default commit message\. .SS "\fBbump\-unversioned\-casks\fP \fR[\fIoptions\fP] \fIcask\fP|\fItap\fP \fR[\.\.\.]" Check all casks with unversioned URLs in a given \fItap\fP for updates\. .TP \fB\-n\fP, \fB\-\-dry\-run\fP Do everything except caching state and opening pull requests\. .TP \fB\-\-limit\fP Maximum runtime in minutes\. .TP \fB\-\-state\-file\fP File for caching state\. .SS "\fBcat\fP \fR[\fB\-\-formula\fP] \fR[\fB\-\-cask\fP] \fIformula\fP|\fIcask\fP \fR[\.\.\.]" Display the source of a \fIformula\fP or \fIcask\fP\&\. .TP \fB\-\-formula\fP Treat all named arguments as formulae\. .TP \fB\-\-cask\fP Treat all named arguments as casks\. .SS "\fBcontributions\fP \fR[\fB\-\-user=\fP] \fR[\fB\-\-repositories=\fP] \fR[\fB\-\-quarter=\fP] \fR[\fB\-\-from=\fP] \fR[\fB\-\-to=\fP] \fR[\fB\-\-csv\fP] \fR[\fB\-\-maintainer\-report\-csv=\fP]" Summarise contributions to Homebrew repositories\. .TP \fB\-\-user\fP Specify a comma\-separated list of GitHub usernames or email addresses to find contributions from\. Omitting this flag searches Homebrew maintainers\. With \fB\-\-maintainer\-report\-csv\fP, only matching quarter\-end Maintainers are included\. .TP \fB\-\-repositories\fP Specify a comma\-separated list of repositories to search\. All repositories must be under the same user or organisation\. Omitting this flag, or specifying \fB\-\-repositories=primary\fP, searches only the main repositories: \fBHomebrew/brew\fP, \fBHomebrew/homebrew\-core\fP, \fBHomebrew/homebrew\-cask\fP\&\. .TP \fB\-\-organisation\fP Specify the organisation to populate sources repositories from\. Omitting this flag searches the Homebrew primary repositories\. .TP \fB\-\-team\fP Specify the team to populate users from\. The first part of the team name will be used as the organisation\. .TP \fB\-\-quarter\fP Homebrew contributions quarter to search (1\-4)\. Omitting this flag searches the past year\. If \fB\-\-from\fP or \fB\-\-to\fP are set, they take precedence\. .TP \fB\-\-from\fP Date (ISO 8601 format) to start searching contributions\. Omitting this flag searches the past year\. .TP \fB\-\-to\fP Date (ISO 8601 format) to stop searching contributions\. .TP \fB\-\-csv\fP Print a CSV of contributions across repositories over the time period\. .TP \fB\-\-maintainer\-report\-csv\fP Print a CSV of Maintainer and Lead Maintainer activity criteria using fetched Git histories and GitHub\[u2019]s existing approved\-review search for the Homebrew governance quarter, for example \fB\-\-maintainer\-report\-csv=2026\-2\fP\&\. Also write it in the current directory as \fBbrew\-contributions\-FROM\-to\-TO\.csv\fP, or \fBbrew\-contributions\-FROM\-to\-TO\-USER\.csv\fP when filtered with \fB\-\-user\fP\&\. Only Maintainers listed at the end of that quarter are included\. The \fBnew role\fP value must show a downgrade for two consecutive quarters before a downgrade is applied\. Review searches return at most 100 results and other counts are capped at 500 per repository and contribution type\. Repository\-scoped follow\-up searches ensure role activity checks remain accurate when a count is capped\. Completed\-period GitHub searches are cached in Homebrew\[u2019]s cache and removed by normal cache pruning\. \fBYEAR\-1\fP is December of the previous year through February, \fBYEAR\-2\fP is March through May, \fBYEAR\-3\fP is June through August and \fBYEAR\-4\fP is September through November\. .SS "\fBcreate\fP \fR[\fIoptions\fP] \fIURL\fP" Generate a formula or, with \fB\-\-cask\fP, a cask for the downloadable file at \fIURL\fP and open it in the editor\. Homebrew will attempt to automatically derive the formula name and version, but if it fails, you\[u2019]ll have to make your own template\. The \fBwget\fP formula serves as a simple example\. For the complete API, see: .UR https://docs\.brew\.sh/rubydoc/Formula .UE .TP \fB\-\-autotools\fP Create a basic template for an Autotools\-style build\. .TP \fB\-\-cabal\fP Create a basic template for a Cabal build\. .TP \fB\-\-cask\fP Create a basic template for a cask\. .TP \fB\-\-cmake\fP Create a basic template for a CMake\-style build\. .TP \fB\-\-crystal\fP Create a basic template for a Crystal build\. .TP \fB\-\-go\fP Create a basic template for a Go build\. .TP \fB\-\-meson\fP Create a basic template for a Meson\-style build\. .TP \fB\-\-node\fP Create a basic template for a Node build\. .TP \fB\-\-perl\fP Create a basic template for a Perl build\. .TP \fB\-\-python\fP Create a basic template for a Python build\. .TP \fB\-\-ruby\fP Create a basic template for a Ruby build\. .TP \fB\-\-rust\fP Create a basic template for a Rust build\. .TP \fB\-\-zig\fP Create a basic template for a Zig build\. .TP \fB\-\-no\-fetch\fP Homebrew will not download \fIURL\fP to the cache and will thus not add its SHA\-256 to the formula for you, nor will it check the GitHub API for GitHub projects (to fill out its description and homepage)\. .TP \fB\-\-HEAD\fP Indicate that \fIURL\fP points to the package\[u2019]s repository rather than a file\. .TP \fB\-\-set\-name\fP Explicitly set the \fIname\fP of the new formula or cask\. .TP \fB\-\-set\-version\fP Explicitly set the \fIversion\fP of the new formula or cask\. .TP \fB\-\-set\-license\fP Explicitly set the \fIlicense\fP of the new formula\. .TP \fB\-\-tap\fP Generate the new formula within the given tap, specified as \fIuser\fP\fB/\fP\fIrepo\fP\&\. .TP \fB\-f\fP, \fB\-\-force\fP Ignore errors for disallowed formula names and names that shadow aliases\. .SS "\fBdebugger\fP \fR[\fB\-\-open\fP] \fIcommand\fP \fR[\.\.\.]" Run the specified Homebrew command in debug mode\. .P To pass flags to the command, use \fB\-\-\fP to separate them from the \fBbrew\fP flags\. For example: \fBbrew debugger \-\- list \-\-formula\fP\&\. .TP \fB\-O\fP, \fB\-\-open\fP Start remote debugging over a Unix socket\. .SS "\fBedit\fP \fR[\fIoptions\fP] \fR[\fIformula\fP|\fIcask\fP|\fItap\fP \.\.\.]" Open a \fIformula\fP, \fIcask\fP or \fItap\fP in the editor set by \fB$EDITOR\fP or \fB$HOMEBREW_EDITOR\fP, or open the Homebrew repository for editing if no argument is provided\. .TP \fB\-\-formula\fP Treat all named arguments as formulae\. .TP \fB\-\-cask\fP Treat all named arguments as casks\. .TP \fB\-\-print\-path\fP Print the file path to be edited, without opening an editor\. .SS "\fBextract\fP \fR[\fB\-\-version=\fP] \fR[\fB\-\-git\-revision=\fP] \fR[\fB\-\-force\fP] \fIformula\fP \fItap\fP" Look through repository history to find the most recent version of \fIformula\fP and create a copy in \fItap\fP\&\. Specifically, the command will create the new formula file at \fItap\fP\fB/Formula/\fP\fIformula\fP\fB@\fP\fIversion\fP\fB\&\.rb\fP\&\. If the tap is not installed yet, attempt to install/clone the tap before continuing\. To extract a formula from a tap that is not \fBhomebrew/core\fP use its fully\-qualified form of \fIuser\fP\fB/\fP\fIrepo\fP\fB/\fP\fIformula\fP\&\. .TP \fB\-\-git\-revision\fP Search for the specified \fIversion\fP of \fIformula\fP starting at \fIrevision\fP instead of HEAD\. .TP \fB\-\-version\fP Extract the specified \fIversion\fP of \fIformula\fP instead of the most recent\. .TP \fB\-f\fP, \fB\-\-force\fP Overwrite the destination formula if it already exists\. .SS "\fBformula\fP \fIformula\fP \fR[\.\.\.]" Display the path where \fIformula\fP is located\. .SS "\fBgenerate\-man\-completions\fP \fR[\fB\-\-no\-exit\-code\fP]" Generate Homebrew\[u2019]s manpages and shell completions\. .TP \fB\-\-no\-exit\-code\fP Exit with code 0 even if no changes were made\. .SS "\fBgenerate\-zap\fP \fR[\fB\-\-name\fP] \fIcask_or_name\fP" Generate a \fBzap\fP stanza for a cask by scanning the system for associated files and directories\. .P Accepts a cask token (e\.g\. \fBfirefox\fP) or, with \fB\-\-name\fP, a raw application name string (e\.g\. \fBFirefox\fP)\. When a cask token is given, the application name is resolved from the cask\[u2019]s \fBapp\fP artifact\. .P The target application should have been launched at least once so that preference files and caches exist on disk\. .P Outputs \fBtrash\fP, \fBdelete\fP, and \fBrmdir\fP directives suitable for pasting into a cask definition\. .TP \fB\-\-name\fP Treat the argument as a raw application name instead of a cask token\. .SS "\fBinstall\-bundler\-gems\fP \fR[\fB\-\-groups=\fP] \fR[\fB\-\-add\-groups=\fP]" Install Homebrew\[u2019]s Bundler gems\. .TP \fB\-\-groups\fP Installs the specified comma\-separated list of gem groups (default: last used)\. Replaces any previously installed groups\. .TP \fB\-\-add\-groups\fP Installs the specified comma\-separated list of gem groups, in addition to those already installed\. .SS "\fBirb\fP \fR[\fB\-\-examples\fP]" Enter the interactive Homebrew Ruby shell\. .TP \fB\-\-examples\fP Show several examples\. .SS "\fBlgtm\fP \fR[\fB\-\-online\fP]" Run \fBbrew typecheck\fP, \fBbrew style \-\-changed\fP and the relevant \fBbrew tests\fP, \fBbrew audit\fP and \fBbrew test\fP checks in one go\. .TP \fB\-\-online\fP Run additional, slower checks that require a network connection\. .SS "\fBlinkage\fP \fR[\fIoptions\fP] \fR[\fIinstalled_formula\fP \.\.\.]" Check the library links from the given \fIformula\fP kegs\. If no \fIformula\fP are provided, check all kegs\. Raises an error if run on uninstalled formulae\. .TP \fB\-\-test\fP Show only missing libraries and exit with a non\-zero status if any missing libraries are found\. .TP \fB\-\-strict\fP Exit with a non\-zero status if any undeclared dependencies with linkage are found\. .TP \fB\-\-reverse\fP For every library that a keg references, print its dylib path followed by the binaries that link to it\. .TP \fB\-\-cached\fP Print the cached linkage values stored in \fB$HOMEBREW_CACHE\fP, set by a previous \fBbrew linkage\fP run\. .SS "\fBlivecheck\fP, \fBlc\fP \fR[\fIoptions\fP] \fR[\fIformula\fP|\fIcask\fP \.\.\.]" Check for newer versions of formulae and/or casks from upstream\. If no formula or cask argument is passed, the list of formulae and casks to check is taken from \fB$HOMEBREW_LIVECHECK_WATCHLIST\fP or \fB${XDG_CONFIG_HOME}/homebrew/livecheck_watchlist\.txt\fP if \fB$XDG_CONFIG_HOME\fP is set or \fB~/\.homebrew/livecheck_watchlist\.txt\fP otherwise\. .TP \fB\-\-full\-name\fP Print formulae and casks with fully\-qualified names\. .TP \fB\-\-tap\fP Check formulae and casks within the given tap, specified as \fIuser\fP\fB/\fP\fIrepo\fP\&\. .TP \fB\-\-installed\fP Check formulae and casks that are currently installed\. .TP \fB\-\-newer\-only\fP Show the latest version only if it\[u2019]s newer than the current formula or cask version\. .TP \fB\-\-json\fP Output information in JSON format\. .TP \fB\-r\fP, \fB\-\-resources\fP Also check resources for formulae\. .TP \fB\-q\fP, \fB\-\-quiet\fP Suppress warnings, don\[u2019]t print a progress bar for JSON output\. .TP \fB\-\-formula\fP Only check formulae\. .TP \fB\-\-cask\fP Only check casks\. .TP \fB\-\-extract\-plist\fP Enable checking multiple casks with ExtractPlist strategy\. .TP \fB\-\-autobump\fP Include packages that are autobumped by BrewTestBot\. By default these are skipped\. .SS "\fBprof\fP \fR[\fIoptions\fP] \fIcommand\fP \fR[\.\.\.]" Run Homebrew with a Ruby profiler\. For example, \fBbrew prof readall\fP\&\. .TP \fB\-\-stackprof\fP Use \fBstackprof\fP instead of \fBruby\-prof\fP (the default)\. .TP \fB\-\-vernier\fP Use \fBvernier\fP instead of \fBruby\-prof\fP (the default)\. .TP \fB\-\-timings\fP Record machine\-readable timings for Homebrew command phases\. .SS "\fBrubocop\fP" Installs, configures and runs Homebrew\[u2019]s \fBrubocop\fP\&\. .SS "\fBruby\fP \fR[\fIoptions\fP] (\fB\-e\fP \fItext\fP|\fIfile\fP)" Run a Ruby instance with Homebrew\[u2019]s libraries loaded\. For example, \fBbrew ruby \-e "puts :gcc\.f\.deps"\fP or \fBbrew ruby script\.rb\fP\&\. .P Run e\.g\. \fBbrew ruby \-\- \-\-version\fP to pass arbitrary arguments to \fBruby\fP\&\. .TP \fB\-r\fP Load a library using \fBrequire\fP\&\. .TP \fB\-e\fP Execute the given text string as a script\. .SS "\fBrubydoc\fP \fR[\fB\-\-only\-public\fP] \fR[\fB\-\-open\fP]" Generate Homebrew\[u2019]s RubyDoc documentation\. .TP \fB\-\-only\-public\fP Only generate public API documentation\. .TP \fB\-\-open\fP Open generated documentation in a browser\. .SS "\fBsh\fP \fR[\fIoptions\fP] \fR[\fIfile\fP]" Enter an interactive shell for Homebrew\[u2019]s build environment\. Use years\-battle\-hardened build logic to help your \fB\&\./configure && make && make install\fP and even your \fBgem install\fP succeed\. Especially handy if you run Homebrew in an Xcode\-only configuration since it adds tools like \fBmake\fP to your \fB$PATH\fP which build systems would not find otherwise\. .P With \fB\-\-ruby\fP, enter an interactive shell for Homebrew\[u2019]s Ruby environment\. This sets up the correct Ruby paths, \fB$GEM_HOME\fP and bundle configuration used by Homebrew\[u2019]s development tools\. The environment includes gems from the installed groups, making tools like RuboCop, Sorbet and RSpec available via \fBbundle exec\fP\&\. .TP \fB\-r\fP, \fB\-\-ruby\fP Set up Homebrew\[u2019]s Ruby environment\. .TP \fB\-\-env\fP Use the standard \fB$PATH\fP instead of superenv\[u2019]s when \fBstd\fP is passed\. .TP \fB\-c\fP, \fB\-\-cmd\fP Execute commands in a non\-interactive shell\. .SS "\fBstyle\fP \fR[\fIoptions\fP] \fR[\fIfile\fP|\fItap\fP|\fIformula\fP|\fIcask\fP \.\.\.]" Check formulae or files for conformance to Homebrew style guidelines\. .P Lists of \fIfile\fP, \fItap\fP and \fIformula\fP may not be combined\. If none are provided, \fBstyle\fP will run style checks on the whole Homebrew library, including core code and all formulae\. .TP \fB\-\-fix\fP Fix style violations automatically using RuboCop\[u2019]s auto\-correct feature\. .TP \fB\-\-todo\fP Add \fBrubocop:todo\fP comments for RuboCop violations that remain after auto\-correction\. Requires \fB\-\-fix\fP\&\. .TP \fB\-\-reset\-cache\fP Reset the RuboCop cache\. .TP \fB\-\-changed\fP Check files that were changed from the \fBmain\fP branch\. .TP \fB\-\-formula\fP Treat all named arguments as formulae\. .TP \fB\-\-cask\fP Treat all named arguments as casks\. .TP \fB\-\-only\-cops\fP Specify a comma\-separated \fIcops\fP list to check for violations of only the listed RuboCop cops\. .TP \fB\-\-except\-cops\fP Specify a comma\-separated \fIcops\fP list to skip checking for violations of the listed RuboCop cops\. .SS "\fBtap\-new\fP \fR[\fIoptions\fP] \fIuser\fP\fB/\fP\fIrepo\fP" Generate the template files for a new tap\. .TP \fB\-\-no\-git\fP Don\[u2019]t initialise a Git repository for the tap\. .TP \fB\-\-branch\fP Initialise a Git repository and set up GitHub Actions workflows with the specified branch name (default: \fBmain\fP)\. .TP \fB\-\-github\-packages\fP Upload bottles to GitHub Packages\. .SS "\fBtest\fP \fR[\fIoptions\fP] \fIinstalled_formula\fP \fR[\.\.\.]" Run the test method provided by an installed formula\. There is no standard output or return code, but generally it should notify the user if something is wrong with the installed formula\. .P \fIExample:\fP \fBbrew install jruby && brew test jruby\fP .TP \fB\-f\fP, \fB\-\-force\fP Test formulae even if they are unlinked\. .TP \fB\-\-HEAD\fP Test the HEAD version of a formula\. .TP \fB\-\-keep\-tmp\fP Retain the temporary files created for the test\. .TP \fB\-\-retry\fP Retry if a testing fails\. .SS "\fBtest\-bot\fP \fR[\fIoptions\fP] \fR[\fIformula\fP]" Tests the full lifecycle of a Homebrew change to a tap (Git repository)\. For example, for a GitHub Actions pull request that changes a formula \fBbrew test\-bot\fP will ensure the system is cleaned and set up to test the formula, install the formula, run various tests and checks on it, bottle (package) the binaries and test formulae that depend on it to ensure they aren\[u2019]t broken by these changes\. .P Only supports GitHub Actions as a CI provider\. This is because Homebrew uses GitHub Actions and it\[u2019]s freely available for public and private use with macOS and Linux workers\. .TP \fB\-\-dry\-run\fP Print what would be done rather than doing it\. .TP \fB\-\-cleanup\fP Clean all state from the Homebrew directory\. Use with care! .TP \fB\-\-skip\-setup\fP Don\[u2019]t check if the local system is set up correctly\. .TP \fB\-\-build\-from\-source\fP Build from source rather than building bottles\. .TP \fB\-\-build\-dependents\-from\-source\fP Build dependents from source rather than testing bottles\. .TP \fB\-\-junit\fP generate a JUnit XML test results file\. .TP \fB\-\-keep\-old\fP Run \fBbrew bottle \-\-keep\-old\fP to build new bottles for a single platform\. .TP \fB\-\-skip\-relocation\fP Run \fBbrew bottle \-\-skip\-relocation\fP to build new bottles that don\[u2019]t require relocation\. .TP \fB\-\-only\-json\-tab\fP Run \fBbrew bottle \-\-only\-json\-tab\fP to build new bottles that do not contain a tab\. .TP \fB\-\-local\fP Ask Homebrew to write verbose logs under \fB\&\./logs/\fP and set \fB$HOME\fP to \fB\&\./home/\fP .TP \fB\-\-tap\fP Use the Git repository of the given tap\. Defaults to the core tap for syntax checking\. .TP \fB\-\-fail\-fast\fP Immediately exit on a failing step\. .TP \fB\-v\fP, \fB\-\-verbose\fP Print test step output in real time\. Has the side effect of passing output as raw bytes instead of re\-encoding in UTF\-8\. .TP \fB\-\-test\-default\-formula\fP Use a default testing formula when not building a tap and no other formulae are specified\. .TP \fB\-\-root\-url\fP Use the specified \fIURL\fP as the root of the bottle\[u2019]s URL instead of Homebrew\[u2019]s default\. .TP \fB\-\-git\-name\fP Set the Git author/committer names to the given name\. .TP \fB\-\-git\-email\fP Set the Git author/committer email to the given email\. .TP \fB\-\-publish\fP Publish the uploaded bottles\. .TP \fB\-\-skip\-online\-checks\fP Don\[u2019]t pass \fB\-\-online\fP to \fBbrew audit\fP and skip \fBbrew livecheck\fP\&\. .TP \fB\-\-skip\-new\fP Don\[u2019]t pass \fB\-\-new\fP to \fBbrew audit\fP for new formulae\. .TP \fB\-\-skip\-new\-strict\fP Don\[u2019]t pass \fB\-\-strict\fP to \fBbrew audit\fP for new formulae\. .TP \fB\-\-skip\-dependents\fP Don\[u2019]t test any dependents\. .TP \fB\-\-skip\-livecheck\fP Don\[u2019]t test livecheck\. .TP \fB\-\-skip\-checksum\-only\-audit\fP Don\[u2019]t audit checksum\-only changes\. .TP \fB\-\-skip\-stable\-version\-audit\fP Don\[u2019]t audit the stable version\. .TP \fB\-\-skip\-revision\-audit\fP Don\[u2019]t audit the revision\. .TP \fB\-\-only\-cleanup\-before\fP Only run the pre\-cleanup step\. Needs \fB\-\-cleanup\fP, except in GitHub Actions\. .TP \fB\-\-only\-setup\fP Only run the local system setup check step\. .TP \fB\-\-only\-tap\-syntax\fP Only run the tap syntax check step\. .TP \fB\-\-stable\fP Only run the tap syntax checks needed on stable brew\. .TP \fB\-\-only\-formulae\fP Only run the formulae steps\. .TP \fB\-\-only\-formulae\-detect\fP Only run the formulae detection steps\. .TP \fB\-\-only\-formulae\-dependents\fP Only run the formulae dependents steps\. .TP \fB\-\-only\-bottles\-fetch\fP Only run the bottles fetch steps\. This optional post\-upload test checks that all the bottles were uploaded correctly\. It is not run unless requested and only needs to be run on a single machine\. The bottle commit to be tested must be on the tested branch\. .TP \fB\-\-only\-cleanup\-after\fP Only run the post\-cleanup step\. Needs \fB\-\-cleanup\fP, except in GitHub Actions\. .TP \fB\-\-testing\-formulae\fP Use these testing formulae rather than running the formulae detection steps\. .TP \fB\-\-added\-formulae\fP Use these added formulae rather than running the formulae detection steps\. .TP \fB\-\-deleted\-formulae\fP Use these deleted formulae rather than running the formulae detection steps\. .TP \fB\-\-skipped\-or\-failed\-formulae\fP Use these skipped or failed formulae from formulae steps for a formulae dependents step\. .TP \fB\-\-tested\-formulae\fP Use these tested formulae from formulae steps for a formulae dependents step\. .SS "\fBtests\fP \fR[\fIoptions\fP]" Run Homebrew\[u2019]s unit and integration tests\. .TP \fB\-\-coverage\fP Generate code coverage reports\. .TP \fB\-\-generic\fP Run only OS\-agnostic tests\. .TP \fB\-\-online\fP Include tests that use the GitHub API and tests that use any of the taps for official external commands\. .TP \fB\-\-debug\fP Enable debugging using \fBruby/debug\fP, or surface the standard \fBodebug\fP output\. .TP \fB\-\-changed\fP Only runs tests on files that were changed from the \fBmain\fP branch\. .TP \fB\-\-fail\-fast\fP Exit early on the first failing test\. .TP \fB\-\-no\-parallel\fP Run tests serially\. .TP \fB\-\-stackprof\fP Use \fBstackprof\fP to profile tests\. .TP \fB\-\-vernier\fP Use \fBvernier\fP to profile tests\. .TP \fB\-\-ruby\-prof\fP Use \fBruby\-prof\fP to profile tests\. .TP \fB\-\-only\fP Run only \fB_spec\.rb\fP\&\. Appending \fB:\fP will start at a specific line\. .TP \fB\-\-profile\fP Output the \fIn\fP slowest tests\. When run without \fB\-\-no\-parallel\fP this will output the slowest tests for each parallel test process\. .TP \fB\-\-seed\fP Randomise tests with the specified \fIvalue\fP instead of a random seed\. .SS "\fBtypecheck\fP, \fBtc\fP \fR[\fIoptions\fP] \fR[\fItap\fP \.\.\.]" Check for typechecking errors using Sorbet\. .TP \fB\-\-fix\fP Automatically fix type errors\. .TP \fB\-q\fP, \fB\-\-quiet\fP Silence all non\-critical errors\. .TP \fB\-\-update\fP Update RBI files\. .TP \fB\-\-update\-all\fP Update all RBI files rather than just updated gems\. .TP \fB\-\-suggest\-typed\fP Try upgrading \fBtyped\fP sigils\. .TP \fB\-\-lsp\fP Start the Sorbet LSP server\. .TP \fB\-\-dir\fP Typecheck all files in a specific directory\. .TP \fB\-\-file\fP Typecheck a single file\. .TP \fB\-\-ignore\fP Ignores input files that contain the given string in their paths (relative to the input path passed to Sorbet)\. .SS "\fBunbottled\fP \fR[\fIoptions\fP] \fR[\fIformula\fP \.\.\.]" Show the unbottled dependents of formulae\. .TP \fB\-\-tag\fP Use the specified bottle tag (e\.g\. \fBbig_sur\fP) instead of the current OS\. .TP \fB\-\-dependents\fP Skip getting analytics data and sort by number of dependents instead\. .TP \fB\-\-total\fP Print the number of unbottled and total formulae\. .TP \fB\-\-lost\fP Print the \fBhomebrew/core\fP commits where bottles were lost in the last week\. .SS "\fBunpack\fP \fR[\fIoptions\fP] \fIformula\fP|\fIcask\fP \fR[\.\.\.]" Unpack the files for the \fIformula\fP or \fIcask\fP into subdirectories of the current working directory\. .TP \fB\-\-destdir\fP Create subdirectories in the directory named by \fIpath\fP instead\. .TP \fB\-\-patch\fP Patches for \fIformula\fP will be applied to the unpacked source\. .TP \fB\-g\fP, \fB\-\-git\fP Initialise a Git repository in the unpacked source\. This is useful for creating patches for the software\. .TP \fB\-f\fP, \fB\-\-force\fP Overwrite the destination directory if it already exists\. .TP \fB\-\-formula\fP Treat all named arguments as formulae\. .TP \fB\-\-cask\fP Treat all named arguments as casks\. .SS "\fBupdate\-perl\-resources\fP \fR[\fB\-\-print\-only\fP] \fR[\fB\-\-ignore\-errors\fP] \fIformula\fP \fR[\.\.\.]" Update versions for CPAN resource blocks in \fIformula\fP\&\. .TP \fB\-p\fP, \fB\-\-print\-only\fP Print the updated resource blocks instead of changing \fIformula\fP\&\. .TP \fB\-\-ignore\-errors\fP Continue processing even if some resources can\[u2019]t be resolved\. .SS "\fBupdate\-python\-resources\fP \fR[\fIoptions\fP] \fIformula\fP \fR[\.\.\.]" Update versions for PyPI resource blocks in \fIformula\fP\&\. .TP \fB\-p\fP, \fB\-\-print\-only\fP Print the updated resource blocks instead of changing \fIformula\fP\&\. .TP \fB\-\-ignore\-errors\fP Record all discovered resources, even those that can\[u2019]t be resolved successfully\. This option is ignored for homebrew/core formulae\. .TP \fB\-\-ignore\-non\-pypi\-packages\fP Don\[u2019]t fail if \fIformula\fP is not a PyPI package\. .TP \fB\-\-ignore\-main\-package\-cooldown\fP Bypass the release cooldown for \fIformula\fP\[u2019]s own package when resolving resources\. Its dependencies still respect the cooldown\. This option is ignored for official taps\. .TP \fB\-\-install\-dependencies\fP Install missing dependencies required to update resources\. .TP \fB\-\-version\fP Use the specified \fIversion\fP when finding resources for \fIformula\fP\&\. If no version is specified, the current version for \fIformula\fP will be used\. .TP \fB\-\-package\-name\fP Use the specified \fIpackage\-name\fP when finding resources for \fIformula\fP\&\. If no package name is specified, it will be inferred from the formula\[u2019]s stable URL\. .TP \fB\-\-extra\-packages\fP Include these additional packages when finding resources\. .TP \fB\-\-exclude\-packages\fP Exclude these packages when finding resources\. .SS "\fBupdate\-test\fP \fR[\fIoptions\fP]" Run a test of \fBbrew update\fP with a new repository clone\. If no options are passed, use \fBorigin/main\fP as the start commit\. .TP \fB\-\-to\-tag\fP Set \fB$HOMEBREW_UPDATE_TO_TAG\fP to test updating between tags\. .TP \fB\-\-keep\-tmp\fP Retain the temporary directory containing the new repository clone\. .TP \fB\-\-commit\fP Use the specified \fIcommit\fP as the start commit\. .TP \fB\-\-before\fP Use the commit at the specified \fIdate\fP as the start commit\. .SS "\fBvendor\-gems\fP \fR[\fB\-\-update=\fP] \fR[\fB\-\-no\-commit\fP]" Install and commit Homebrew\[u2019]s vendored gems\. .TP \fB\-\-update\fP Update the specified list of vendored gems to the latest version\. .TP \fB\-\-no\-commit\fP Do not generate a new commit upon completion\. .SS "\fBverify\fP \fR[\fIoptions\fP] \fIformula\fP \fR[\.\.\.]" Verify the build provenance of bottles using GitHub\[u2019]s attestation tools\. This is done by first fetching the given bottles and then verifying their provenance\. .P Note that this command depends on the GitHub CLI\. Run \fBbrew install gh\fP\&\. .TP \fB\-\-os\fP Download for the given operating system\. (Pass \fBall\fP to download for all operating systems\.) .TP \fB\-\-arch\fP Download for the given CPU architecture\. (Pass \fBall\fP to download for all architectures\.) .TP \fB\-\-bottle\-tag\fP Download a bottle for given tag\. .TP \fB\-\-deps\fP Also download dependencies for any listed \fIformula\fP\&\. .TP \fB\-f\fP, \fB\-\-force\fP Remove a previously cached version and re\-fetch\. .TP \fB\-j\fP, \fB\-\-json\fP Return JSON for the attestation data for each bottle\. .SS "\fBwhich\-update\fP \fR[\fIoptions\fP] \fIdatabase\fP" Database update for \fBbrew which\-formula\fP\&\. .TP \fB\-\-bottle\-json\-dir\fP Use generated bottle JSON files in the given directory to update formula entries\. .TP \fB\-\-removed\-formulae\-file\fP Remove database entries for formulae listed in the given file\. .TP \fB\-\-pull\-request\fP Update entries for formula changes in the given pull request number\. .TP \fB\-\-repository\fP GitHub repository for \fB\-\-pull\-request\fP (default: \fB$GITHUB_REPOSITORY\fP)\. .TP \fB\-\-summary\-file\fP Output a summary of the changes to a file\. .SH "GLOBAL CASK OPTIONS" These options are applicable to the \fBinstall\fP, \fBreinstall\fP and \fBupgrade\fP subcommands with the \fB\-\-cask\fP switch\. .TP \fB\-\-appdir\fP Target location for Applications (default: \fB/Applications\fP)\. .TP \fB\-\-appimagedir\fP Target location for AppImages (default: \fB~/Applications\fP)\. .TP \fB\-\-keyboard\-layoutdir\fP Target location for Keyboard Layouts (default: \fB/Library/Keyboard Layouts\fP)\. .TP \fB\-\-colorpickerdir\fP Target location for Color Pickers (default: \fB~/Library/ColorPickers\fP)\. .TP \fB\-\-prefpanedir\fP Target location for Preference Panes (default: \fB~/Library/PreferencePanes\fP)\. .TP \fB\-\-qlplugindir\fP Target location for Quick Look Plugins (default: \fB~/Library/QuickLook\fP)\. .TP \fB\-\-mdimporterdir\fP Target location for Spotlight Plugins (default: \fB~/Library/Spotlight\fP)\. .TP \fB\-\-dictionarydir\fP Target location for Dictionaries (default: \fB~/Library/Dictionaries\fP)\. .TP \fB\-\-fontdir\fP Target location for Fonts (default: \fB~/Library/Fonts\fP)\. .TP \fB\-\-servicedir\fP Target location for Services (default: \fB~/Library/Services\fP)\. .TP \fB\-\-input\-methoddir\fP Target location for Input Methods (default: \fB~/Library/Input Methods\fP)\. .TP \fB\-\-internet\-plugindir\fP Target location for Internet Plugins (default: \fB~/Library/Internet Plug\-Ins\fP)\. .TP \fB\-\-audio\-unit\-plugindir\fP Target location for Audio Unit Plugins (default: \fB~/Library/Audio/Plug\-Ins/Components\fP)\. .TP \fB\-\-vst\-plugindir\fP Target location for VST Plugins (default: \fB~/Library/Audio/Plug\-Ins/VST\fP)\. .TP \fB\-\-vst3\-plugindir\fP Target location for VST3 Plugins (default: \fB~/Library/Audio/Plug\-Ins/VST3\fP)\. .TP \fB\-\-screen\-saverdir\fP Target location for Screen Savers (default: \fB~/Library/Screen Savers\fP)\. .TP \fB\-\-language\fP Comma\-separated list of language codes to prefer for cask installation\. The first matching language is used, otherwise it reverts to the cask\[u2019]s default language\. The default value is the language of your system\. .SH "GLOBAL OPTIONS" These options are applicable across multiple subcommands\. .TP \fB\-d\fP, \fB\-\-debug\fP Display any debugging information\. .TP \fB\-q\fP, \fB\-\-quiet\fP Make some output more quiet\. .TP \fB\-v\fP, \fB\-\-verbose\fP Make some output more verbose\. .TP \fB\-h\fP, \fB\-\-help\fP Show this message\. .SH "CUSTOM EXTERNAL COMMANDS" Homebrew, like \fBgit\fP(1), supports external commands\. These are executable scripts that reside somewhere in the \fB$PATH\fP, named \fBbrew\-\fP\fIcmdname\fP or \fBbrew\-\fP\fIcmdname\fP\fB\&\.rb\fP, which can be invoked like \fBbrew\fP \fIcmdname\fP\&\. This allows you to create your own commands without modifying Homebrew\[u2019]s internals\. .P Instructions for creating your own commands can be found in the docs: .UR https://docs\.brew\.sh/External\-Commands .UE .SH "SPECIFYING FORMULAE" Many Homebrew commands accept one or more \fIformula\fP arguments\. These arguments can take several different forms: .IP \(bu 4 The name of a formula: e\.g\. \fBgit\fP, \fBnode\fP, \fBwget\fP\&\. .IP \(bu 4 The fully\-qualified name of a tapped formula: Sometimes a formula from a tapped repository may conflict with one in \fBhomebrew/core\fP\&\. You can still access these formulae by using a special syntax, e\.g\. \fBhomebrew/dupes/vim\fP or \fBhomebrew/versions/node4\fP\&\. .SH "SPECIFYING CASKS" Many commands that work with casks accept one or more \fIcask\fP arguments\. These can be specified the same way as the \fIformula\fP arguments described in \fBSPECIFYING FORMULAE\fP above\. .SH "ENVIRONMENT" Note that environment variables must have a value set to be detected\. For example, run \fBexport HOMEBREW_NO_INSECURE_REDIRECT=1\fP rather than just \fBexport HOMEBREW_NO_INSECURE_REDIRECT\fP\&\. .P \fBHOMEBREW_*\fP environment variables can also be set in Homebrew\[u2019]s environment files: .IP \(bu 4 \fB/etc/homebrew/brew\.env\fP (system\-wide) .IP \(bu 4 \fB${HOMEBREW_PREFIX}/etc/homebrew/brew\.env\fP (prefix\-specific) .IP \(bu 4 \fB$XDG_CONFIG_HOME/homebrew/brew\.env\fP if \fB$XDG_CONFIG_HOME\fP is set or \fB~/\.homebrew/brew\.env\fP otherwise (user\-specific) .P User\-specific environment files take precedence over prefix\-specific files and prefix\-specific files take precedence over system\-wide files (unless \fB$HOMEBREW_SYSTEM_ENV_TAKES_PRIORITY\fP is set, see below)\. .P Note that these files do not support shell variable expansion (e\.g\. \fB$HOME\fP) or command execution (e\.g\. \fB$(cat file)\fP)\. .TP \fBHOMEBREW_ALLOWED_TAPS\fP A space\-separated list of taps\. Homebrew will refuse to install a formula unless it and all of its dependencies are in an official tap or in a tap on this list\. Each entry is a \fBuser/repository\fP name (which matches only taps using the default GitHub remote) or a remote URL (required to match taps with a custom remote)\. .TP \fBHOMEBREW_API_AUTO_UPDATE_SECS\fP Check Homebrew\[u2019]s API for new formulae or cask data every \fB$HOMEBREW_API_AUTO_UPDATE_SECS\fP seconds\. Alternatively, disable API auto\-update checks entirely with \fB$HOMEBREW_NO_AUTO_UPDATE\fP\&\. .RS .P \fIDefault:\fP \fB450\fP\&\. .RE .TP \fBHOMEBREW_API_DOMAIN\fP Use this URL as the download mirror for Homebrew JSON API\. If metadata files at that URL are temporarily unavailable, the default API domain will be used as a fallback mirror\. .RS .P \fIDefault:\fP \fBhttps://formulae\.brew\.sh/api\fP\&\. .RE .TP \fBHOMEBREW_ARCH\fP Linux only: Pass this value to a type name representing the compiler\[u2019]s \fB\-march\fP option\. .RS .P \fIDefault:\fP \fBnative\fP\&\. .RE .TP \fBHOMEBREW_ARTIFACT_DOMAIN\fP Prefix all download URLs, including those for bottles, with this value\. For example, \fBexport HOMEBREW_ARTIFACT_DOMAIN=http://localhost:8080\fP will cause a formula with the URL \fBhttps://example\.com/foo\.tar\.gz\fP to instead download from \fBhttp://localhost:8080/https://example\.com/foo\.tar\.gz\fP\&\. Bottle URLs however, have their domain replaced with this prefix\. This results in e\.g\. \fBhttps://ghcr\.io/v2/homebrew/core/gettext/manifests/0\.21\fP to instead be downloaded from \fBhttp://localhost:8080/v2/homebrew/core/gettext/manifests/0\.21\fP .TP \fBHOMEBREW_ARTIFACT_DOMAIN_NO_FALLBACK\fP When \fB$HOMEBREW_ARTIFACT_DOMAIN\fP and \fB$HOMEBREW_ARTIFACT_DOMAIN_NO_FALLBACK\fP are both set, if the request to \fB$HOMEBREW_ARTIFACT_DOMAIN\fP fails then Homebrew will error rather than trying any other/default URLs\. .TP \fBHOMEBREW_AUTO_UPDATE_SECS\fP Run \fBbrew update\fP once every \fB$HOMEBREW_AUTO_UPDATE_SECS\fP seconds before some commands, e\.g\. \fBbrew install\fP, \fBbrew upgrade\fP or \fBbrew tap\fP\&\. Alternatively, disable auto\-update entirely with \fB$HOMEBREW_NO_AUTO_UPDATE\fP\&\. .RS .P \fIDefault:\fP \fB86400\fP (24 hours), \fB3600\fP (1 hour) if a developer command has been run or \fB300\fP (5 minutes) if \fB$HOMEBREW_NO_INSTALL_FROM_API\fP is set\. .RE .TP \fBHOMEBREW_AVOID_NESTED_SANDBOXING\fP If set, skip Homebrew\[u2019]s sandbox when it is itself running inside another sandbox, for an unprivileged user outside the default prefix\. This trades Homebrew\[u2019]s build\-time network and filesystem denial for trust in the outer sandbox\. Homebrew errors out if the prefix or group makes skipping unsupported\. .TP \fBHOMEBREW_BAT\fP If set, use \fBbat\fP for the \fBbrew cat\fP command\. .TP \fBHOMEBREW_BAT_CONFIG_PATH\fP Use this as the \fBbat\fP configuration file\. .RS .P \fIDefault:\fP \fB$BAT_CONFIG_PATH\fP\&\. .RE .TP \fBHOMEBREW_BAT_THEME\fP Use this as the \fBbat\fP theme for syntax highlighting\. .RS .P \fIDefault:\fP \fB$BAT_THEME\fP\&\. .RE .TP \fBHOMEBREW_BOTTLE_DOMAIN\fP Use this URL as the download mirror for bottles and their manifests\. If a bottle or manifest is unavailable at the mirror, the default bottle domain will be used as a fallback\. Prefer \fB$HOMEBREW_ARTIFACT_DOMAIN\fP for a mirror that transparently proxies all Homebrew downloads\. For example, \fBexport HOMEBREW_BOTTLE_DOMAIN=http://localhost:8080\fP will cause all bottles to download from the prefix \fBhttp://localhost:8080/\fP\&\. .RS .P \fIDefault:\fP \fBhttps://ghcr\.io/v2/homebrew/core\fP\&\. .RE .TP \fBHOMEBREW_BREW_GIT_REMOTE\fP Use this URL as the Homebrew/brew \fBgit\fP(1) remote\. .RS .P \fIDefault:\fP \fBhttps://github\.com/Homebrew/brew\fP\&\. .RE .TP \fBHOMEBREW_BROWSER\fP Use this as the browser when opening project homepages\. .RS .P \fIDefault:\fP \fB$BROWSER\fP or the OS\[u2019]s default browser\. .RE .TP \fBHOMEBREW_BUNDLE_CLEANUP_NO_BREW\fP If set, \fBbrew bundle cleanup\fP will not clean up formula dependencies\. .TP \fBHOMEBREW_BUNDLE_CLEANUP_NO_CARGO\fP If set, \fBbrew bundle cleanup\fP will not clean up Cargo packages\. .TP \fBHOMEBREW_BUNDLE_CLEANUP_NO_CASK\fP If set, \fBbrew bundle cleanup\fP will not clean up cask dependencies\. .TP \fBHOMEBREW_BUNDLE_CLEANUP_NO_FLATPAK\fP If set, \fBbrew bundle cleanup\fP will not clean up Flatpak packages\. .TP \fBHOMEBREW_BUNDLE_CLEANUP_NO_GO\fP If set, \fBbrew bundle cleanup\fP will not clean up Go packages\. .TP \fBHOMEBREW_BUNDLE_CLEANUP_NO_KREW\fP If set, \fBbrew bundle cleanup\fP will not clean up Krew plugins\. .TP \fBHOMEBREW_BUNDLE_CLEANUP_NO_MAS\fP If set, \fBbrew bundle cleanup\fP will not clean up Mac App Store dependencies\. .TP \fBHOMEBREW_BUNDLE_CLEANUP_NO_NPM\fP If set, \fBbrew bundle cleanup\fP will not clean up npm packages\. .TP \fBHOMEBREW_BUNDLE_CLEANUP_NO_TAP\fP If set, \fBbrew bundle cleanup\fP will not clean up tap dependencies\. .TP \fBHOMEBREW_BUNDLE_CLEANUP_NO_UV\fP If set, \fBbrew bundle cleanup\fP will not clean up uv tools\. .TP \fBHOMEBREW_BUNDLE_CLEANUP_NO_VSCODE\fP If set, \fBbrew bundle cleanup\fP will not clean up VSCode (and forks/variants) extensions\. .TP \fBHOMEBREW_BUNDLE_CLEANUP_NO_WINGET\fP If set, \fBbrew bundle cleanup\fP will not clean up WinGet packages\. .TP \fBHOMEBREW_BUNDLE_DUMP_NO_BREW\fP If set, \fBbrew bundle dump\fP will not dump formula dependencies\. .TP \fBHOMEBREW_BUNDLE_DUMP_NO_CARGO\fP If set, \fBbrew bundle dump\fP will not dump Cargo packages\. .TP \fBHOMEBREW_BUNDLE_DUMP_NO_CASK\fP If set, \fBbrew bundle dump\fP will not dump cask dependencies\. .TP \fBHOMEBREW_BUNDLE_DUMP_NO_FLATPAK\fP If set, \fBbrew bundle dump\fP will not dump Flatpak packages\. .TP \fBHOMEBREW_BUNDLE_DUMP_NO_GO\fP If set, \fBbrew bundle dump\fP will not dump Go packages\. .TP \fBHOMEBREW_BUNDLE_DUMP_NO_KREW\fP If set, \fBbrew bundle dump\fP will not dump Krew plugins\. .TP \fBHOMEBREW_BUNDLE_DUMP_NO_MAS\fP If set, \fBbrew bundle dump\fP will not dump Mac App Store dependencies\. .TP \fBHOMEBREW_BUNDLE_DUMP_NO_NPM\fP If set, \fBbrew bundle dump\fP will not dump npm packages\. .TP \fBHOMEBREW_BUNDLE_DUMP_NO_TAP\fP If set, \fBbrew bundle dump\fP will not dump tap dependencies\. .TP \fBHOMEBREW_BUNDLE_DUMP_NO_UV\fP If set, \fBbrew bundle dump\fP will not dump uv tools\. .TP \fBHOMEBREW_BUNDLE_DUMP_NO_VSCODE\fP If set, \fBbrew bundle dump\fP will not dump VSCode (and forks/variants) extensions\. .TP \fBHOMEBREW_BUNDLE_DUMP_NO_WINGET\fP If set, \fBbrew bundle dump\fP will not dump WinGet packages\. .TP \fBHOMEBREW_BUNDLE_FORCE_INSTALL_CLEANUP\fP If set, run \fBbrew bundle cleanup \-\-force\fP after \fBbrew bundle install\fP\&\. .TP \fBHOMEBREW_BUNDLE_JOBS\fP Use this value as the number of formula installations to run in parallel for \fBbrew bundle install\fP\&\. Use \fBauto\fP for the number of CPU cores (max 4)\. .RS .P \fIDefault:\fP \fBauto\fP\&\. .RE .TP \fBHOMEBREW_BUNDLE_NO_DESCRIBE\fP If set, do not enable bundle description comments from \fB$HOMEBREW_BUNDLE_DESCRIBE\fP or the default\. This does not disable an explicit \fB\-\-describe\fP\&\. .TP \fBHOMEBREW_BUNDLE_NO_JOBS\fP If set, do not enable parallel jobs from \fB$HOMEBREW_BUNDLE_JOBS\fP or its default\. This does not disable an explicit \fB\-\-jobs\fP\&\. .TP \fBHOMEBREW_BUNDLE_SECRETS\fP If set, do not enable the default secret scrubbing\. This does not disable an explicit \fB\-\-no\-secrets\fP\&\. .TP \fBHOMEBREW_BUNDLE_USER_CACHE\fP If set, use this directory as the \fBbundle\fP(1) user cache\. .TP \fBHOMEBREW_CACHE\fP Use this directory as the download cache\. .RS .P \fIDefault:\fP macOS: \fB~/Library/Caches/Homebrew\fP, Linux: \fB$XDG_CACHE_HOME/Homebrew\fP or \fB~/\.cache/Homebrew\fP\&\. .RE .TP \fBHOMEBREW_CASK_OPTS\fP Append these options to all \fBcask\fP commands\. All \fB\-\-*dir\fP options, \fB\-\-language\fP, \fB\-\-require\-sha\fP and \fB\-\-no\-binaries\fP are supported\. For example, you might add something like the following to your \fB~/\.profile\fP, \fB~/\.bash_profile\fP, or \fB~/\.zshenv\fP: .RS .P \fBexport HOMEBREW_CASK_OPTS="\-\-appdir=${HOME}/Applications \-\-fontdir=/Library/Fonts"\fP .RE .TP \fBHOMEBREW_CLEANUP_MAX_AGE_DAYS\fP Cleanup all cached files older than this many days\. .RS .P \fIDefault:\fP \fB120\fP\&\. .RE .TP \fBHOMEBREW_CLEANUP_PERIODIC_FULL_DAYS\fP If set, \fBbrew install\fP, \fBbrew upgrade\fP and \fBbrew reinstall\fP will cleanup all formulae when this number of days has passed\. .RS .P \fIDefault:\fP \fB30\fP\&\. .RE .TP \fBHOMEBREW_COLOR\fP If set, force colour output on non\-TTY outputs\. .TP \fBHOMEBREW_CORE_GIT_REMOTE\fP Use this URL as the Homebrew/homebrew\-core \fBgit\fP(1) remote\. .RS .P \fIDefault:\fP \fBhttps://github\.com/Homebrew/homebrew\-core\fP\&\. .RE .TP \fBHOMEBREW_CURLRC\fP If set to an absolute path (i\.e\. beginning with \fB/\fP), pass it with \fB\-\-config\fP when invoking \fBcurl\fP(1)\. If set but \fInot\fP a valid path, do not pass \fB\-\-disable\fP, which disables the use of \fB\&\.curlrc\fP\&\. .TP \fBHOMEBREW_CURL_PATH\fP Linux only: Set this value to a new enough \fBcurl\fP executable for Homebrew to use\. .RS .P \fIDefault:\fP \fBcurl\fP\&\. .RE .TP \fBHOMEBREW_CURL_RETRIES\fP Pass the given retry count to \fB\-\-retry\fP when invoking \fBcurl\fP(1)\. .RS .P \fIDefault:\fP \fB3\fP\&\. .RE .TP \fBHOMEBREW_CURL_VERBOSE\fP If set, pass \fB\-\-verbose\fP when invoking \fBcurl\fP(1)\. .TP \fBHOMEBREW_DEBUG\fP If set, always assume \fB\-\-debug\fP when running commands\. .TP \fBHOMEBREW_DEVELOPER\fP If set, tweak behaviour to be more relevant for Homebrew developers (active or budding) by e\.g\. turning warnings into errors\. .TP \fBHOMEBREW_DISABLE_DEBREW\fP If set, the interactive formula debugger available via \fB\-\-debug\fP will be disabled\. .TP \fBHOMEBREW_DISABLE_LOAD_FORMULA\fP If set, refuse to load formulae\. This is useful when formulae are not trusted (such as in pull requests)\. .TP \fBHOMEBREW_DISPLAY\fP Use this X11 display when opening a page in a browser, for example with \fBbrew home\fP\&\. Primarily useful on Linux\. .RS .P \fIDefault:\fP \fB$DISPLAY\fP\&\. .RE .TP \fBHOMEBREW_DISPLAY_INSTALL_TIMES\fP If set, print install times for each formula at the end of the run\. .TP \fBHOMEBREW_DOCKER_REGISTRY_BASIC_AUTH_TOKEN\fP Use this base64 encoded username and password for authenticating with a Docker registry proxying GitHub Packages\. If set to \fBnone\fP, no authentication header will be sent\. This can be used, if remote \fB$HOMEBREW_ARTIFACT_DOMAIN\fP does not support any authentication\. If \fB$HOMEBREW_DOCKER_REGISTRY_TOKEN\fP is set, it will be used instead\. .TP \fBHOMEBREW_DOCKER_REGISTRY_TOKEN\fP Use this bearer token for authenticating with a Docker registry proxying GitHub Packages\. Preferred over \fB$HOMEBREW_DOCKER_REGISTRY_BASIC_AUTH_TOKEN\fP\&\. .TP \fBHOMEBREW_DOWNLOAD_CONCURRENCY\fP Homebrew will download in parallel using this many concurrent connections\. The default, \fBauto\fP, will use twice the number of available CPU cores (what our benchmarks showed to produce the best performance)\. If set to \fB1\fP, Homebrew will download in serial\. .RS .P \fIDefault:\fP \fBauto\fP\&\. .RE .TP \fBHOMEBREW_EDITOR\fP Use this editor when editing a single formula, or several formulae in the same directory\. .RS .P \fINote:\fP \fBbrew edit\fP will open all of Homebrew as discontinuous files and directories\. Visual Studio Code can handle this correctly in project mode, but many editors will do strange things in this case\. .P \fIDefault:\fP \fB$EDITOR\fP or \fB$VISUAL\fP\&\. .RE .TP \fBHOMEBREW_ENV_SYNC_STRICT\fP If set, \fBbrew *env\-sync\fP will only sync the exact installed versions of formulae\. .TP \fBHOMEBREW_FAIL_LOG_LINES\fP Output this many lines of output on formula \fBsystem\fP failures\. .RS .P \fIDefault:\fP \fB15\fP\&\. .RE .TP \fBHOMEBREW_FORBIDDEN_CASKS\fP A space\-separated list of casks\. Homebrew will refuse to install a cask if it or any of its dependencies is on this list\. .TP \fBHOMEBREW_FORBIDDEN_CASK_ARTIFACTS\fP A space\-separated list of cask artifact types (e\.g\. \fBpkg installer\fP) that should be forbidden during cask installation\. Valid values: \fBpkg\fP, \fBinstaller\fP, \fBbinary\fP, \fBuninstall\fP, \fBzap\fP, \fBapp\fP, \fBsuite\fP, \fBartifact\fP, \fBprefpane\fP, \fBqlplugin\fP, \fBdictionary\fP, \fBfont\fP, \fBservice\fP, \fBcolorpicker\fP, \fBinputmethod\fP, \fBinternetplugin\fP, \fBaudiounitplugin\fP, \fBvstplugin\fP, \fBvst3plugin\fP, \fBscreensaver\fP, \fBkeyboardlayout\fP, \fBmdimporter\fP, \fBpreflight\fP, \fBpostflight\fP, \fBmanpage\fP, \fBbashcompletion\fP, \fBfishcompletion\fP, \fBzshcompletion\fP, \fBstageonly\fP\&\. .TP \fBHOMEBREW_FORBIDDEN_FORMULAE\fP A space\-separated list of formulae\. Homebrew will refuse to install a formula or cask if it or any of its dependencies is on this list\. .TP \fBHOMEBREW_FORBIDDEN_LICENSES\fP A space\-separated list of SPDX licence identifiers\. Homebrew will refuse to install a formula if it or any of its dependencies has a licence on this list\. .TP \fBHOMEBREW_FORBIDDEN_OWNER\fP The person who has set any \fB$HOMEBREW_FORBIDDEN_*\fP variables\. .RS .P \fIDefault:\fP \fByou\fP\&\. .RE .TP \fBHOMEBREW_FORBIDDEN_OWNER_CONTACT\fP How to contact the \fB$HOMEBREW_FORBIDDEN_OWNER\fP, if set and necessary\. .TP \fBHOMEBREW_FORBIDDEN_TAPS\fP A space\-separated list of taps\. Homebrew will refuse to install a formula if it or any of its dependencies is in a tap on this list\. Each entry is a \fBuser/repository\fP name (which matches only taps using the default GitHub remote) or a remote URL (required to match taps with a custom remote)\. .TP \fBHOMEBREW_FORBID_CASKS\fP If set, Homebrew will refuse to install any casks\. .TP \fBHOMEBREW_FORBID_PACKAGES_FROM_PATHS\fP If set, Homebrew will refuse to read formulae or casks provided from file paths, e\.g\. \fBbrew install \./package\.rb\fP\&\. .RS .P \fIDefault:\fP true unless \fB$HOMEBREW_DEVELOPER\fP is set\. .RE .TP \fBHOMEBREW_FORCE_API_AUTO_UPDATE\fP If set, update the Homebrew API formula or cask data even if \fB$HOMEBREW_NO_AUTO_UPDATE\fP is set\. .TP \fBHOMEBREW_FORCE_BREWED_CA_CERTIFICATES\fP If set, always use a Homebrew\-installed \fBca\-certificates\fP rather than the system version\. Automatically set if the system version is too old\. .TP \fBHOMEBREW_FORCE_BREWED_CURL\fP If set, always use a Homebrew\-installed \fBcurl\fP(1) rather than the system version\. Automatically set if the system version of \fBcurl\fP is too old\. .TP \fBHOMEBREW_FORCE_BREWED_GIT\fP If set, always use a Homebrew\-installed \fBgit\fP(1) rather than the system version\. Automatically set if the system version of \fBgit\fP is too old\. .TP \fBHOMEBREW_FORCE_BREW_WRAPPER\fP If set, require \fBbrew\fP to be invoked by the value of \fB$HOMEBREW_FORCE_BREW_WRAPPER\fP for non\-trivial \fBbrew\fP commands\. .TP \fBHOMEBREW_FORCE_BREW_WRAPPER_HELP_MESSAGE\fP If set, appended to the \fB$HOMEBREW_FORCE_BREW_WRAPPER\fP error message to provide additional help or context to the user\. .TP \fBHOMEBREW_FORCE_VENDOR_RUBY\fP If set, always use Homebrew\[u2019]s vendored, relocatable Ruby version even if the system version of Ruby is new enough\. .TP \fBHOMEBREW_FORMULA_BUILD_NETWORK\fP If set, controls network access to the sandbox for formulae builds\. Overrides any controls set through DSL usage inside formulae\. Must be \fBallow\fP or \fBdeny\fP\&\. If no value is set through this environment variable or DSL usage, the default behaviour is \fBallow\fP\&\. .TP \fBHOMEBREW_FORMULA_POSTINSTALL_NETWORK\fP If set, controls network access to the sandbox for formulae postinstall\. Overrides any controls set through DSL usage inside formulae\. Must be \fBallow\fP or \fBdeny\fP\&\. If no value is set through this environment variable or DSL usage, the default behaviour is \fBallow\fP\&\. .TP \fBHOMEBREW_FORMULA_TEST_NETWORK\fP If set, controls network access to the sandbox for formulae test\. Overrides any controls set through DSL usage inside formulae\. Must be \fBallow\fP or \fBdeny\fP\&\. If no value is set through this environment variable or DSL usage, the default behaviour is \fBallow\fP\&\. .TP \fBHOMEBREW_GITHUB_API_TOKEN\fP Use this personal access token for the GitHub API, for features such as \fBbrew search\fP\&\. You can create one at .UR https://github\.com/settings/tokens .UE \&\. If set, GitHub will allow you a greater number of API requests\. For more information, see: .UR https://docs\.github\.com/en/rest/overview/rate\-limits\-for\-the\-rest\-api .UE .RS .P \fINote:\fP Homebrew doesn\[u2019]t require permissions for any of the scopes, but some developer commands may require additional permissions\. .RE .TP \fBHOMEBREW_GITHUB_PACKAGES_TOKEN\fP Use this GitHub personal access token when accessing the GitHub Packages Registry (where bottles may be stored)\. .TP \fBHOMEBREW_GITHUB_PACKAGES_USER\fP Use this username when accessing the GitHub Packages Registry (where bottles may be stored)\. .TP \fBHOMEBREW_GIT_COMMITTER_EMAIL\fP Set the Git committer email to this value\. .TP \fBHOMEBREW_GIT_COMMITTER_NAME\fP Set the Git committer name to this value\. .TP \fBHOMEBREW_GIT_EMAIL\fP Set the Git author name and, if \fB$HOMEBREW_GIT_COMMITTER_EMAIL\fP is unset, committer email to this value\. .TP \fBHOMEBREW_GIT_NAME\fP Set the Git author name and, if \fB$HOMEBREW_GIT_COMMITTER_NAME\fP is unset, committer name to this value\. .TP \fBHOMEBREW_GIT_PATH\fP Linux only: Set this value to a new enough \fBgit\fP executable for Homebrew to use\. .RS .P \fIDefault:\fP \fBgit\fP\&\. .RE .TP \fBHOMEBREW_INSTALL_BADGE\fP Print this text before the installation summary of each successful build\. .RS .P \fIDefault:\fP The \[u201c]Beer Mug\[u201d] emoji\. .RE .TP \fBHOMEBREW_LIVECHECK_AUTOBUMP\fP If set, \fBbrew livecheck\fP will include data for packages that are autobumped by BrewTestBot\. .TP \fBHOMEBREW_LIVECHECK_WATCHLIST\fP Consult this file for the list of formulae to check by default when no formula argument is passed to \fBbrew livecheck\fP\&\. .RS .P \fIDefault:\fP \fB${XDG_CONFIG_HOME}/homebrew/livecheck_watchlist\.txt\fP if \fB$XDG_CONFIG_HOME\fP is set or \fB~/\.homebrew/livecheck_watchlist\.txt\fP otherwise\. .RE .TP \fBHOMEBREW_LOCK_CONTEXT\fP If set, Homebrew will add this output as additional context for locking errors\. This is useful when running \fBbrew\fP in the background\. .TP \fBHOMEBREW_LOGS\fP Use this directory to store log files\. .RS .P \fIDefault:\fP macOS: \fB~/Library/Logs/Homebrew\fP, Linux: \fB${XDG_CACHE_HOME}/Homebrew/Logs\fP or \fB~/\.cache/Homebrew/Logs\fP\&\. .RE .TP \fBHOMEBREW_MAKE_JOBS\fP Use this value as the number of parallel jobs to run when building with \fBmake\fP(1)\. .RS .P \fIDefault:\fP The number of available CPU cores\. .RE .TP \fBHOMEBREW_NO_ANALYTICS\fP If set, do not send analytics\. Google Analytics were destroyed\. For more information, see: .UR https://docs\.brew\.sh/Analytics .UE .TP \fBHOMEBREW_NO_ASK\fP If set, do not enable default ask mode\. This does not disable an explicit \fB\-\-ask\fP\&\. .TP \fBHOMEBREW_NO_AUTOREMOVE\fP If set, calls to \fBbrew cleanup\fP and \fBbrew uninstall\fP will not automatically remove unused formula dependents\. .TP \fBHOMEBREW_NO_AUTO_UPDATE\fP If set, do not automatically update before running some commands, e\.g\. \fBbrew install\fP, \fBbrew upgrade\fP or \fBbrew tap\fP\&\. Preferably, run this less often by setting \fB$HOMEBREW_AUTO_UPDATE_SECS\fP to a value higher than the default\. Note that setting this and e\.g\. tapping new taps may result in a broken configuration\. Please ensure you always run \fBbrew update\fP before reporting any issues\. .TP \fBHOMEBREW_NO_BOOTSNAP\fP If set, do not use Bootsnap to speed up repeated \fBbrew\fP calls\. .TP \fBHOMEBREW_NO_CLEANUP_FORMULAE\fP A comma\-separated list of formulae\. Homebrew will refuse to clean up or autoremove a formula if it appears on this list\. .TP \fBHOMEBREW_NO_COLOR\fP If set, do not print text with colour added\. .RS .P \fIDefault:\fP \fB$NO_COLOR\fP\&\. .RE .TP \fBHOMEBREW_NO_EMOJI\fP If set, do not print \fB$HOMEBREW_INSTALL_BADGE\fP on a successful build\. .TP \fBHOMEBREW_NO_ENV_HINTS\fP If set, do not print any hints about changing Homebrew\[u2019]s behaviour with environment variables\. .TP \fBHOMEBREW_NO_FORCE_BREW_WRAPPER\fP \fBDeprecated:\fP If set, disables \fB$HOMEBREW_FORCE_BREW_WRAPPER\fP behaviour, even if set\. .TP \fBHOMEBREW_NO_GITHUB_API\fP If set, do not use the GitHub API, e\.g\. for searches or fetching relevant issues after a failed install\. .TP \fBHOMEBREW_NO_INSECURE_REDIRECT\fP If set, forbid redirects from secure HTTPS to insecure HTTP\. .RS .P \fINote:\fP while ensuring your downloads are fully secure, this is likely to cause sources for certain formulae hosted by SourceForge, GNU or GNOME to fail to download\. .RE .TP \fBHOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK\fP If set, do not check for broken linkage of dependents or outdated dependents after installing, upgrading or reinstalling formulae\. This will result in fewer dependents (and their dependencies) being upgraded or reinstalled but may result in more breakage from running \fBbrew install\fP \fIformula\fP or \fBbrew upgrade\fP \fIformula\fP\&\. .TP \fBHOMEBREW_NO_INSTALL_CLEANUP\fP If set, \fBbrew install\fP, \fBbrew upgrade\fP and \fBbrew reinstall\fP will never automatically cleanup installed/upgraded/reinstalled formulae or all formulae every \fB$HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS\fP days\. Alternatively, \fB$HOMEBREW_NO_CLEANUP_FORMULAE\fP allows specifying specific formulae to not clean up\. .TP \fBHOMEBREW_NO_INSTALL_FROM_API\fP If set, do not install formulae and casks in homebrew/core and homebrew/cask taps using Homebrew\[u2019]s API and instead use (large, slow) local checkouts of these repositories\. .TP \fBHOMEBREW_NO_INSTALL_UPGRADE\fP If set, \fBbrew install\fP \fIformula|cask\fP will not upgrade \fIformula|cask\fP if it is installed but outdated\. .TP \fBHOMEBREW_NO_PATH_SHADOW_CHECK\fP If set, \fBbrew info\fP and \fBbrew install\fP will not warn when a formula\[u2019]s executables are shadowed by other commands earlier on \fB$PATH\fP\&\. .TP \fBHOMEBREW_NO_REQUIRE_TAP_TRUST\fP If set, do not require non\-official tap formulae, casks or commands to be trusted\. This is not recommended and will be removed in a later release\. Also enables commands that evaluate all formulae and casks\. .TP \fBHOMEBREW_NO_SANDBOX_LINUX\fP If set, disable the Linux sandbox\. .TP \fBHOMEBREW_NO_UPDATE_REPORT_NEW\fP If set, \fBbrew update\fP will not show the list of newly added formulae/casks\. .TP \fBHOMEBREW_NO_UPGRADE_AUTO_UPDATES_CASKS\fP If set, \fBbrew upgrade\fP will not automatically upgrade casks with \fBauto_updates true\fP\&\. Does not affect \fB\-\-greedy\fP or \fB\-\-greedy\-auto\-updates\fP upgrades\. .TP \fBHOMEBREW_NO_UPGRADE_QUIT_CASKS\fP If set, \fBbrew upgrade\fP will not quit running applications for casks during upgrades\. .TP \fBHOMEBREW_NO_VERIFY_ATTESTATIONS\fP If set, Homebrew will not verify cryptographic attestations of build provenance for bottles from homebrew\-core\. .TP \fBHOMEBREW_PIP_INDEX_URL\fP If set, \fBbrew install\fP \fIformula\fP will use this URL to download PyPI package resources\. .RS .P \fIDefault:\fP \fBhttps://pypi\.org/simple\fP\&\. .RE .TP \fBHOMEBREW_REQUIRE_TAP_TRUST\fP If set, require non\-official tap formulae, casks and commands to be trusted with \fBbrew trust\fP before Homebrew loads them\. This is the default unless \fB$HOMEBREW_NO_REQUIRE_TAP_TRUST\fP is set\. Also enables commands that evaluate all formulae and casks\. .RS .P \fIDefault:\fP \fBtrue\fP\&\. .RE .TP \fBHOMEBREW_SIMULATE_MACOS_ON_LINUX\fP If set, running Homebrew on Linux will simulate certain macOS code paths\. This is useful when auditing macOS formulae while on Linux\. .TP \fBHOMEBREW_SKIP_OR_LATER_BOTTLES\fP If set along with \fB$HOMEBREW_DEVELOPER\fP, do not use bottles from older versions of macOS\. This is useful in development on new macOS versions\. .TP \fBHOMEBREW_SORBET_RECURSIVE\fP If set along with \fB$HOMEBREW_SORBET_RUNTIME\fP, enable recursive typechecking using Sorbet\. Automatically enabled when running \fBbrew tests\fP\&\. .TP \fBHOMEBREW_SORBET_RUNTIME\fP If set, enable runtime typechecking using Sorbet\. Set by default when running \fBbrew test\fP, \fBbrew test\-bot\fP or \fBbrew tests\fP\&\. .TP \fBHOMEBREW_SSH_CONFIG_PATH\fP If set, Homebrew will use the given config file instead of \fB~/\.ssh/config\fP when fetching Git repositories over SSH\. .RS .P \fIDefault:\fP \fB~/\.ssh/config\fP .RE .TP \fBHOMEBREW_SUDO_THROUGH_SUDO_USER\fP If set, Homebrew will use the \fB$SUDO_USER\fP environment variable to define the user to \fBsudo\fP(8) through when running \fBsudo\fP(8)\. .TP \fBHOMEBREW_SVN\fP Use this as the \fBsvn\fP(1) binary\. .RS .P \fIDefault:\fP A Homebrew\-built Subversion (if installed), or the system\-provided binary\. .RE .TP \fBHOMEBREW_SYSTEM_ENV_TAKES_PRIORITY\fP If set in Homebrew\[u2019]s system\-wide environment file (\fB/etc/homebrew/brew\.env\fP), the system\-wide environment file will be loaded last to override any prefix or user settings\. .TP \fBHOMEBREW_TEMP\fP Use this path as the temporary directory for building packages\. Changing this may be needed if your system temporary directory and Homebrew prefix are on different volumes, as macOS has trouble moving symlinks across volumes when the target does not yet exist\. This issue typically occurs when using FileVault or custom SSD configurations\. .RS .P \fIDefault:\fP macOS: \fB/private/tmp\fP, Linux: \fB/var/tmp\fP\&\. .RE .TP \fBHOMEBREW_UPDATE_TO_TAG\fP If set, always use the latest stable tag (even if developer commands have been run)\. .TP \fBHOMEBREW_UPGRADE_GREEDY\fP If set, pass \fB\-\-greedy\fP to all cask upgrade commands\. .TP \fBHOMEBREW_UPGRADE_GREEDY_CASKS\fP A space\-separated list of casks\. Homebrew will act as if \fB\-\-greedy\fP was passed when upgrading any cask on this list\. .TP \fBHOMEBREW_VERBOSE\fP If set, always assume \fB\-\-verbose\fP when running commands\. .TP \fBHOMEBREW_VERBOSE_USING_DOTS\fP If set, verbose output will print a \fB\&\.\fP no more than once a minute\. This can be useful to avoid long\-running Homebrew commands being killed due to no output\. .TP \fBHOMEBREW_VERIFY_ATTESTATIONS\fP If set, Homebrew will use the \fBgh\fP tool to verify cryptographic attestations of build provenance for bottles from homebrew\-core\. .TP \fBSUDO_ASKPASS\fP If set, pass the \fB\-A\fP option when calling \fBsudo\fP(8)\. .TP \fBall_proxy\fP Use this SOCKS5 proxy for \fBcurl\fP(1), \fBgit\fP(1) and \fBsvn\fP(1) when downloading through Homebrew\. .TP \fBftp_proxy\fP Use this FTP proxy for \fBcurl\fP(1), \fBgit\fP(1) and \fBsvn\fP(1) when downloading through Homebrew\. .TP \fBhttp_proxy\fP Use this HTTP proxy for \fBcurl\fP(1), \fBgit\fP(1) and \fBsvn\fP(1) when downloading through Homebrew\. .TP \fBhttps_proxy\fP Use this HTTPS proxy for \fBcurl\fP(1), \fBgit\fP(1) and \fBsvn\fP(1) when downloading through Homebrew\. .TP \fBno_proxy\fP A comma\-separated list of hostnames and domain names excluded from proxying by \fBcurl\fP(1), \fBgit\fP(1) and \fBsvn\fP(1) when downloading through Homebrew\. .SH "USING HOMEBREW BEHIND A PROXY" Set the \fBhttp_proxy\fP, \fBhttps_proxy\fP, \fBall_proxy\fP, \fBftp_proxy\fP and/or \fBno_proxy\fP environment variables documented above\. .P For example, to use an unauthenticated HTTP or SOCKS5 proxy: .sp .RS 4 .EX export http_proxy=http://$HOST:$PORT export all_proxy=socks5://$HOST:$PORT .EE .RE .P And for an authenticated HTTP proxy: .sp .RS 4 .EX export http_proxy=http://$USER:$PASSWORD@$HOST:$PORT .EE .RE .SH "SEE ALSO" Homebrew Documentation: .UR https://docs\.brew\.sh .UE .P Homebrew API: .UR https://docs\.brew\.sh/rubydoc/ .UE .P \fBgit\fP(1), \fBgit\-log\fP(1) .SH "AUTHORS" Homebrew\[u2019]s Project Leader is Mike McQuaid\. .P Homebrew\[u2019]s Lead Maintainers are Bevan Kay, Carlo Cabrera, Issy Long, Justin Krehel, Michael Cho, Mike McQuaid, Nanda H Krishna, Patrick Linnane, Rui Chen, Ruoyu Zhong, Sam Ford and Sean Molenaar\. .P Homebrew\[u2019]s other Maintainers are Andrew Nesbitt, Anton Melnikov, Bo Anderson, Branch Vincent, Caleb Xu, Daeho Ro, Douglas Eichelberger, Dustin Rodrigues, FX Coudert, Klaus Hipp, Markus Reiter, Michka Popoff, Rylan Polster, Stefan Baebler, Thierry Moisan and William Woodruff\. .SH "BUGS" See our issues on GitHub: .TP \fBHomebrew/brew\fP .UR https://github\.com/Homebrew/brew/issues .UE .TP \fBHomebrew/homebrew\-core\fP .UR https://github\.com/Homebrew/homebrew\-core/issues .UE .TP \fBHomebrew/homebrew\-cask\fP .UR https://github\.com/Homebrew/homebrew\-cask/issues .UE