2010-06-15 11:53:46 -07:00
. \" generated with Ronn/v0.7.3
. \" http://github.com/rtomayko/ronn/tree/0.7.3
2010-06-03 22:29:20 -07:00
.
2019-08-19 14:27:42 +10:00
.TH "BREW" "1" "August 2019" "Homebrew" "brew"
2010-06-03 22:29:20 -07:00
.
.SH "NAME"
2016-09-18 19:57:19 +01:00
\fB brew\fR \- The missing package manager for macOS
2010-06-03 22:29:20 -07:00
.
.SH "SYNOPSIS"
2015-10-09 02:44:10 -04:00
\fB brew\fR \fB \- \- version\fR
2013-04-09 16:47:00 -05:00
.
.br
2015-10-09 02:44:10 -04:00
\fB brew\fR \fI command\fR [\fB \- \- verbose\fR |\fB \- v\fR ] [\fI options\fR ] [\fI formula\fR ] \. \. \.
2010-06-03 22:29:20 -07:00
.
.SH "DESCRIPTION"
2016-09-18 19:57:19 +01:00
Homebrew is the easiest and most flexible way to install the UNIX tools Apple didn\' t include with macOS\.
2010-06-03 22:29:20 -07:00
.
2011-05-30 21:34:42 -07:00
.SH "ESSENTIAL COMMANDS"
2015-10-09 02:44:10 -04:00
For the full command list, see the \fI COMMANDS\fR section\.
2011-05-30 21:34:42 -07:00
.
2012-11-23 11:48:10 -08:00
.P
2019-08-20 02:14:09 -04:00
With \fB \- \- verbose\fR or \fB \- \- debug\fR , many commands print extra debugging information\. Note that these options should only appear after a command\.
2012-11-23 11:48:10 -08:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBinstall\fR \fIformula\fR:"
2011-05-30 21:34:42 -07:00
Install \fI formula\fR \.
.
2019-08-20 02:14:09 -04:00
.P
\fI formula\fR is usually the name of the formula to install, but it has other syntaxes which are listed in the \fI SPECIFYING FORMULAE\fR section\.
.
2019-01-30 21:35:32 +00:00
.SS "\fBuninstall\fR \fIformula\fR:"
2011-05-30 21:34:42 -07:00
Uninstall \fI formula\fR \.
.
2019-01-30 21:35:32 +00:00
.SS "\fBlist\fR:"
2011-05-30 21:34:42 -07:00
List all installed formulae\.
.
2019-01-30 21:35:32 +00:00
.SS "\fBsearch\fR (\fItext\fR|\fB/\fR\fItext\fR\fB/\fR):"
2019-08-20 02:14:09 -04:00
Perform a substring search of cask tokens and formula names for \fI text\fR \. If \fI text\fR is flanked by slashes, it is interpreted as a regular expression\. The search for \fI text\fR is extended online to \fB homebrew/core\fR and \fB homebrew/cask\fR \. If no search term is provided, all locally available formulae are listed\.
2011-05-30 21:34:42 -07:00
.
2010-06-03 22:29:20 -07:00
.SH "COMMANDS"
.
2019-08-20 02:14:09 -04:00
.SS "\fBanalytics\fR [\fIsubcommand\fR]"
2019-03-09 13:00:15 -05:00
If \fB on\fR or \fB off\fR is passed, turn Homebrew\' s analytics on or off respectively\.
2016-05-01 22:04:46 +08:00
.
2019-01-30 21:35:32 +00:00
.P
2019-08-20 02:14:09 -04:00
If \fB state\fR is passed, display the current anonymous user behaviour analytics state\. Read more at \fI https://docs\. brew\. sh/Analytics\fR \.
2016-05-01 22:04:46 +08:00
.
2019-01-30 21:35:32 +00:00
.P
2019-08-20 02:14:09 -04:00
If \fB regenerate\- uuid\fR is passed, regenerate the UUID used in Homebrew\' s analytics\.
2016-05-01 22:04:46 +08:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBcat\fR \fIformula\fR"
2019-02-01 13:57:50 +00:00
Display the source of \fI formula\fR \.
2011-05-04 21:36:49 -05:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBcleanup\fR [\fIoptions\fR] [\fIformula\fR|\fIcask\fR]"
2019-08-20 02:14:09 -04:00
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\.
2010-06-15 11:53:46 -07:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- prune\fR
Remove all cache files older than specified \fI days\fR \.
2011-11-07 22:46:36 -06:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- n\fR , \fB \- \- dry\- run\fR
Show what would be removed, but do not actually remove anything\.
2012-03-06 20:12:42 +00:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- s\fR
Scrub the cache, including downloads for even the latest versions\. Note downloads for any installed formula or cask will still not be deleted\. If you want to delete those too: \fB rm \- rf "$(brew \- \- cache)"\fR
.
2019-02-13 09:39:21 +00:00
.TP
\fB \- \- prune\- prefix\fR
Only prune the symlinks and directories from the prefix and remove no other files\.
.
2019-01-30 21:35:32 +00:00
.SS "\fBcommand\fR \fIcmd\fR"
2019-08-20 02:14:09 -04:00
Display the path to the file being used when invoking \fB brew\fR \fI cmd\fR \.
2015-06-26 15:19:27 +08:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBcommands\fR [\fIoptions\fR]"
2019-08-20 02:14:09 -04:00
Show lists of built\- in and external commands\.
2015-07-09 19:50:53 +08:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-08-21 12:42:09 -04:00
\fB \- q\fR , \fB \- \- quiet\fR
List only the names of commands without category headers\.
.
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- include\- aliases\fR
2019-08-20 02:14:09 -04:00
Include aliases of internal commands\.
2019-01-30 21:35:32 +00:00
.
.SS "\fBconfig\fR"
2019-08-20 02:14:09 -04:00
Show Homebrew and system configuration info useful for debugging\. If you file a bug report, you will be required to provide this information\.
2014-04-26 23:31:39 -07:00
.
2019-08-20 02:14:09 -04:00
.SS "\fBdeps\fR [\fIoptions\fR] [\fIformula\fR]"
2019-03-14 16:44:17 -04:00
Show dependencies for \fI formula\fR \. Additional options specific to \fI formula\fR may be appended to the command\. When given multiple formula arguments, show the intersection of dependencies for each formula\.
2010-06-03 22:29:20 -07:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- n\fR
2019-08-20 02:14:09 -04:00
Sort dependencies in topological order\.
2011-10-12 02:20:07 -05:00
.
2019-01-30 21:35:32 +00:00
.TP
2019-03-14 16:44:17 -04:00
\fB \- \- 1\fR
Only show dependencies one level down, instead of recursing\.
.
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- union\fR
2019-03-14 16:44:17 -04:00
Show the union of dependencies for multiple \fI formula\fR , instead of the intersection\.
2014-05-06 21:10:50 -05:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- full\- name\fR
List dependencies by their full name\.
2016-08-25 22:30:43 -07:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- include\- build\fR
2019-03-14 16:44:17 -04:00
Include \fB :build\fR dependencies for \fI formula\fR \.
2011-06-15 09:02:18 -07:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- include\- optional\fR
2019-03-14 16:44:17 -04:00
Include \fB :optional\fR dependencies for \fI formula\fR \.
2017-08-03 00:41:51 -04:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- include\- test\fR
2019-03-14 16:44:17 -04:00
Include \fB :test\fR dependencies for \fI formula\fR (non\- recursive)\.
2013-04-03 11:21:17 -05:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- skip\- recommended\fR
2019-03-14 16:44:17 -04:00
Skip \fB :recommended\fR dependencies for \fI formula\fR \.
2017-08-03 00:41:51 -04:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- include\- requirements\fR
Include requirements in addition to dependencies for \fI formula\fR \.
2016-05-01 17:09:42 +02:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- tree\fR
2019-03-14 16:44:17 -04:00
Show dependencies as a tree\. When given multiple formula arguments, show individual trees for each formula\.
2016-05-01 17:09:42 +02:00
.
2019-01-30 21:35:32 +00:00
.TP
2019-03-06 23:44:46 -05:00
\fB \- \- annotate\fR
Mark any build, test, optional, or recommended dependencies as such in the output\.
.
.TP
2019-03-14 16:44:17 -04:00
\fB \- \- installed\fR
List dependencies for formulae that are currently installed\. If \fI formula\fR is specified, list only its dependencies that are currently installed\.
.
.TP
\fB \- \- all\fR
List dependencies for all available formulae\.
.
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- for\- each\fR
2019-08-20 02:14:09 -04:00
Switch into the mode used by the \fB \- \- all\fR option, but only list dependencies for each provided \fI formula\fR , one formula per line\. This is used for debugging the \fB \- \- installed\fR /\fB \- \- all\fR display mode\.
2015-04-27 11:58:52 +08:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBdesc\fR [\fIoptions\fR] (\fItext\fR|\fB/\fR\fItext\fR\fB/\fR|\fIformula\fR)"
Display \fI formula\fR \' s name and one\- line description\. Formula descriptions are cached; the cache is created on the first search, making that search slower than subsequent ones\.
2019-01-30 13:18:02 +00:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- s\fR , \fB \- \- search\fR
2019-08-20 02:14:09 -04:00
Search both names and descriptions for \fI text\fR \. If \fI text\fR is flanked by slashes, it is interpreted as a regular expression\.
2015-05-05 15:29:01 -07:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- n\fR , \fB \- \- name\fR
2019-08-20 02:14:09 -04:00
Search just names for \fI text\fR \. If \fI text\fR is flanked by slashes, it is interpreted as a regular expression\.
2015-05-05 15:29:01 -07:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- d\fR , \fB \- \- description\fR
2019-08-20 02:14:09 -04:00
Search just descriptions for \fI text\fR \. If \fI text\fR is flanked by slashes, it is interpreted as a regular expression\.
2011-10-12 02:23:29 -05:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBdiy\fR [\fIoptions\fR]"
Automatically determine the installation prefix for non\- Homebrew software\. Using the output from this command, you can install your own software into the Cellar and then link it into Homebrew\' s prefix with \fB brew link\fR \.
2011-10-12 02:23:29 -05:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- name\fR
2019-08-20 02:14:09 -04:00
Explicitly set the \fI name\fR of the package being installed\.
2011-10-12 02:23:29 -05:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- version\fR
2019-08-20 02:14:09 -04:00
Explicitly set the \fI version\fR of the package being installed\.
2019-01-30 21:35:32 +00:00
.
.SS "\fBdoctor\fR [\fIoptions\fR]"
2019-08-20 02:14:09 -04:00
Check your system for potential problems\. Will exit with a non\- zero status if any potential problems are found\. 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\' t worry or file an issue; just ignore this\.
2010-11-06 14:18:15 -07:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- list\- checks\fR
List all audit methods\.
2014-06-03 20:27:01 -07:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- D\fR , \fB \- \- audit\- debug\fR
Enable debugging and profiling of audit methods\.
2011-05-31 12:20:06 -07:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBfetch\fR [\fIoptions\fR] \fIformula\fR"
2019-08-20 02:14:09 -04:00
Download a bottle (if available) or source packages for \fI formula\fR \. For tarballs, also print SHA\- 256 checksums\.
2011-05-31 12:20:06 -07:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- HEAD\fR
Fetch HEAD version instead of stable version\.
2016-05-09 15:37:01 +02:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- devel\fR
Fetch development version instead of stable version\.
2010-06-03 22:29:20 -07:00
.
2019-01-30 21:35:32 +00:00
.TP
2019-08-21 12:42:09 -04:00
\fB \- f\fR , \fB \- \- force\fR
Remove a previously cached version and re\- fetch\.
.
.TP
\fB \- v\fR , \fB \- \- verbose\fR
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
2019-01-30 21:35:32 +00:00
\fB \- \- retry\fR
2019-08-20 02:14:09 -04:00
Retry if downloading fails or re\- download if the checksum of a previously cached version no longer matches\.
2013-07-12 15:24:39 +01:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- deps\fR
2019-08-20 02:14:09 -04:00
Also download dependencies for any listed \fI formula\fR \.
2014-03-04 18:27:11 -08:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- s\fR , \fB \- \- build\- from\- source\fR
2019-08-20 02:14:09 -04:00
Download source packages rather than a bottle\.
2016-05-08 20:39:22 -06:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- build\- bottle\fR
2019-08-20 02:14:09 -04:00
Download source packages (for eventual bottling) rather than a bottle\.
2016-05-08 20:39:22 -06:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- force\- bottle\fR
Download a bottle if it exists for the current or newest version of macOS, even if it would not be used during installation\.
2018-02-01 16:06:17 -05:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBgist\-logs\fR [\fIoptions\fR] \fIformula\fR"
2019-08-20 02:14:09 -04:00
Upload logs for a failed build of \fI formula\fR to a new Gist\. Presents an error message if no logs are found\.
2016-05-08 20:39:22 -06:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- with\- hostname\fR
Include the hostname in the Gist\.
2011-05-31 12:20:06 -07:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- n\fR , \fB \- \- new\- issue\fR
2019-08-20 02:14:09 -04:00
Automatically create a new issue in the appropriate GitHub repository after creating the Gist\.
2010-06-03 22:29:20 -07:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- p\fR , \fB \- \- private\fR
2019-08-20 02:14:09 -04:00
The Gist will be marked private and will not appear in listings but will be accessible with its link\.
2019-01-30 21:35:32 +00:00
.
.SS "\fBhome\fR [\fIformula\fR]"
2019-08-20 02:14:09 -04:00
Open \fI formula\fR \' s homepage in a browser, or open Homebrew\' s own homepage if no formula is provided\.
2019-01-30 21:35:32 +00:00
.
2019-03-11 12:59:39 -04:00
.SS "\fBinfo\fR [\fIoptions\fR] [\fIformula\fR]"
2018-10-02 21:56:00 -04:00
Display brief statistics for your Homebrew installation\.
2018-02-01 16:06:17 -05:00
.
2019-03-11 12:59:39 -04:00
.P
2019-08-20 02:14:09 -04:00
If \fI formula\fR is provided, show summary of information about \fI formula\fR \.
2019-03-11 12:59:39 -04:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- analytics\fR
2019-08-20 02:14:09 -04:00
List global Homebrew analytics data or, if specified, installation and build error data for \fI formula\fR (provided neither \fB HOMEBREW_NO_ANALYTICS\fR nor \fB HOMEBREW_NO_GITHUB_API\fR are set)\.
2018-10-20 12:06:24 +01:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- days\fR
2019-03-11 12:59:39 -04:00
How many days of global analytics data to retrieve\. The value for \fI days\fR must be \fB 30\fR , \fB 90\fR or \fB 365\fR \. The default is \fB 30\fR \.
2018-10-20 12:06:24 +01:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- category\fR
2019-03-11 12:59:39 -04:00
Which type of global analytics data to retrieve\. The value for \fI category\fR must be \fB install\fR , \fB install\- on\- request\fR , \fB cask\- install\fR , \fB build\- error\fR or \fB os\- version\fR \. The default is \fB install\fR \.
2018-10-20 12:06:24 +01:00
.
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- github\fR
2019-08-20 02:14:09 -04:00
Open the GitHub source page for \fI formula\fR in a browser\. To view formula history locally: \fB brew log \- p\fR \fI formula\fR
2010-06-03 22:29:20 -07:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- json\fR
Print a JSON representation of \fI formula\fR \. Currently the default and only accepted value for \fI version\fR is \fB v1\fR \. See the docs for examples of using the JSON output: \fI https://docs\. brew\. sh/Querying\- Brew\fR
2010-11-07 07:36:34 -08:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-03-11 12:59:39 -04:00
\fB \- \- installed\fR
Print JSON of formulae that are currently installed\.
2014-05-16 11:14:58 -07:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-03-11 12:59:39 -04:00
\fB \- \- all\fR
Print JSON of all available formulae\.
2019-01-30 21:35:32 +00:00
.
2019-08-21 12:42:09 -04:00
.TP
\fB \- v\fR , \fB \- \- verbose\fR
Show more verbose analytics data for \fI formula\fR \.
.
2019-01-30 21:35:32 +00:00
.SS "\fBinstall\fR [\fIoptions\fR] \fIformula\fR"
2019-08-20 02:14:09 -04:00
Install \fI formula\fR \. Additional options specific to \fI formula\fR may be appended to the command\.
2010-10-17 17:52:10 -07:00
.
2019-01-30 21:35:32 +00:00
.P
2019-08-20 02:14:09 -04:00
Unless \fB HOMEBREW_NO_INSTALL_CLEANUP\fR is set, \fB brew cleanup\fR will then be run for the installed formulae or, every 30 days, for all formulae\.
2019-02-03 09:34:00 +01:00
.
2019-01-30 21:35:32 +00:00
.TP
2019-08-21 12:42:09 -04:00
\fB \- d\fR , \fB \- \- debug\fR
If brewing fails, open an interactive debugging session with access to IRB or a shell inside the temporary build directory\.
.
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- env\fR
2019-08-20 02:14:09 -04:00
If \fB std\fR is passed, use the standard build environment instead of superenv\. If \fB super\fR is passed, use superenv even if the formula specifies the standard build environment\.
2013-04-13 14:17:17 -05:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- ignore\- dependencies\fR
2019-04-02 08:18:30 +01:00
An unsupported Homebrew development flag to skip installing any dependencies of any kind\. If the dependencies are not already present, the formula will have issues\. If you\' re not developing Homebrew, consider adjusting your PATH rather than using this flag\.
2013-04-13 14:17:17 -05:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- only\- dependencies\fR
2019-08-20 02:14:09 -04:00
Install the dependencies with specified options but do not install the formula itself\.
2010-06-03 22:29:20 -07:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- cc\fR
2019-08-20 02:14:09 -04:00
Attempt to compile using the specified \fI compiler\fR , which should be the name of the compiler\' s executable, e\. g\. \fB gcc\- 7\fR for GCC 7\. In order to use LLVM\' s clang, specify \fB llvm_clang\fR \. To use the Apple\- provided clang, specify \fB clang\fR \. 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\.
2010-06-03 22:29:20 -07:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- s\fR , \fB \- \- build\- from\- source\fR
2019-08-20 02:14:09 -04:00
Compile \fI formula\fR from source even if a bottle is provided\. Dependencies will still be installed from bottles if they are available\.
2013-12-16 16:37:59 -08:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- force\- bottle\fR
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\.
2011-06-16 20:50:40 -07:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- include\- test\fR
2019-08-20 02:14:09 -04:00
Install testing dependencies required to run \fB brew test\fR \fI formula\fR \.
2016-05-06 12:02:13 -07:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- devel\fR
If \fI formula\fR defines it, install the development version\.
2017-01-02 16:05:14 +00:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- HEAD\fR
If \fI formula\fR defines it, install the HEAD version, aka\. master, trunk, unstable\.
2018-03-15 13:37:34 +00:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- fetch\- HEAD\fR
2019-08-20 02:14:09 -04:00
Fetch the upstream repository to detect if the HEAD installation of the formula is outdated\. Otherwise, the repository\' s HEAD will only be checked for updates when a new stable or development version has been released\.
2011-11-28 14:37:16 -06:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- keep\- tmp\fR
2019-08-20 02:14:09 -04:00
Retain the temporary files created during installation\.
2010-06-03 22:29:20 -07:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- build\- bottle\fR
2019-08-20 02:14:09 -04:00
Prepare the formula for eventual bottling during installation, skipping any post\- install steps\.
2016-04-10 22:53:56 -04:00
.
2019-01-30 21:35:32 +00:00
.TP
2019-02-15 20:13:05 +00:00
\fB \- \- bottle\- arch\fR
2019-08-20 02:14:09 -04:00
Optimise bottles for the specified architecture rather than the oldest architecture supported by the version of macOS the bottles are built on\.
2019-02-15 20:13:05 +00:00
.
.TP
2019-08-21 12:42:09 -04:00
\fB \- f\fR , \fB \- \- force\fR
Install without checking for previously installed keg\- only or non\- migrated versions\.
.
.TP
\fB \- v\fR , \fB \- \- verbose\fR
Print the verification and postinstall steps\.
.
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- display\- times\fR
Print install times for each formula at the end of the run\.
2017-03-05 21:45:15 -05:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- i\fR , \fB \- \- interactive\fR
Download and patch \fI formula\fR , then open a shell\. This allows the user to run \fB \. /configure \- \- help\fR and otherwise determine how to turn the software package into a Homebrew package\.
2018-02-01 16:06:17 -05:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- g\fR , \fB \- \- git\fR
Create a Git repository, useful for creating patches to the software\.
2018-02-01 16:06:17 -05:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBleaves\fR"
2019-08-20 02:14:09 -04:00
List installed formulae that are not dependencies of another installed formula\.
2018-06-20 00:54:14 -04:00
.
2019-08-20 02:14:09 -04:00
.SS "\fBlink\fR, \fBln\fR [\fIoptions\fR] \fIformula\fR"
Symlink all of \fI formula\fR \' s installed files into Homebrew\' s prefix\. This is done automatically when you install formulae but can be useful for DIY installations\.
2017-07-11 23:43:28 +02:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- overwrite\fR
2019-08-20 02:14:09 -04:00
Delete files that already exist in the prefix while linking\.
2010-06-03 22:29:20 -07:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- n\fR , \fB \- \- dry\- run\fR
2019-08-20 02:14:09 -04:00
List files which would be linked or deleted by \fB brew link \- \- overwrite\fR without actually linking or deleting any files\.
2019-01-30 21:35:32 +00:00
.
2019-08-21 12:42:09 -04:00
.TP
\fB \- f\fR , \fB \- \- force\fR
Allow keg\- only formulae to be linked\.
.
2019-08-20 02:14:09 -04:00
.SS "\fBlist\fR, \fBls\fR [\fIoptions\fR] [\fIformula\fR]"
2019-01-30 21:35:32 +00:00
List all installed formulae\.
2010-08-11 20:51:33 -07:00
.
2019-08-20 02:14:09 -04:00
.P
If \fI formula\fR is provided, summarize the paths within its current keg\.
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- full\- name\fR
2019-08-20 02:14:09 -04:00
Print formulae with fully\- qualified names\. If \fB \- \- full\- name\fR is not passed, other options (i\. e\. \fB \- 1\fR , \fB \- l\fR , \fB \- r\fR and \fB \- t\fR ) are passed to \fB ls\fR (1) which produces the actual output\.
2013-11-16 14:10:23 -06:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- unbrewed\fR
2019-08-20 02:14:09 -04:00
List files in Homebrew\' s prefix not installed by Homebrew\.
2010-06-03 22:29:20 -07:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- versions\fR
2019-08-20 02:14:09 -04:00
Show the version number for installed formulae, or only the specified formulae if \fI formula\fR are provided\.
2012-06-17 16:54:20 -05:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- multiple\fR
Only show formulae with multiple versions installed\.
2012-06-17 16:54:20 -05:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- pinned\fR
2019-08-20 02:14:09 -04:00
Show the versions of pinned formulae, or only the specified (pinned) formulae if \fI formula\fR are provided\. See also \fB pin\fR , \fB unpin\fR \.
2013-04-13 14:10:08 -05:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- 1\fR
Force output to be one entry per line\. This is the default when output is not to a terminal\.
2010-06-03 22:29:20 -07:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- l\fR
2019-08-20 02:14:09 -04:00
List in long format\. If the output is to a terminal, a total sum for all the file sizes is printed before the long listing\.
2011-10-12 02:20:07 -05:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- r\fR
2019-08-20 02:14:09 -04:00
Reverse the order of the sort to list the oldest entries first\.
2011-09-08 21:06:50 -05:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- t\fR
2019-08-20 02:14:09 -04:00
Sort by time modified, listing most recently modified first\.
2010-06-03 22:29:20 -07:00
.
2019-08-20 02:14:09 -04:00
.SS "\fBlog\fR [\fIoptions\fR] [\fIformula\fR]"
Show the \fB git log\fR for \fI formula\fR , or show the log for the Homebrew repository if no formula is provided\.
2013-03-11 16:41:08 +01:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- p\fR , \fB \- \- patch\fR
2019-08-20 02:14:09 -04:00
Also print patch from commit\.
2010-10-04 17:12:34 -07:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- stat\fR
2019-08-20 02:14:09 -04:00
Also print diffstat from commit\.
2011-10-12 02:25:18 -05:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- oneline\fR
2019-08-20 02:14:09 -04:00
Print only one line per commit\.
2011-10-12 02:25:18 -05:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- 1\fR , \fB \- \- max\- count\fR
2019-08-20 02:14:09 -04:00
Print only one or a specified number of commits\.
2015-08-09 15:09:59 +03:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBmigrate\fR [\fIoptions\fR] \fIformula\fR"
2019-08-20 02:14:09 -04:00
Migrate renamed packages to new names, where \fI formula\fR are old names of packages\.
2016-10-25 23:59:55 +01:00
.
2019-08-21 12:42:09 -04:00
.TP
\fB \- f\fR , \fB \- \- force\fR
Treat installed \fI formula\fR and provided \fI formula\fR as if they are from the same taps and migrate them anyway\.
.
2019-08-20 02:14:09 -04:00
.SS "\fBmissing\fR [\fIoptions\fR] [\fIformula\fR]"
Check the given \fI formula\fR kegs for missing dependencies\. If no \fI formula\fR are provided, check all kegs\. Will exit with a non\- zero status if any kegs are found to be missing dependencies\.
2018-04-12 22:35:51 -07:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- hide\fR
2019-08-20 02:14:09 -04:00
Act as if none of the specified \fI hidden\fR are installed\. \fI hidden\fR should be a comma\- separated list of formulae\.
2010-11-07 07:36:34 -08:00
.
2019-08-20 02:14:09 -04:00
.SS "\fBoptions\fR [\fIoptions\fR] [\fIformula\fR]"
Show install options specific to \fI formula\fR \.
2011-02-04 16:56:46 -08:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- compact\fR
Show all options on a single line separated by spaces\.
2011-03-21 13:14:06 -07:00
.
2019-01-30 21:35:32 +00:00
.TP
2019-08-20 02:14:09 -04:00
\fB \- \- installed\fR
Show options for formulae that are currently installed\.
2011-09-11 16:23:39 -05:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-08-20 02:14:09 -04:00
\fB \- \- all\fR
Show options for all available formulae\.
2019-01-30 21:35:32 +00:00
.
.SS "\fBoutdated\fR [\fIoptions\fR]"
2019-08-20 02:14:09 -04:00
List installed formulae that have an updated version available\. By default, version information is displayed in interactive shells, and suppressed otherwise\.
2014-11-19 09:43:41 -05:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-08-21 12:42:09 -04:00
\fB \- q\fR , \fB \- \- quiet\fR
List only the names of outdated kegs (takes precedence over \fB \- \- verbose\fR )\.
.
.TP
\fB \- v\fR , \fB \- \- verbose\fR
Include detailed version information\.
.
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- json\fR
2019-03-04 11:59:49 -05:00
Print output in JSON format\. Currently the default and only accepted value for \fI version\fR is \fB v1\fR \. See the docs for examples of using the JSON output: \fI https://docs\. brew\. sh/Querying\- Brew\fR
2016-09-08 09:05:00 +01:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- fetch\- HEAD\fR
2019-08-20 02:14:09 -04:00
Fetch the upstream repository to detect if the HEAD installation of the formula is outdated\. Otherwise, the repository\' s HEAD will only be checked for updates when a new stable or development version has been released\.
2016-01-06 08:14:27 +01:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBpin\fR \fIformula\fR"
Pin the specified \fI formula\fR , preventing them from being upgraded when issuing the \fB brew upgrade\fR \fI formula\fR command\. See also \fB unpin\fR \.
2017-10-26 16:14:14 +01:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBpostinstall\fR \fIformula\fR"
Rerun the post\- install steps for \fI formula\fR \.
2017-10-26 16:14:14 +01:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBreadall\fR [\fIoptions\fR] [\fItap\fR]"
2019-08-20 02:14:09 -04:00
Import all formulae from the specified \fI tap\fR , or from all installed taps if none is provided\. This can be useful for debugging issues across all formulae when making significant changes to \fB formula\. rb\fR , testing the performance of loading all formulae or to determine if any current formulae have Ruby issues\.
2018-02-01 16:06:17 -05:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- aliases\fR
Verify any alias symlinks in each tap\.
2018-02-01 16:06:17 -05:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- syntax\fR
Syntax\- check all of Homebrew\' s Ruby files\.
.
.SS "\fBreinstall\fR [\fIoptions\fR] \fIformula\fR"
2019-08-20 02:14:09 -04:00
Uninstall and then install \fI formula\fR using the same options it was originally installed with, plus any appended brew formula options\.
2019-01-29 19:25:13 +00:00
.
2019-02-03 09:34:00 +01:00
.P
2019-08-20 02:14:09 -04:00
Unless \fB HOMEBREW_NO_INSTALL_CLEANUP\fR is set, \fB brew cleanup\fR will then be run for the reinstalled formulae or, every 30 days, for all formulae\.
2019-02-03 09:34:00 +01:00
.
2019-01-30 21:35:32 +00:00
.TP
2019-08-21 12:42:09 -04:00
\fB \- d\fR , \fB \- \- debug\fR
If brewing fails, open an interactive debugging session with access to IRB or a shell inside the temporary build directory\.
.
.TP
2019-01-30 21:35:32 +00:00
\fB \- s\fR , \fB \- \- build\- from\- source\fR
Compile \fI formula\fR from source even if a bottle is available\.
2019-01-29 19:25:13 +00:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- force\- bottle\fR
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\.
2019-01-29 19:25:13 +00:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- keep\- tmp\fR
2019-08-20 02:14:09 -04:00
Retain the temporary files created during installation\.
2019-01-29 19:25:13 +00:00
.
2019-01-30 21:35:32 +00:00
.TP
2019-08-21 12:42:09 -04:00
\fB \- f\fR , \fB \- \- force\fR
Install without checking for previously installed keg\- only or non\- migrated versions\.
.
.TP
\fB \- v\fR , \fB \- \- verbose\fR
Print the verification and postinstall steps\.
.
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- display\- times\fR
Print install times for each formula at the end of the run\.
2019-01-29 19:25:13 +00:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBsearch\fR [\fIoptions\fR] [\fItext\fR|\fB/\fR\fItext\fR\fB/\fR]"
2019-08-20 02:14:09 -04:00
Perform a substring search of cask tokens and formula names for \fI text\fR \. If \fI text\fR is flanked by slashes, it is interpreted as a regular expression\. The search for \fI text\fR is extended online to \fB homebrew/core\fR and \fB homebrew/cask\fR \.
2019-01-29 19:25:13 +00:00
.
2019-01-30 21:35:32 +00:00
.P
2019-08-20 02:14:09 -04:00
If no \fI text\fR is provided, list all locally available formulae (including tapped ones)\. No online search is performed\.
2018-06-20 00:54:14 -04:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- casks\fR
2019-08-20 02:14:09 -04:00
List all locally available casks (including tapped ones)\. No online search is performed\.
2014-01-11 20:26:08 +00:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- desc\fR
2019-08-20 02:14:09 -04:00
Search for formulae with a description matching \fI text\fR and casks with a name matching \fI text\fR \.
2019-01-29 19:25:13 +00:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- macports\fR
Search for \fI text\fR in the given package manager\' s list\.
2011-05-31 12:20:06 -07:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- fink\fR
Search for \fI text\fR in the given package manager\' s list\.
2018-06-23 01:31:16 +02:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- opensuse\fR
Search for \fI text\fR in the given package manager\' s list\.
2010-11-07 07:36:34 -08:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- fedora\fR
Search for \fI text\fR in the given package manager\' s list\.
2016-05-26 07:45:25 -07:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- debian\fR
2018-10-02 21:56:00 -04:00
Search for \fI text\fR in the given package manager\' s list\.
2013-04-09 14:16:10 -04:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- ubuntu\fR
Search for \fI text\fR in the given package manager\' s list\.
2017-03-05 21:45:15 -05:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBsh\fR [\fIoptions\fR]"
2019-08-20 02:14:09 -04:00
Start a Homebrew build environment shell\. Uses our years\- battle\- hardened Homebrew build logic to help your \fB \. /configure && make && make install\fR or even your \fB gem install\fR succeed\. Especially handy if you run Homebrew in an Xcode\- only configuration since it adds tools like \fB make\fR to your \fB PATH\fR which build systems would not find otherwise\.
2015-04-27 11:58:52 +08:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- env\fR
2019-08-20 02:14:09 -04:00
Use the standard \fB PATH\fR instead of superenv\' s when \fB std\fR is passed\.
2018-10-06 00:31:10 -04:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBshellenv\fR"
2019-08-20 02:14:09 -04:00
Print export statements\. When run in a shell, this installation of Homebrew will be added to your \fB PATH\fR , \fB MANPATH\fR , and \fB INFOPATH\fR \.
2018-10-06 00:31:10 -04:00
.
2019-01-30 21:35:32 +00:00
.P
2019-08-20 12:56:21 -04:00
The variables \fB HOMEBREW_PREFIX\fR , \fB HOMEBREW_CELLAR\fR and \fB HOMEBREW_REPOSITORY\fR are also exported to avoid querying them multiple times\. Consider adding evaluation of this command\' s output to your dotfiles (e\. g\. \fB ~/\. profile\fR or \fB ~/\. zprofile\fR ) with: \fB eval $(brew shellenv)\fR
2018-10-06 00:31:10 -04:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBstyle\fR [\fIoptions\fR] [\fIfile\fR|\fItap\fR|\fIformula\fR]"
2018-10-02 21:56:00 -04:00
Check formulae or files for conformance to Homebrew style guidelines\.
2016-04-18 17:39:21 -04:00
.
2019-01-30 21:35:32 +00:00
.P
Lists of \fI file\fR , \fI tap\fR and \fI formula\fR may not be combined\. If none are provided, \fB style\fR will run style checks on the whole Homebrew library, including core code and all formulae\.
2017-05-03 11:33:00 +05:30
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- fix\fR
Fix style violations automatically using RuboCop\' s auto\- correct feature\.
2016-04-18 17:39:21 -04:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- display\- cop\- names\fR
Include the RuboCop cop name for each violation in the output\.
2012-03-18 16:00:48 -05:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- only\- cops\fR
Specify a comma\- separated \fI cops\fR list to check for violations of only the listed RuboCop cops\.
2015-08-21 12:34:38 +08:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- except\- cops\fR
Specify a comma\- separated \fI cops\fR list to skip checking for violations of the listed RuboCop cops\.
2016-07-10 02:27:13 +02:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBswitch\fR \fIformula\fR \fIversion\fR"
2019-08-20 02:14:09 -04:00
Symlink all of the specified \fI version\fR of \fI formula\fR \' s installation into Homebrew\' s prefix\.
2016-07-10 02:27:13 +02:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBtap\fR [\fIoptions\fR] \fIuser\fR\fB/\fR\fIrepo\fR [\fIURL\fR]"
Tap a formula repository\.
2015-06-08 19:17:29 +08:00
.
2019-01-30 21:35:32 +00:00
.P
2019-08-20 02:14:09 -04:00
If no arguments are provided, list all installed taps\.
2015-06-08 19:17:29 +08:00
.
2019-01-30 21:35:32 +00:00
.P
2019-08-20 02:14:09 -04:00
With \fI URL\fR unspecified, tap a formula repository from GitHub using HTTPS\. Since so many taps are hosted on GitHub, this command is a shortcut for \fB brew tap\fR \fI user\fR \fB /\fR \fI repo\fR \fB https://github\. com/\fR \fI user\fR \fB /homebrew\- \fR \fI repo\fR \.
2015-06-08 19:17:29 +08:00
.
2019-01-30 21:35:32 +00:00
.P
2019-08-20 02:14:09 -04:00
With \fI URL\fR specified, tap a formula repository from anywhere, using any transport protocol that \fB git\fR (1) handles\. The one\- argument form of \fB tap\fR 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\.
2015-06-08 19:17:29 +08:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- full\fR
2019-08-20 02:14:09 -04:00
Use a full clone when tapping a repository\. By default, the repository is cloned as a shallow copy (\fB \- \- depth=1\fR )\. To convert a shallow copy to a full copy, you can retap by passing \fB \- \- full\fR without first untapping\.
2015-07-27 18:56:04 +08:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- force\- auto\- update\fR
Auto\- update tap even if it is not hosted on GitHub\. By default, only taps hosted on GitHub are auto\- updated (for performance reasons)\.
2015-07-27 18:56:04 +08:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- repair\fR
Migrate tapped formulae from symlink\- based to directory\- based structure\.
2018-10-06 00:31:10 -04:00
.
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- list\- pinned\fR
List all pinned taps\.
2018-10-06 00:31:10 -04:00
.
.TP
2019-01-30 21:35:32 +00:00
\fB \- q\fR , \fB \- \- quieter\fR
Suppress any warnings\.
2018-10-06 00:31:10 -04:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBtap\-info\fR [\fIoptions\fR] [\fItap\fR]"
2019-08-20 02:14:09 -04:00
Show detailed information about one or more \fI tap\fR s\.
.
.P
If no \fI tap\fR names are provided, display brief statistics for all installed taps\.
2018-10-06 00:31:10 -04:00
.
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- installed\fR
2019-08-20 02:14:09 -04:00
Show information on each installed tap\.
2018-10-06 00:31:10 -04:00
.
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- json\fR
2019-08-20 02:14:09 -04:00
Print a JSON representation of \fI tap\fR \. Currently the default and only accepted value for \fI version\fR is \fB v1\fR \. See the docs for examples of using the JSON output: \fI https://docs\. brew\. sh/Querying\- Brew\fR
2018-10-06 00:31:10 -04:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBuninstall\fR, \fBrm\fR, \fBremove\fR [\fIoptions\fR] \fIformula\fR"
Uninstall \fI formula\fR \.
2016-10-25 23:59:55 +01:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-08-21 12:42:09 -04:00
\fB \- f\fR , \fB \- \- force\fR
Delete all installed versions of \fI formula\fR \.
.
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- ignore\- dependencies\fR
Don\' t fail uninstall, even if \fI formula\fR is a dependency of any installed formulae\.
2015-09-06 15:37:47 +08:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBunlink\fR [\fIoptions\fR] \fIformula\fR"
2019-08-20 02:14:09 -04:00
Remove symlinks for \fI formula\fR from Homebrew\' s prefix\. This can be useful for temporarily disabling a formula: \fB brew unlink\fR \fI formula\fR \fB &&\fR \fI commands\fR \fB && brew link\fR \fI formula\fR
2010-11-07 07:36:34 -08:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- n\fR , \fB \- \- dry\- run\fR
2019-08-20 02:14:09 -04:00
List files which would be unlinked without actually unlinking or deleting any files\.
2014-05-17 17:12:40 -05:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBunpack\fR [\fIoptions\fR] \fIformula\fR"
Unpack the source files for \fI formula\fR into subdirectories of the current working directory\.
2014-05-17 17:12:40 -05:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- destdir\fR
Create subdirectories in the directory named by \fI path\fR instead\.
2013-03-11 16:41:08 +01:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- patch\fR
Patches for \fI formula\fR will be applied to the unpacked source\.
2012-03-18 16:00:48 -05:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- g\fR , \fB \- \- git\fR
Initialise a Git repository in the unpacked source\. This is useful for creating patches for the software\.
2018-10-06 00:31:10 -04:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBunpin\fR \fIformula\fR"
Unpin \fI formula\fR , allowing them to be upgraded by \fB brew upgrade\fR \fI formula\fR \. See also \fB pin\fR \.
2018-10-06 00:31:10 -04:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBuntap\fR \fItap\fR"
2019-08-20 02:14:09 -04:00
Remove a tapped formula repository\.
2019-01-30 21:35:32 +00:00
.
2019-08-20 02:14:09 -04:00
.SS "\fBupdate\fR, \fBup\fR [\fIoptions\fR]"
2019-01-30 21:35:32 +00:00
Fetch the newest version of Homebrew and all formulae from GitHub using \fB git\fR (1) and perform any necessary migrations\.
2018-10-06 00:31:10 -04:00
.
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- merge\fR
2019-08-20 02:14:09 -04:00
Use \fB git merge\fR to apply updates (rather than \fB git rebase\fR )\.
2018-10-06 00:31:10 -04:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBupdate\-reset\fR [\fIrepository\fR]"
2019-08-20 02:14:09 -04:00
Fetch and reset Homebrew and all tap repositories (or any specified \fI repository\fR ) using \fB git\fR (1) to their latest \fB origin/master\fR \.
2019-01-29 19:25:13 +00:00
.
2019-01-30 21:35:32 +00:00
.P
2019-08-20 02:14:09 -04:00
\fI Note:\fR this will destroy all your uncommitted or committed changes\.
.
.SS "\fBupgrade\fR [\fIoptions\fR] [\fIformula\fR]"
Upgrade outdated, unpinned formulae using the same options they were originally installed with, plus any appended brew formula options\. If \fI formula\fR are specified, upgrade only the given \fI formula\fR kegs (unless they are pinned; see \fB pin\fR , \fB unpin\fR )\.
2019-01-29 19:25:13 +00:00
.
2019-02-03 09:34:00 +01:00
.P
2019-08-20 02:14:09 -04:00
Unless \fB HOMEBREW_NO_INSTALL_CLEANUP\fR is set, \fB brew cleanup\fR will then be run for the upgraded formulae or, every 30 days, for all formulae\.
2019-02-03 09:34:00 +01:00
.
2019-01-30 21:35:32 +00:00
.TP
2019-08-21 12:42:09 -04:00
\fB \- d\fR , \fB \- \- debug\fR
If brewing fails, open an interactive debugging session with access to IRB or a shell inside the temporary build directory\.
.
.TP
2019-01-30 21:35:32 +00:00
\fB \- s\fR , \fB \- \- build\- from\- source\fR
Compile \fI formula\fR from source even if a bottle is available\.
2013-04-13 14:17:17 -05:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- force\- bottle\fR
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\.
2019-01-29 19:25:13 +00:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- fetch\- HEAD\fR
2019-08-20 02:14:09 -04:00
Fetch the upstream repository to detect if the HEAD installation of the formula is outdated\. Otherwise, the repository\' s HEAD will only be checked for updates when a new stable or development version has been released\.
2011-09-01 22:49:41 -05:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- ignore\- pinned\fR
2019-08-20 02:14:09 -04:00
Set a successful exit status even if pinned formulae are not upgraded\.
2016-08-06 17:08:35 +03:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- keep\- tmp\fR
2019-08-20 02:14:09 -04:00
Retain the temporary files created during installation\.
2018-03-16 20:31:20 +00:00
.
2019-01-30 21:35:32 +00:00
.TP
2019-08-21 12:42:09 -04:00
\fB \- f\fR , \fB \- \- force\fR
Install without checking for previously installed keg\- only or non\- migrated versions\.
.
.TP
\fB \- v\fR , \fB \- \- verbose\fR
Print the verification and postinstall steps\.
.
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- display\- times\fR
Print install times for each formula at the end of the run\.
2019-01-29 19:25:13 +00:00
.
2019-07-26 22:55:16 -07:00
.TP
2019-08-21 12:42:09 -04:00
\fB \- n\fR , \fB \- \- dry\- run\fR
2019-07-26 22:55:16 -07:00
Show what would be upgraded, but do not actually upgrade anything\.
.
2019-01-30 21:35:32 +00:00
.SS "\fBuses\fR [\fIoptions\fR] \fIformula\fR"
2019-08-20 02:14:09 -04:00
Show formulae that specify \fI formula\fR as a dependency\. When given multiple formula arguments, show the intersection of formulae that use \fI formula\fR \. By default, \fB uses\fR shows all formulae that specify \fI formula\fR as a required or recommended dependency for their stable builds\.
2018-06-20 00:54:14 -04:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- recursive\fR
Resolve more than one level of dependencies\.
2011-09-01 22:49:41 -05:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- installed\fR
2019-08-20 02:14:09 -04:00
Only list formulae that are currently installed\.
2012-11-13 16:50:19 -06:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- include\- build\fR
Include all formulae that specify \fI formula\fR as \fB :build\fR type dependency\.
2011-05-31 12:20:06 -07:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- include\- test\fR
Include all formulae that specify \fI formula\fR as \fB :test\fR type dependency\.
2010-11-06 14:18:15 -07:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- include\- optional\fR
Include all formulae that specify \fI formula\fR as \fB :optional\fR type dependency\.
2015-09-02 20:56:04 +08:00
.
2019-01-30 21:35:32 +00:00
.TP
\fB \- \- skip\- recommended\fR
Skip all formulae that specify \fI formula\fR as \fB :recommended\fR type dependency\.
2013-11-10 10:33:56 -08:00
.
2018-10-02 21:56:00 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- devel\fR
2019-08-20 02:14:09 -04:00
Show usage of \fI formula\fR by development builds\.
2019-01-30 21:35:32 +00:00
.
.TP
\fB \- \- HEAD\fR
2019-08-20 02:14:09 -04:00
Show usage of \fI formula\fR by HEAD builds\.
2019-01-30 21:35:32 +00:00
.
.SS "\fB\-\-cache\fR [\fIoptions\fR] [\fIformula\fR]"
2018-10-06 00:31:10 -04:00
Display Homebrew\' s download cache\. See also \fB HOMEBREW_CACHE\fR \.
2013-04-13 14:17:48 -05:00
.
2019-01-30 21:35:32 +00:00
.P
If \fI formula\fR is provided, display the file or directory used to cache \fI formula\fR \.
.
2018-10-06 00:31:10 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- s\fR , \fB \- \- build\- from\- source\fR
Show the cache file used when building from source\.
2018-10-03 19:52:26 +05:30
.
2018-10-06 00:31:10 -04:00
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- force\- bottle\fR
Show the cache file used when pouring a bottle\.
.
2019-03-09 13:00:15 -05:00
.SS "\fB\-\-cellar\fR [\fIformula\fR]"
2018-10-06 00:31:10 -04:00
Display Homebrew\' s Cellar path\. \fI Default:\fR \fB $(brew \- \- prefix)/Cellar\fR , or if that directory doesn\' t exist, \fB $(brew \- \- repository)/Cellar\fR \.
2018-10-03 19:52:26 +05:30
.
2019-01-30 21:35:32 +00:00
.P
If \fI formula\fR is provided, display the location in the cellar where \fI formula\fR would be installed, without any sort of versioned directory as the last path\.
2018-10-03 19:52:26 +05:30
.
2019-01-30 21:35:32 +00:00
.SS "\fB\-\-env\fR [\fIoptions\fR]"
2019-08-20 02:14:09 -04:00
Summarize Homebrew\' s build environment as a plain list\.
2018-02-01 16:06:17 -05:00
.
2019-01-30 21:35:32 +00:00
.P
2018-10-06 00:31:10 -04:00
If the command\' s output is sent through a pipe and no shell is specified, the list is formatted for export to \fB bash\fR (1) unless \fB \- \- plain\fR is passed\.
.
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- shell\fR
Generate a list of environment variables for the specified shell, or \fB \- \- shell=auto\fR to detect the current shell\.
2018-10-06 00:31:10 -04:00
.
.TP
2019-01-30 21:35:32 +00:00
\fB \- \- plain\fR
2019-08-20 02:14:09 -04:00
Generate plain output even when piped\.
2018-10-06 00:31:10 -04:00
.
2019-01-30 21:35:32 +00:00
.SS "\fB\-\-prefix\fR [\fIformula\fR]"
Display Homebrew\' s install path\. \fI Default:\fR \fB /usr/local\fR on macOS and \fB /home/linuxbrew/\. linuxbrew\fR on Linux\.
.
.P
If \fI formula\fR is provided, display the location in the cellar where \fI formula\fR is or would be installed\.
.
2019-08-20 02:14:09 -04:00
.SS "\fB\-\-repository\fR, \fB\-\-repo\fR [\fIuser\fR\fB/\fR\fIrepo\fR]"
2018-10-06 00:31:10 -04:00
Display where Homebrew\' s \fB \. git\fR directory is located\.
.
2019-01-30 21:35:32 +00:00
.P
If \fI user\fR \fB /\fR \fI repo\fR are provided, display where tap \fI user\fR \fB /\fR \fI repo\fR \' s directory is located\.
2018-10-06 00:31:10 -04:00
.
2019-01-30 21:35:32 +00:00
.SS "\fB\-\-version\fR"
2019-08-20 02:14:09 -04:00
Print the version numbers of Homebrew, Homebrew/homebrew\- core and Homebrew/homebrew\- cask (if tapped) to standard output\.
2011-05-31 12:20:06 -07:00
.
2016-09-05 21:46:40 +01:00
.SH "DEVELOPER COMMANDS"
2018-07-30 18:26:09 +05:30
.
2019-08-20 02:14:09 -04:00
.SS "\fBaudit\fR [\fIoptions\fR] [\fIformula\fR]"
Check \fI formula\fR for Homebrew coding style violations\. This should be run before submitting a new formula\. If no \fI formula\fR are provided, check all locally available formulae\. Will exit with a non\- zero status if any errors are found, which can be useful for implementing pre\- commit hooks\.
2018-07-30 18:26:09 +05:30
.
2018-09-08 22:21:04 +05:30
.TP
\fB \- \- strict\fR
2018-10-15 15:06:33 -04:00
Run additional style checks, including RuboCop style checks\.
2018-07-30 18:26:09 +05:30
.
2018-09-08 22:21:04 +05:30
.TP
\fB \- \- online\fR
Run additional slower style checks that require a network connection\.
2018-07-30 18:26:09 +05:30
.
2018-09-08 22:21:04 +05:30
.TP
\fB \- \- new\- formula\fR
Run various additional style checks to determine if a new formula is eligible for Homebrew\. This should be used when creating new formula and implies \fB \- \- strict\fR and \fB \- \- online\fR \.
.
.TP
\fB \- \- fix\fR
Fix style violations automatically using RuboCop\' s auto\- correct feature\.
.
.TP
\fB \- \- display\- cop\- names\fR
Include the RuboCop cop name for each violation in the output\.
.
.TP
\fB \- \- display\- filename\fR
2019-08-20 02:14:09 -04:00
Prefix every line of output with the file or formula name being audited, to make output easy to grep\.
2018-09-08 22:21:04 +05:30
.
.TP
\fB \- D\fR , \fB \- \- audit\- debug\fR
2018-10-15 15:06:33 -04:00
Enable debugging and profiling of audit methods\.
2018-09-08 22:21:04 +05:30
.
.TP
\fB \- \- only\fR
2018-10-15 15:06:33 -04:00
Specify a comma\- separated \fI method\fR list to only run the methods named \fB audit_\fR \fI method\fR \.
2018-09-08 22:21:04 +05:30
.
.TP
\fB \- \- except\fR
2018-10-15 15:06:33 -04:00
Specify a comma\- separated \fI method\fR list to skip running the methods named \fB audit_\fR \fI method\fR \.
2018-09-08 22:21:04 +05:30
.
.TP
\fB \- \- only\- cops\fR
2018-10-15 15:06:33 -04:00
Specify a comma\- separated \fI cops\fR list to check for violations of only the listed RuboCop cops\.
2018-09-08 22:21:04 +05:30
.
.TP
\fB \- \- except\- cops\fR
2018-10-15 15:06:33 -04:00
Specify a comma\- separated \fI cops\fR list to skip checking for violations of the listed RuboCop cops\.
2018-09-08 22:21:04 +05:30
.
2019-01-30 21:35:32 +00:00
.SS "\fBbottle\fR [\fIoptions\fR] \fIformula\fR"
2018-10-15 15:06:33 -04:00
Generate a bottle (binary package) from a formula that was installed with \fB \- \- build\- bottle\fR \. If the formula specifies a rebuild version, it will be incremented in the generated DSL\. Passing \fB \- \- keep\- old\fR will attempt to keep it at its original value, while \fB \- \- no\- rebuild\fR will remove it\.
2016-09-05 21:46:40 +01:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- skip\- relocation\fR
Do not check if the bottle can be marked as relocatable\.
2017-01-18 22:37:11 +05:30
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- or\- later\fR
Append \fB _or_later\fR to the bottle tag\.
2016-09-05 21:46:40 +01:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- force\- core\- tap\fR
2019-03-09 13:00:15 -05:00
Build a bottle even if \fI formula\fR is not in \fB homebrew/core\fR or any installed taps\.
2016-09-05 21:46:40 +01:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- no\- rebuild\fR
2018-10-15 15:06:33 -04:00
If the formula specifies a rebuild version, remove it from the generated DSL\.
2016-09-05 21:46:40 +01:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- keep\- old\fR
2018-10-15 15:06:33 -04:00
If the formula specifies a rebuild version, attempt to preserve its value in the generated DSL\.
.
.TP
\fB \- \- json\fR
2019-08-20 02:14:09 -04:00
Write bottle information to a JSON file, which can be used as the value for \fB \- \- merge\fR \.
2016-09-05 21:46:40 +01:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- merge\fR
2019-08-20 02:14:09 -04:00
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 \fB brew bottle \- \- json\fR \fI formula\fR \.
2017-04-18 08:17:24 +01:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- write\fR
2019-08-20 02:14:09 -04:00
Write changes to the formula file\. A new commit will be generated unless \fB \- \- no\- commit\fR is passed\.
2017-04-23 04:09:13 +05:30
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- no\- commit\fR
2018-10-15 15:06:33 -04:00
When passed with \fB \- \- write\fR , a new commit will not generated after writing changes to the formula file\.
2017-03-05 21:45:15 -05:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- root\- url\fR
Use the specified \fI URL\fR as the root of the bottle\' s URL instead of Homebrew\' s default\.
2017-03-05 21:45:15 -05:00
.
2018-10-15 15:06:33 -04:00
.SS "\fBbump\-formula\-pr\fR [\fIoptions\fR] [\fIformula\fR]"
2019-08-20 02:14:09 -04:00
Create a pull request to update \fI formula\fR with a new URL or a new tag\.
2018-03-31 00:03:08 -07:00
.
2018-09-28 21:39:52 +05:30
.P
2018-10-15 15:06:33 -04:00
If a \fI URL\fR is specified, the \fI SHA\- 256\fR checksum of the new download should also be specified\. A best effort to determine the \fI SHA\- 256\fR and \fI formula\fR name will be made if either or both values are not supplied by the user\.
2018-09-28 21:39:52 +05:30
.
.P
2018-10-15 15:06:33 -04:00
If a \fI tag\fR is specified, the Git commit \fI revision\fR corresponding to that tag must also be specified\.
2018-09-28 21:39:52 +05:30
.
.P
2019-08-20 02:14:09 -04:00
\fI Note:\fR 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\.
2016-09-05 21:46:40 +01:00
.
.TP
2018-09-28 21:39:52 +05:30
\fB \- \- devel\fR
Bump the development rather than stable version\. The development spec must already exist\.
2017-03-05 21:45:15 -05:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- n\fR , \fB \- \- dry\- run\fR
Print what would be done rather than doing it\.
2016-09-05 21:46:40 +01:00
.
.TP
2018-09-28 21:39:52 +05:30
\fB \- \- write\fR
2018-10-15 15:06:33 -04:00
When passed along with \fB \- \- dry\- run\fR , perform a not\- so\- dry run by making the expected file modifications but not taking any Git actions\.
2016-09-05 21:46:40 +01:00
.
2018-09-28 21:39:52 +05:30
.TP
2018-10-28 01:13:50 +10:00
\fB \- \- no\- audit\fR
Don\' t run \fB brew audit\fR before opening the PR\.
2016-09-05 21:46:40 +01:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- strict\fR
Run \fB brew audit \- \- strict\fR before opening the PR\.
2016-09-05 21:46:40 +01:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- no\- browse\fR
2018-10-15 15:06:33 -04:00
Print the pull request URL instead of opening in a browser\.
2016-09-05 21:46:40 +01:00
.
2018-09-28 21:39:52 +05:30
.TP
2018-10-15 15:06:33 -04:00
\fB \- \- mirror\fR
2019-08-20 02:14:09 -04:00
Use the specified \fI URL\fR as a mirror URL\.
2016-09-05 21:46:40 +01:00
.
2018-09-28 21:39:52 +05:30
.TP
2018-10-15 15:06:33 -04:00
\fB \- \- version\fR
2019-08-20 02:14:09 -04:00
Use the specified \fI version\fR to override the value parsed from the URL or tag\. Note that \fB \- \- version=0\fR can be used to delete an existing version override from a formula if it has become redundant\.
2016-09-28 03:30:08 -07:00
.
2018-09-28 21:39:52 +05:30
.TP
2018-10-15 15:06:33 -04:00
\fB \- \- message\fR
2019-08-20 02:14:09 -04:00
Append \fI message\fR to the default pull request message\.
2016-09-05 21:46:40 +01:00
.
2018-09-28 21:39:52 +05:30
.TP
2018-10-15 15:06:33 -04:00
\fB \- \- url\fR
Specify the \fI URL\fR for the new download\. If a \fI URL\fR is specified, the \fI SHA\- 256\fR checksum of the new download should also be specified\.
2016-09-05 21:46:40 +01:00
.
2018-09-28 21:39:52 +05:30
.TP
2018-10-15 15:06:33 -04:00
\fB \- \- sha256\fR
Specify the \fI SHA\- 256\fR checksum of the new download\.
2016-09-28 03:30:08 -07:00
.
2018-09-28 21:39:52 +05:30
.TP
2018-10-15 15:06:33 -04:00
\fB \- \- tag\fR
Specify the new git commit \fI tag\fR for the formula\.
2016-09-28 03:30:08 -07:00
.
2018-09-28 21:39:52 +05:30
.TP
2018-10-15 15:06:33 -04:00
\fB \- \- revision\fR
2019-08-20 02:14:09 -04:00
Specify the new git commit \fI revision\fR corresponding to the specified \fI tag\fR \.
2016-11-15 11:37:49 -05:00
.
2019-08-20 02:14:09 -04:00
.SS "\fBbump\-revision\fR [\fIoptions\fR] \fIformula\fR"
Create a commit to increment the revision of \fI formula\fR \. If no revision is present, "revision 1" will be added\.
2019-03-31 19:06:29 -04:00
.
.TP
\fB \- n\fR , \fB \- \- dry\- run\fR
Print what would be done rather than doing it\.
.
.TP
\fB \- \- message\fR
2019-08-20 02:14:09 -04:00
Append \fI message\fR to the default commit message\.
2019-03-31 19:06:29 -04:00
.
2018-10-15 15:06:33 -04:00
.SS "\fBcreate\fR [\fIoptions\fR] \fIURL\fR"
Generate a formula for the downloadable file at \fI URL\fR and open it in the editor\. Homebrew will attempt to automatically derive the formula name and version, but if it fails, you\' ll have to make your own template\. The \fB wget\fR formula serves as a simple example\. For the complete API, see: \fI http://www\. rubydoc\. info/github/Homebrew/brew/master/Formula\fR
2016-09-05 21:46:40 +01:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- autotools\fR
Create a basic template for an Autotools\- style build\.
2016-09-05 21:46:40 +01:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- cmake\fR
Create a basic template for a CMake\- style build\.
2016-09-05 21:46:40 +01:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- meson\fR
Create a basic template for a Meson\- style build\.
2016-09-05 21:46:40 +01:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- no\- fetch\fR
2019-08-20 02:14:09 -04:00
Homebrew will not download \fI URL\fR 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)\.
2018-09-28 21:39:52 +05:30
.
.TP
\fB \- \- HEAD\fR
2018-10-15 15:06:33 -04:00
Indicate that \fI URL\fR points to the package\' s repository rather than a file\.
2018-09-28 21:39:52 +05:30
.
.TP
\fB \- \- set\- name\fR
2019-08-20 02:14:09 -04:00
Explicitly set the \fI name\fR of the new formula\.
2018-09-28 21:39:52 +05:30
.
.TP
\fB \- \- set\- version\fR
2019-08-20 02:14:09 -04:00
Explicitly set the \fI version\fR of the new formula\.
2018-09-28 21:39:52 +05:30
.
.TP
\fB \- \- tap\fR
2019-08-20 02:14:09 -04:00
Generate the new formula within the given tap, specified as \fI user\fR \fB /\fR \fI repo\fR \.
2018-09-28 21:39:52 +05:30
.
2019-01-30 21:35:32 +00:00
.SS "\fBedit\fR [\fIformula\fR]"
2019-08-20 02:14:09 -04:00
Open \fI formula\fR in the editor set by \fB EDITOR\fR or \fB HOMEBREW_EDITOR\fR , or open the Homebrew repository for editing if no formula is provided\.
2017-02-08 00:12:50 -08:00
.
2018-10-15 15:06:33 -04:00
.SS "\fBextract\fR [\fIoptions\fR] \fIformula\fR \fItap\fR"
2019-08-20 02:14:09 -04:00
Look through repository history to find the most recent version of \fI formula\fR and create a copy in \fI tap\fR \fB /Formula/\fR \fI formula\fR \fB @\fR \fI version\fR \fB \. rb\fR \. 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 \fB homebrew/core\fR use its fully\- qualified form of \fI user\fR \fB /\fR \fI repo\fR \fB /\fR \fI formula\fR \.
2018-10-03 19:52:26 +05:30
.
2018-10-03 20:16:05 +05:30
.TP
\fB \- \- version\fR
2019-08-20 02:14:09 -04:00
Extract the specified \fI version\fR of \fI formula\fR instead of the most recent\.
2018-10-03 19:52:26 +05:30
.
2019-01-30 21:35:32 +00:00
.SS "\fBformula\fR \fIformula\fR"
2019-08-20 02:14:09 -04:00
Display the path where \fI formula\fR is located\.
2018-09-28 21:39:52 +05:30
.
2018-10-15 15:06:33 -04:00
.SS "\fBirb\fR [\fIoptions\fR]"
2018-02-28 11:36:23 +00:00
Enter the interactive Homebrew Ruby shell\.
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- examples\fR
Show several examples\.
2018-02-28 11:36:23 +00:00
.
.TP
2018-09-28 21:39:52 +05:30
\fB \- \- pry\fR
2018-10-15 15:06:33 -04:00
Use Pry instead of IRB\. Implied if \fB HOMEBREW_PRY\fR is set\.
2016-09-05 21:46:40 +01:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBlinkage\fR [\fIoptions\fR] [\fIformula\fR]"
2019-08-20 02:14:09 -04:00
Check the library links from the given \fI formula\fR kegs\. If no \fI formula\fR are provided, check all kegs\. Raises an error if run on uninstalled formulae\.
2016-09-05 21:46:40 +01:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- test\fR
2019-08-20 02:14:09 -04:00
Show only missing libraries and exit with a non\- zero status if any missing libraries are found\.
2016-09-05 21:46:40 +01:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- reverse\fR
2018-10-15 15:06:33 -04:00
For every library that a keg references, print its dylib path followed by the binaries that link to it\.
2016-09-05 21:46:40 +01:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- cached\fR
2018-10-15 15:06:33 -04:00
Print the cached linkage values stored in \fB HOMEBREW_CACHE\fR , set by a previous \fB brew linkage\fR run\.
2018-08-03 11:15:58 -07:00
.
2018-10-15 15:06:33 -04:00
.SS "\fBman\fR [\fIoptions\fR]"
2016-09-05 21:46:40 +01:00
Generate Homebrew\' s manpages\.
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- fail\- if\- changed\fR
2019-08-20 02:14:09 -04:00
Return a failing status code if changes are detected in the manpage outputs\. This can be used to notify CI when the manpages are out of date\. Additionally, the date used in new manpages will match those in the existing manpages (to allow comparison without factoring in the date)\.
2018-09-28 21:39:52 +05:30
.
.TP
\fB \- \- link\fR
2018-10-15 15:06:33 -04:00
This is now done automatically by \fB brew update\fR \.
2018-09-28 21:39:52 +05:30
.
2019-01-30 21:35:32 +00:00
.SS "\fBprof\fR \fIcommand\fR"
2019-08-20 02:14:09 -04:00
Run Homebrew with the Ruby profiler, e\. g\. \fB brew prof readall\fR \.
2017-02-20 12:47:08 +00:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBpull\fR [\fIoptions\fR] \fIpatch\fR"
2019-08-20 02:14:09 -04:00
Get a patch from a GitHub commit or pull request and apply it to Homebrew\. Optionally, publish updated bottles for any formulae changed by the patch\.
2016-09-05 21:46:40 +01:00
.
2018-09-28 21:39:52 +05:30
.P
2019-08-20 02:14:09 -04:00
Each \fI patch\fR may be the number of a pull request in \fB homebrew/core\fR , the URL of any pull request or commit on GitHub or a "https://jenkins\. brew\. sh/job/\. \. \. " testing job URL\.
2017-02-25 17:37:57 -05:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- bottle\fR
Handle bottles, pulling the bottle\- update commit and publishing files on Bintray\.
2017-02-25 17:37:57 -05:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- bump\fR
For one\- formula PRs, automatically reword commit message to our preferred format\.
2017-02-25 17:37:57 -05:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- clean\fR
Do not rewrite or otherwise modify the commits found in the pulled PR\.
2017-02-25 17:37:57 -05:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- ignore\- whitespace\fR
Silently ignore whitespace discrepancies when applying diffs\.
2017-02-25 17:37:57 -05:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- resolve\fR
When a patch fails to apply, leave in progress and allow user to resolve, instead of aborting\.
2017-02-25 17:37:57 -05:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- branch\- okay\fR
Do not warn if pulling to a branch besides master (useful for testing)\.
2017-02-25 17:37:57 -05:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- no\- pbcopy\fR
Do not copy anything to the system clipboard\.
2017-02-25 17:37:57 -05:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- no\- publish\fR
Do not publish bottles to Bintray\.
2016-09-05 21:46:40 +01:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- warn\- on\- publish\- failure\fR
Do not exit if there\' s a failure publishing bottles on Bintray\.
2017-02-20 12:47:08 +00:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- bintray\- org\fR
2019-08-20 02:14:09 -04:00
Publish bottles to the specified Bintray \fI organisation\fR \.
2017-10-09 22:13:26 -07:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- test\- bot\- user\fR
2019-08-20 02:14:09 -04:00
Pull the bottle block commit from the specified \fI user\fR on GitHub\.
2017-10-09 22:13:26 -07:00
.
2018-10-15 15:06:33 -04:00
.SS "\fBrelease\-notes\fR [\fIoptions\fR] [\fIprevious_tag\fR] [\fIend_ref\fR]"
Print the merged pull requests on Homebrew/brew between two Git refs\. If no \fI previous_tag\fR is provided it defaults to the latest tag\. If no \fI end_ref\fR is provided it defaults to \fB origin/master\fR \.
2016-10-22 12:10:48 +01:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- markdown\fR
2018-10-15 15:06:33 -04:00
Print as a Markdown list\.
.
2019-08-20 02:14:09 -04:00
.SS "\fBruby\fR (\fB\-e\fR \fItext\fR|\fIfile\fR)"
Run a Ruby instance with Homebrew\' s libraries loaded, e\. g\. \fB brew ruby \- e "puts :gcc\. f\. deps"\fR or \fB brew ruby script\. rb\fR \.
2016-10-22 12:10:48 +01:00
.
.TP
2018-10-15 15:06:33 -04:00
\fB \- e\fR
2019-08-20 02:14:09 -04:00
Execute the given text string as a script\.
2018-02-27 12:07:30 +00:00
.
2018-10-15 15:06:33 -04:00
.SS "\fBtap\-new\fR \fIuser\fR\fB/\fR\fIrepo\fR"
2016-10-13 13:41:53 +01:00
Generate the template files for a new tap\.
2016-09-05 21:46:40 +01:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBtest\fR [\fIoptions\fR] \fIformula\fR"
2018-10-15 15:06:33 -04:00
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\.
2016-09-05 21:46:40 +01:00
.
2018-10-15 15:06:33 -04:00
.P
\fI Example:\fR \fB brew install jruby && brew test jruby\fR
2016-09-05 21:46:40 +01:00
.
2018-10-15 15:06:33 -04:00
.TP
\fB \- \- devel\fR
Test the development version of a formula\.
2016-09-05 21:46:40 +01:00
.
2018-10-15 15:06:33 -04:00
.TP
\fB \- \- HEAD\fR
Test the head version of a formula\.
2016-09-05 21:46:40 +01:00
.
2018-10-15 15:06:33 -04:00
.TP
\fB \- \- keep\- tmp\fR
2019-08-20 02:14:09 -04:00
Retain the temporary files created for the test\.
2016-09-05 21:46:40 +01:00
.
2018-10-15 15:06:33 -04:00
.SS "\fBtests\fR [\fIoptions\fR]"
Run Homebrew\' s unit and integration tests\.
2017-03-05 21:45:15 -05:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- coverage\fR
Generate code coverage reports\.
2017-03-05 21:45:15 -05:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- generic\fR
Run only OS\- agnostic tests\.
2017-03-05 21:45:15 -05:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- no\- compat\fR
Do not load the compatibility layer when running tests\.
2017-03-05 21:45:15 -05:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- online\fR
Include tests that use the GitHub API and tests that use any of the taps for official external commands\.
2017-03-05 21:45:15 -05:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- only\fR
2018-10-15 15:06:33 -04:00
Run only \fI test_script\fR \fB _spec\. rb\fR \. Appending \fB :\fR \fI line_number\fR will start at a specific line\.
2018-09-28 21:39:52 +05:30
.
.TP
\fB \- \- seed\fR
2019-08-20 02:14:09 -04:00
Randomise tests with the specified \fI value\fR instead of a random seed\.
2016-09-05 21:46:40 +01:00
.
2018-10-15 15:06:33 -04:00
.SS "\fBupdate\-test\fR [\fIoptions\fR]"
2019-08-20 02:14:09 -04:00
Run a test of \fB brew update\fR with a new repository clone\. If no options are passed, use \fB origin/master\fR as the start commit\.
2016-09-05 21:46:40 +01:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- to\- tag\fR
Set \fB HOMEBREW_UPDATE_TO_TAG\fR to test updating between tags\.
2016-09-05 21:46:40 +01:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- keep\- tmp\fR
Retain the temporary directory containing the new repository clone\.
2016-09-05 21:46:40 +01:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- commit\fR
2019-08-20 02:14:09 -04:00
Use the specified \fI commit\fR as the start commit\.
2016-10-01 13:29:18 +01:00
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- \- before\fR
2019-08-20 02:14:09 -04:00
Use the commit at the specified \fI date\fR as the start commit\.
2018-12-21 20:09:08 +00:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBvendor\-gems\fR"
2018-12-21 20:09:08 +00:00
Install and commit Homebrew\' s vendored gems\.
2018-09-28 21:39:52 +05:30
.
2018-10-02 14:44:38 +05:30
.SH "GLOBAL OPTIONS"
These options are applicable across all sub\- commands\.
.
.TP
\fB \- q\fR , \fB \- \- quiet\fR
Suppress any warnings\.
.
2018-09-28 21:39:52 +05:30
.TP
\fB \- v\fR , \fB \- \- verbose\fR
Make some output more verbose\.
.
.TP
\fB \- d\fR , \fB \- \- debug\fR
Display any debugging information\.
2016-09-05 21:46:40 +01:00
.
2018-10-02 14:44:38 +05:30
.TP
\fB \- f\fR , \fB \- \- force\fR
Override warnings and enable potentially unsafe operations\.
.
2016-10-02 18:21:04 +01:00
.SH "OFFICIAL EXTERNAL COMMANDS"
.
2019-01-30 21:35:32 +00:00
.SS "\fBbundle\fR \fIsubcommand\fR:"
Bundler for non\- Ruby dependencies from Homebrew, Homebrew Cask and the Mac App Store\. See \fB brew bundle \- \- help\fR \.
2018-03-15 16:25:14 +00:00
.
2019-01-30 21:35:32 +00:00
.P
2018-10-02 21:56:00 -04:00
\fB Homebrew/homebrew\- bundle\fR
\fI https://github\. com/Homebrew/homebrew\- bundle\fR
2016-10-02 18:21:04 +01:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBcask\fR \fIsubcommand\fR:"
2019-08-20 02:14:09 -04:00
Install macOS applications distributed as binaries\. See \fB brew\- cask\fR (1)\.
2018-03-15 16:25:14 +00:00
.
2019-01-30 21:35:32 +00:00
.P
2018-10-02 21:56:00 -04:00
\fB Homebrew/homebrew\- cask\fR
\fI https://github\. com/Homebrew/homebrew\- cask\fR
2016-10-02 18:21:04 +01:00
.
2019-01-30 21:35:32 +00:00
.SS "\fBservices\fR \fIsubcommand\fR:"
Manage background services with macOS\' \fB launchctl\fR (1) daemon manager\. See \fB brew services \- \- help\fR \.
2018-03-15 16:25:14 +00:00
.
2019-01-30 21:35:32 +00:00
.P
2018-10-02 21:56:00 -04:00
\fB Homebrew/homebrew\- services\fR
\fI https://github\. com/Homebrew/homebrew\- services\fR
2016-10-02 18:21:04 +01:00
.
.SH "CUSTOM EXTERNAL COMMANDS"
2015-10-09 02:44:10 -04:00
Homebrew, like \fB git\fR (1), supports external commands\. These are executable scripts that reside somewhere in the \fB PATH\fR , named \fB brew\- \fR \fI cmdname\fR or \fB brew\- \fR \fI cmdname\fR \fB \. rb\fR , which can be invoked like \fB brew\fR \fI cmdname\fR \. This allows you to create your own commands without modifying Homebrew\' s internals\.
2010-07-29 09:25:22 -07:00
.
.P
2018-02-22 19:46:58 +00:00
Instructions for creating your own commands can be found in the docs: \fI https://docs\. brew\. sh/External\- Commands\fR
2011-09-19 18:20:52 -05:00
.
2012-03-25 15:54:38 -05:00
.SH "SPECIFYING FORMULAE"
Many Homebrew commands accept one or more \fI formula\fR arguments\. These arguments can take several different forms:
.
.TP
The name of a formula
e\. g\. \fB git\fR , \fB node\fR , \fB wget\fR \.
.
.TP
The fully\- qualified name of a tapped formula
2016-05-01 15:00:09 +02:00
Sometimes a formula from a tapped repository may conflict with one in \fB homebrew/core\fR \. You can still access these formulae by using a special syntax, e\. g\. \fB homebrew/dupes/vim\fR or \fB homebrew/versions/node4\fR \.
2012-03-25 15:54:38 -05:00
.
.TP
2018-11-09 04:05:38 +03:00
An arbitrary file or URL
2019-08-20 02:14:09 -04:00
Homebrew can install formulae via URL, e\. g\. \fB https://raw\. githubusercontent\. com/Homebrew/homebrew\- core/master/Formula/git\. rb\fR , or from a local path\. It can point to either a formula file or a bottle\. In the case of a URL, the downloaded file will be cached for later use\.
2012-03-25 15:54:38 -05:00
.
2010-06-03 22:29:20 -07:00
.SH "ENVIRONMENT"
2019-08-20 02:14:09 -04:00
Note that environment variables must have a value set to be detected\. For example, run \fB export HOMEBREW_NO_INSECURE_REDIRECT=1\fR rather than just \fB export HOMEBREW_NO_INSECURE_REDIRECT\fR \.
2010-06-03 22:29:20 -07:00
.
.TP
2019-05-07 10:31:54 +09:00
\fB HOMEBREW_ARCH\fR
2019-05-07 08:33:44 +01:00
Linux only: If set, Homebrew will pass the set value to type name to the compiler\' s \fB \- march\fR option instead of using the default (\fB \- march=native\fR )\.
2019-05-07 10:31:54 +09:00
.
.TP
2016-07-13 11:43:43 +01:00
\fB HOMEBREW_ARTIFACT_DOMAIN\fR
2018-12-03 21:23:06 -05:00
If set, instructs Homebrew to prefix all download URLs, including those for bottles, with this variable\. For example, \fB HOMEBREW_ARTIFACT_DOMAIN=http://localhost:8080\fR will cause a formula with the URL \fB https://example\. com/foo\. tar\. gz\fR to instead download from \fB http://localhost:8080/example\. com/foo\. tar\. gz\fR \.
2016-07-13 11:43:43 +01:00
.
.TP
2016-08-10 15:46:31 +01:00
\fB HOMEBREW_AUTO_UPDATE_SECS\fR
If set, Homebrew will only check for autoupdates once per this seconds interval\.
.
.IP
\fI Default:\fR \fB 60\fR \.
.
.TP
2017-05-13 11:42:01 +01:00
\fB HOMEBREW_AWS_ACCESS_KEY_ID\fR , \fB HOMEBREW_AWS_SECRET_ACCESS_KEY\fR
When using the \fB S3\fR download strategy, Homebrew will look in these variables for access credentials (see \fI https://docs\. aws\. amazon\. com/cli/latest/userguide/cli\- chap\- getting\- started\. html#cli\- environment\fR to retrieve these access credentials from AWS)\. If they are not set, the \fB S3\fR download strategy will download with a public (unsigned) URL\.
.
.TP
\fB HOMEBREW_BOTTLE_DOMAIN\fR
2018-12-03 21:23:06 -05:00
By default, Homebrew uses \fB https://homebrew\. bintray\. com/\fR as its download mirror for bottles\. If set, instructs Homebrew to instead use the specified URL\. For example, \fB HOMEBREW_BOTTLE_DOMAIN=http://localhost:8080\fR will cause all bottles to download from the prefix \fB http://localhost:8080/\fR \.
2017-05-13 11:42:01 +01:00
.
.TP
2015-10-09 02:44:10 -04:00
\fB HOMEBREW_BROWSER\fR
2018-12-03 21:23:06 -05:00
If set, Homebrew uses this setting as the browser when opening project homepages, instead of the OS default browser\.
2012-08-10 11:33:41 -07:00
.
.TP
2015-10-09 02:44:10 -04:00
\fB HOMEBREW_CACHE\fR
2018-12-03 21:23:06 -05:00
If set, instructs Homebrew to use the specified directory as the download cache\.
2011-06-07 13:37:59 -07:00
.
.IP
2016-06-01 08:46:33 +01:00
\fI Default:\fR \fB ~/Library/Caches/Homebrew\fR \.
2011-06-07 13:37:59 -07:00
.
.TP
2018-04-08 15:51:58 -07:00
\fB HOMEBREW_CURLRC\fR
2019-08-20 02:14:09 -04:00
If set, Homebrew will not pass \fB \- q\fR when invoking \fB curl\fR (1), which disables the use of \fB curlrc\fR \.
2018-04-08 15:51:58 -07:00
.
.TP
2015-10-09 02:44:10 -04:00
\fB HOMEBREW_CURL_VERBOSE\fR
2011-12-07 19:09:00 -06:00
If set, Homebrew will pass \fB \- \- verbose\fR when invoking \fB curl\fR (1)\.
.
.TP
2019-05-17 10:14:54 +01:00
\fB HOMEBREW_CURL_RETRIES\fR
If set, Homebrew will pass the given retry count to \fB \- \- retry\fR when invoking \fB curl\fR (1)\.
.
.TP
2015-10-09 02:44:10 -04:00
\fB HOMEBREW_DEBUG\fR
2013-04-30 13:46:57 -07:00
If set, any commands that can emit debugging information will do so\.
2010-06-03 22:29:20 -07:00
.
.TP
2015-10-09 02:44:10 -04:00
\fB HOMEBREW_DEVELOPER\fR
2018-12-03 21:23:06 -05:00
If set, Homebrew will tweak behaviour to be more relevant for Homebrew developers (active or budding), e\. g\. turning warnings into errors\.
2012-12-31 17:51:57 +00:00
.
.TP
2019-02-12 12:39:59 -08:00
\fB HOMEBREW_DISPLAY\fR
If set, Homebrew will use this X11 display when opening a page in a browser, for example with \fB brew home\fR \. Primarily useful on Linux\.
.
.IP
\fI Default:\fR the value of the user\' s \fB DISPLAY\fR environment variable\.
.
.TP
2019-07-28 11:12:32 +01:00
\fB HOMEBREW_DISPLAY_INSTALL_TIMES\fR
If set, Homebrew will print install times for each formula at the end of the run\.
.
.TP
2015-10-09 02:44:10 -04:00
\fB HOMEBREW_EDITOR\fR
2012-02-24 19:49:03 -06:00
If set, Homebrew will use this editor when editing a single formula, or several formulae in the same directory\.
2010-07-25 10:56:32 -07:00
.
.IP
2016-04-12 12:17:56 +01:00
\fI Note:\fR \fB brew edit\fR will open all of Homebrew as discontinuous files and directories\. TextMate can handle this correctly in project mode, but many editors will do strange things in this case\.
2010-07-25 10:56:32 -07:00
.
.TP
2017-12-06 12:56:15 +00:00
\fB HOMEBREW_FORCE_BREWED_CURL\fR
2018-10-25 09:24:00 -04:00
If set, Homebrew will always use a Homebrew\- installed \fB curl\fR rather than the system version\. Automatically set if the system version of \fB curl\fR is too old\.
2017-12-06 12:56:15 +00:00
.
.TP
2016-08-10 20:06:14 +01:00
\fB HOMEBREW_FORCE_VENDOR_RUBY\fR
2017-12-08 16:49:33 +00:00
If set, Homebrew will always use its vendored, relocatable Ruby version even if the system version of Ruby is new enough\.
2016-08-10 20:06:14 +01:00
.
.TP
2018-06-26 08:58:04 -07:00
\fB HOMEBREW_FORCE_BREWED_GIT\fR
2019-08-20 02:14:09 -04:00
If set, Homebrew will always use a Homebrew\- installed \fB git\fR (1) rather than the system version\. Automatically set if the system version of \fB git\fR is too old\.
2018-06-26 08:58:04 -07:00
.
.TP
2015-10-09 02:44:10 -04:00
\fB HOMEBREW_GITHUB_API_TOKEN\fR
2018-12-03 21:23:06 -05:00
A personal access token for the GitHub API, used by Homebrew for features such as \fB brew search\fR \. You can create one at \fI https://github\. com/settings/tokens\fR \. If set, GitHub will allow you a greater number of API requests\. For more information, see: \fI https://developer\. github\. com/v3/#rate\- limiting\fR
2013-05-18 08:27:22 -04:00
.
2015-10-20 08:52:46 +01:00
.IP
2016-04-12 12:17:56 +01:00
\fI Note:\fR Homebrew doesn\' t require permissions for any of the scopes\.
2015-10-20 08:52:46 +01:00
.
2013-05-18 08:27:22 -04:00
.TP
2018-02-28 11:36:23 +00:00
\fB HOMEBREW_INSTALL_BADGE\fR
2018-12-03 21:23:06 -05:00
Text printed before the installation summary of each successful build\.
.
.IP
\fI Default:\fR the beer emoji\.
2018-02-28 11:36:23 +00:00
.
.TP
2015-10-09 02:44:10 -04:00
\fB HOMEBREW_LOGS\fR
2018-12-03 21:23:06 -05:00
If set, Homebrew will use the specified directory to store log files\.
2015-05-14 00:15:41 -04:00
.
.TP
2015-10-09 02:44:10 -04:00
\fB HOMEBREW_MAKE_JOBS\fR
2011-07-26 00:01:22 -05:00
If set, instructs Homebrew to use the value of \fB HOMEBREW_MAKE_JOBS\fR as the number of parallel jobs to run when building with \fB make\fR (1)\.
.
.IP
\fI Default:\fR the number of available CPU cores\.
.
.TP
2016-04-12 12:17:56 +01:00
\fB HOMEBREW_NO_ANALYTICS\fR
2018-02-22 19:46:58 +00:00
If set, Homebrew will not send analytics\. See: \fI https://docs\. brew\. sh/Analytics\fR
2016-04-12 12:17:56 +01:00
.
.TP
2016-08-10 15:46:31 +01:00
\fB HOMEBREW_NO_AUTO_UPDATE\fR
2016-08-27 15:57:09 +01:00
If set, Homebrew will not auto\- update before running \fB brew install\fR , \fB brew upgrade\fR or \fB brew tap\fR \.
2016-08-10 15:46:31 +01:00
.
.TP
2019-01-12 12:08:18 +00:00
\fB HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK\fR
2019-01-14 16:29:42 -06:00
If set, Homebrew will fail on the failure of installation from a bottle rather than falling back to building from source\.
2019-01-12 12:08:18 +00:00
.
.TP
2018-02-12 11:06:55 -06:00
\fB HOMEBREW_NO_COLOR\fR
2019-01-30 21:35:32 +00:00
If set, Homebrew will not print text with colour added\.
2018-02-12 11:06:55 -06:00
.
.TP
2015-10-09 02:44:10 -04:00
\fB HOMEBREW_NO_EMOJI\fR
2013-10-11 10:53:50 +02:00
If set, Homebrew will not print the \fB HOMEBREW_INSTALL_BADGE\fR on a successful build\.
2013-01-19 17:28:55 -06:00
.
.IP
2018-12-03 21:23:06 -05:00
\fI Note:\fR Homebrew will only try to print emoji on OS X Lion or newer\.
2013-01-19 17:28:55 -06:00
.
.TP
2015-10-09 02:44:10 -04:00
\fB HOMEBREW_NO_INSECURE_REDIRECT\fR
2015-04-26 03:18:45 +01:00
If set, Homebrew will not permit redirects from secure HTTPS to insecure HTTP\.
.
.IP
2017-02-25 17:37:57 -05:00
While ensuring your downloads are fully secure, this is likely to cause from\- source SourceForge, some GNU & GNOME based formulae to fail to download\.
2015-04-26 03:18:45 +01:00
.
.TP
2015-10-09 02:44:10 -04:00
\fB HOMEBREW_NO_GITHUB_API\fR
2018-12-03 21:23:06 -05:00
If set, Homebrew will not use the GitHub API, e\. g\. for searches or fetching relevant issues on a failed install\.
2013-10-22 16:18:31 -07:00
.
.TP
2019-01-03 16:23:44 +00:00
\fB HOMEBREW_NO_INSTALL_CLEANUP\fR
2019-02-03 09:34:00 +01:00
If set, \fB brew install\fR , \fB brew upgrade\fR and \fB brew reinstall\fR will never automatically cleanup the installed/upgraded/reinstalled formulae or all formulae every 30 days\.
2019-01-03 16:23:44 +00:00
.
.TP
2018-02-28 11:36:23 +00:00
\fB HOMEBREW_PRY\fR
2018-12-03 21:23:06 -05:00
If set, Homebrew will use Pry for the \fB brew irb\fR command\.
2013-10-11 10:53:50 +02:00
.
.TP
2015-10-09 02:44:10 -04:00
\fB HOMEBREW_SVN\fR
2010-07-09 12:13:17 -07:00
When exporting from Subversion, Homebrew will use \fB HOMEBREW_SVN\fR if set, a Homebrew\- built Subversion if installed, or the system\- provided binary\.
.
.IP
2015-10-09 02:44:10 -04:00
Set this to force Homebrew to use a particular \fB svn\fR binary\.
2010-07-09 12:13:17 -07:00
.
.TP
2015-10-09 02:44:10 -04:00
\fB HOMEBREW_TEMP\fR
2018-12-03 21:23:06 -05:00
If set, instructs Homebrew to use \fB HOMEBREW_TEMP\fR as the temporary directory for building packages\. This may be needed if your system temp directory and Homebrew prefix are on different volumes, as macOS has trouble moving symlinks across volumes when the target does not yet exist\.
2010-05-01 14:06:23 -07:00
.
.IP
2010-11-06 14:18:15 -07:00
This issue typically occurs when using FileVault or custom SSD configurations\.
2010-05-01 14:06:23 -07:00
.
.TP
2018-11-25 20:16:27 +00:00
\fB HOMEBREW_UPDATE_TO_TAG\fR
If set, instructs Homebrew to always use the latest stable tag (even if developer commands have been run)\.
.
.TP
2015-10-09 02:44:10 -04:00
\fB HOMEBREW_VERBOSE\fR
2013-01-06 17:32:23 -08:00
If set, Homebrew always assumes \fB \- \- verbose\fR when running commands\.
2010-06-03 22:29:20 -07:00
.
2017-11-30 14:05:06 +00:00
.TP
\fB http_proxy\fR
Sets the HTTP proxy to be used by \fB curl\fR , \fB git\fR and \fB svn\fR when downloading through Homebrew\.
2010-11-01 10:24:57 -07:00
.
2017-11-30 14:05:06 +00:00
.TP
\fB https_proxy\fR
Sets the HTTPS proxy to be used by \fB curl\fR , \fB git\fR and \fB svn\fR when downloading through Homebrew\.
.
.TP
2018-02-01 18:11:29 +08:00
\fB all_proxy\fR
Sets the SOCKS5 proxy to be used by \fB curl\fR , \fB git\fR and \fB svn\fR when downloading through Homebrew\.
.
.TP
2017-11-30 14:05:06 +00:00
\fB ftp_proxy\fR
Sets the FTP proxy to be used by \fB curl\fR , \fB git\fR and \fB svn\fR when downloading through Homebrew\.
.
2017-12-19 10:59:04 +02:00
.TP
\fB no_proxy\fR
Sets the comma\- separated list of hostnames and domain names that should be excluded from proxying by \fB curl\fR , \fB git\fR and \fB svn\fR when downloading through Homebrew\.
.
2017-11-30 14:05:06 +00:00
.SH "USING HOMEBREW BEHIND A PROXY"
2018-12-03 21:23:06 -05:00
Set the \fB http_proxy\fR , \fB https_proxy\fR , \fB all_proxy\fR , \fB ftp_proxy\fR and/or \fB no_proxy\fR environment variables documented above\.
2017-12-19 10:59:04 +02:00
.
.P
2018-12-03 21:23:06 -05:00
For example, to use an unauthenticated HTTP or SOCKS5 proxy:
2010-11-01 10:24:57 -07:00
.
.IP "" 4
.
.nf
2018-10-06 00:31:10 -04:00
export http_proxy=http://$HOST:$PORT
2018-02-01 18:11:29 +08:00
2018-10-06 00:31:10 -04:00
export all_proxy=socks5://$HOST:$PORT
2010-11-01 10:24:57 -07:00
.
.fi
.
.IP "" 0
.
.P
2017-11-30 14:05:06 +00:00
And for an authenticated HTTP proxy:
2010-11-01 10:24:57 -07:00
.
.IP "" 4
.
.nf
2018-10-06 00:31:10 -04:00
export http_proxy=http://$USER:$PASSWORD@$HOST:$PORT
2010-11-01 10:24:57 -07:00
.
.fi
.
.IP "" 0
.
2010-06-03 22:29:20 -07:00
.SH "SEE ALSO"
2017-07-27 15:59:37 +01:00
Homebrew Documentation: \fI https://docs\. brew\. sh\fR
2010-11-06 14:18:15 -07:00
.
.P
2019-08-20 02:14:09 -04:00
Homebrew API: \fI https://rubydoc\. brew\. sh\fR
.
.P
2016-10-02 18:21:04 +01:00
\fB brew\- cask\fR (1), \fB git\fR (1), \fB git\- log\fR (1)
2010-06-03 22:29:20 -07:00
.
.SH "AUTHORS"
2019-02-15 10:54:30 +00:00
Homebrew\' s Project Leader is Mike McQuaid\.
2016-09-20 09:31:06 +01:00
.
.P
2019-02-15 10:54:30 +00:00
Homebrew\' s Project Leadership Committee is Misty De Meo, Shaun Jackman, Jonathan Chang, Mike McQuaid and Markus Reiter\.
2018-08-02 13:26:02 +01:00
.
.P
2019-02-15 10:54:30 +00:00
Homebrew\' s Technical Steering Committee is Michka Popoff, FX Coudert, Markus Reiter, Misty De Meo and Mike McQuaid\.
2014-10-26 15:42:20 +00:00
.
.P
2019-05-26 23:14:54 +01:00
Homebrew/brew\' s Linux maintainers are Michka Popoff, Shaun Jackman and Issy Long\.
2018-01-18 15:45:51 +00:00
.
.P
2019-05-26 23:14:54 +01:00
Homebrew\' s other current maintainers are Claudia Pellegrino, Chongyu Zhu, Vitor Galvao, Gautham Goli, Steven Peters, William Woodruff, Igor Kapkov, Izaak Beekman, Sean Molenaar, Jan Viljanen, Jason Tedor, Eric Knibbe, Viktor Szakats, Thierry Moisan, Steven Peters, Tom Schoonjans and Issy Long\.
2018-08-07 10:51:16 +01:00
.
.P
2018-12-16 11:40:42 +00:00
Former maintainers with significant contributions include JCount, commitay, Dominyk Tiller, Tim Smith, Baptiste Fontaine, Xu Cheng, Martin Afanasjew, Brett Koonce, Charlie Sharpsteen, Jack Nagel, Adam Vandenberg, Andrew Janke, Alex Dunn, neutric, Tomasz Pajor, Uladzislau Shablinski, Alyssa Ross, ilovezfs and Homebrew\' s creator: Max Howell\.
2010-06-03 22:29:20 -07:00
.
.SH "BUGS"
2016-04-02 20:22:58 +08:00
See our issues on GitHub:
.
2018-10-02 21:56:00 -04:00
.TP
\fB Homebrew/brew\fR
\fI https://github\. com/Homebrew/brew/issues\fR
2016-04-02 20:22:58 +08:00
.
2018-10-02 21:56:00 -04:00
.TP
\fB Homebrew/homebrew\- core\fR
\fI https://github\. com/Homebrew/homebrew\- core/issues\fR
2016-09-20 11:50:02 +02:00