| 
									
										
										
										
											2016-04-17 05:34:41 +02:00
										 |  |  | <% | 
					
						
							|  |  |  | # To make changes to this man page: | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # - For changes to a specific command (appears in the `COMMANDS` section): | 
					
						
							|  |  |  | #   - Edit the top comment in `Library/Homebrew/cmd/<command>.{rb,sh}`. | 
					
						
							|  |  |  | #   - Make sure to use the line prefix `#:` for the comments to be recognized as | 
					
						
							|  |  |  | #     documentation. If in doubt, compare with already documented commands. | 
					
						
							|  |  |  | # - For other changes: Edit this file. | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # When done, regenerate the man page and its HTML version by running `brew man`. | 
					
						
							|  |  |  | %> | 
					
						
							| 
									
										
										
										
											2019-12-17 21:38:16 +00:00
										 |  |  | brew(1) -- The Missing Package Manager for macOS | 
					
						
							| 
									
										
										
										
											2018-10-25 09:24:00 -04:00
										 |  |  | ================================================ | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-04-17 05:33:21 +02:00
										 |  |  | ## SYNOPSIS | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | `brew` `--version`<br> | 
					
						
							|  |  |  | `brew` <command> [`--verbose`|`-v`] [<options>] [<formula>] ... | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ## DESCRIPTION | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Homebrew is the easiest and most flexible way to install the UNIX tools Apple | 
					
						
							| 
									
										
										
										
											2016-09-18 19:57:19 +01:00
										 |  |  | didn't include with macOS. | 
					
						
							| 
									
										
										
										
											2016-04-17 05:33:21 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | ## ESSENTIAL COMMANDS | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-04 11:12:56 +01:00
										 |  |  | For the full command list, see the [COMMANDS](#commands) section. | 
					
						
							| 
									
										
										
										
											2016-04-17 05:33:21 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-19 22:44:50 -04:00
										 |  |  | With `--verbose` or `--debug`, many commands print extra debugging information. Note that | 
					
						
							| 
									
										
										
										
											2019-08-20 00:04:14 -04:00
										 |  |  | these options should only appear after a command. | 
					
						
							| 
									
										
										
										
											2016-04-17 05:33:21 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-30 21:33:55 +00:00
										 |  |  | ### `install` <formula>: | 
					
						
							| 
									
										
										
										
											2016-04-17 05:33:21 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-30 21:33:55 +00:00
										 |  |  | Install <formula>. | 
					
						
							| 
									
										
										
										
											2016-04-17 05:33:21 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-09 14:23:04 -04:00
										 |  |  | <formula> is usually the name of the formula to install, but it has other syntaxes which | 
					
						
							|  |  |  | are listed in the [SPECIFYING FORMULAE](#specifying-formulae) section. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-30 21:33:55 +00:00
										 |  |  | ### `uninstall` <formula>: | 
					
						
							| 
									
										
										
										
											2016-04-17 05:33:21 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-30 21:33:55 +00:00
										 |  |  | Uninstall <formula>. | 
					
						
							| 
									
										
										
										
											2016-04-17 05:33:21 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-30 21:33:55 +00:00
										 |  |  | ### `list`: | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | List all installed formulae. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ### `search` (<text>|`/`<text>`/`): | 
					
						
							| 
									
										
										
										
											2019-08-06 13:23:19 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-30 21:33:55 +00:00
										 |  |  | Perform a substring search of cask tokens and formula names for <text>. If <text> | 
					
						
							| 
									
										
										
										
											2019-08-20 00:04:14 -04:00
										 |  |  | is flanked by slashes, it is interpreted as a regular expression. | 
					
						
							| 
									
										
										
										
											2019-01-30 21:33:55 +00:00
										 |  |  | The search for <text> is extended online to `homebrew/core` and `homebrew/cask`. | 
					
						
							| 
									
										
										
										
											2019-08-20 00:04:14 -04:00
										 |  |  | If no search term is provided, all locally available formulae are listed. | 
					
						
							| 
									
										
										
										
											2016-04-17 05:33:21 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | ## COMMANDS | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-30 21:33:55 +00:00
										 |  |  | <%= commands %> | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-09-05 21:46:40 +01:00
										 |  |  | ## DEVELOPER COMMANDS | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-30 21:33:55 +00:00
										 |  |  | <%= developer_commands %> | 
					
						
							| 
									
										
										
										
											2016-09-05 21:46:40 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-10-02 14:44:38 +05:30
										 |  |  | ## GLOBAL OPTIONS | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-30 21:33:55 +00:00
										 |  |  | <%= global_options %> | 
					
						
							| 
									
										
										
										
											2018-10-02 14:44:38 +05:30
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-10-02 18:21:04 +01:00
										 |  |  | ## OFFICIAL EXTERNAL COMMANDS | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-30 21:33:55 +00:00
										 |  |  | ### `bundle` <subcommand>: | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-06 13:23:19 -04:00
										 |  |  | Bundler for non-Ruby dependencies from Homebrew, Homebrew Cask and the Mac App Store. | 
					
						
							|  |  |  | See `brew bundle --help`. | 
					
						
							| 
									
										
										
										
											2016-10-02 18:21:04 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-30 21:33:55 +00:00
										 |  |  | **Homebrew/homebrew-bundle**: <https://github.com/Homebrew/homebrew-bundle> | 
					
						
							| 
									
										
										
										
											2016-10-02 18:21:04 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-30 21:33:55 +00:00
										 |  |  | ### `cask` <subcommand>: | 
					
						
							| 
									
										
										
										
											2018-03-15 16:25:14 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-06 14:20:27 -04:00
										 |  |  | Install macOS applications distributed as binaries. See `brew-cask`(1). | 
					
						
							| 
									
										
										
										
											2018-03-15 16:25:14 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-30 21:33:55 +00:00
										 |  |  | **Homebrew/homebrew-cask**: <https://github.com/Homebrew/homebrew-cask> | 
					
						
							| 
									
										
										
										
											2018-03-15 16:25:14 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-30 21:33:55 +00:00
										 |  |  | ### `services` <subcommand>: | 
					
						
							| 
									
										
										
										
											2018-03-15 16:25:14 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-06 13:23:19 -04:00
										 |  |  | Manage background services with macOS' `launchctl`(1) daemon manager. | 
					
						
							|  |  |  | See `brew services --help`. | 
					
						
							| 
									
										
										
										
											2018-03-15 16:25:14 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-30 21:33:55 +00:00
										 |  |  | **Homebrew/homebrew-services**: <https://github.com/Homebrew/homebrew-services> | 
					
						
							| 
									
										
										
										
											2016-10-02 18:21:04 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | ## CUSTOM EXTERNAL COMMANDS | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | Homebrew, like `git`(1), supports external commands. These are executable | 
					
						
							|  |  |  | scripts that reside somewhere in the `PATH`, named `brew-`<cmdname> or | 
					
						
							|  |  |  | `brew-`<cmdname>`.rb`, which can be invoked like `brew` <cmdname>. This allows you | 
					
						
							|  |  |  | to create your own commands without modifying Homebrew's internals. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Instructions for creating your own commands can be found in the docs: | 
					
						
							| 
									
										
										
										
											2018-02-22 19:46:58 +00:00
										 |  |  | <https://docs.brew.sh/External-Commands> | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | ## SPECIFYING FORMULAE | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Many Homebrew commands accept one or more <formula> arguments. These arguments | 
					
						
							|  |  |  | can take several different forms: | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   * The name of a formula: | 
					
						
							|  |  |  |     e.g. `git`, `node`, `wget`. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   * 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 | 
					
						
							|  |  |  |     `homebrew/core`. | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  |     You can still access these formulae by using a special syntax, e.g. | 
					
						
							|  |  |  |     `homebrew/dupes/vim` or `homebrew/versions/node4`. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-11-09 04:05:38 +03:00
										 |  |  |   * An arbitrary file or URL: | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  |     Homebrew can install formulae via URL, e.g. | 
					
						
							| 
									
										
										
										
											2018-12-03 21:23:06 -05:00
										 |  |  |     `https://raw.githubusercontent.com/Homebrew/homebrew-core/master/Formula/git.rb`, | 
					
						
							| 
									
										
										
										
											2019-08-20 00:04:14 -04:00
										 |  |  |     or from a local path. It can point to either a formula file or a bottle. | 
					
						
							| 
									
										
										
										
											2018-11-09 04:05:38 +03:00
										 |  |  |     In the case of a URL, the downloaded file will be cached for later use. | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | ## ENVIRONMENT | 
					
						
							| 
									
										
										
										
											2018-10-25 09:24:00 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-20 00:04:14 -04:00
										 |  |  | Note that environment variables must have a value set to be detected. For example, run | 
					
						
							| 
									
										
										
										
											2018-12-03 21:23:06 -05:00
										 |  |  | `export HOMEBREW_NO_INSECURE_REDIRECT=1` rather than just | 
					
						
							|  |  |  | `export HOMEBREW_NO_INSECURE_REDIRECT`. | 
					
						
							| 
									
										
										
										
											2018-04-07 10:10:24 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-07 10:31:54 +09:00
										 |  |  |   * `HOMEBREW_ARCH`: | 
					
						
							| 
									
										
										
										
											2019-08-06 13:23:19 -04:00
										 |  |  |     Linux only: If set, Homebrew will pass the set value to type name to the compiler's | 
					
						
							|  |  |  |     `-march` option instead of using the default (`-march=native`). | 
					
						
							| 
									
										
										
										
											2019-05-07 10:31:54 +09:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-05-13 11:42:01 +01:00
										 |  |  |   * `HOMEBREW_ARTIFACT_DOMAIN`: | 
					
						
							| 
									
										
										
										
											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, `HOMEBREW_ARTIFACT_DOMAIN=http://localhost:8080` | 
					
						
							|  |  |  |     will cause a formula with the URL `https://example.com/foo.tar.gz` to instead | 
					
						
							|  |  |  |     download from `http://localhost:8080/example.com/foo.tar.gz`. | 
					
						
							| 
									
										
										
										
											2017-05-13 11:42:01 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  |   * `HOMEBREW_AUTO_UPDATE_SECS`: | 
					
						
							|  |  |  |     If set, Homebrew will only check for autoupdates once per this seconds interval. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-10-03 12:54:34 +01:00
										 |  |  |     *Default:* `300`. | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-05-13 11:42:01 +01:00
										 |  |  |   * `HOMEBREW_AWS_ACCESS_KEY_ID`, `HOMEBREW_AWS_SECRET_ACCESS_KEY`: | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  |     When using the `S3` download strategy, Homebrew will look in | 
					
						
							|  |  |  |     these variables for access credentials (see | 
					
						
							|  |  |  |     <https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html#cli-environment> | 
					
						
							| 
									
										
										
										
											2018-08-03 11:55:37 +02:00
										 |  |  |     to retrieve these access credentials from AWS). If they are not set, | 
					
						
							| 
									
										
										
										
											2018-12-03 21:23:06 -05:00
										 |  |  |     the `S3` download strategy will download with a public (unsigned) URL. | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-09-30 15:40:20 +02:00
										 |  |  |   * `HOMEBREW_BAT`: | 
					
						
							|  |  |  |     If set, Homebrew will use `bat` for the `brew cat` command. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  |   * `HOMEBREW_BOTTLE_DOMAIN`: | 
					
						
							| 
									
										
										
										
											2018-08-14 00:56:26 -04:00
										 |  |  |     By default, Homebrew uses `https://homebrew.bintray.com/` as its download | 
					
						
							| 
									
										
										
										
											2018-12-03 21:23:06 -05:00
										 |  |  |     mirror for bottles. If set, instructs Homebrew to instead use the specified | 
					
						
							| 
									
										
										
										
											2018-08-14 00:56:26 -04:00
										 |  |  |     URL. For example, `HOMEBREW_BOTTLE_DOMAIN=http://localhost:8080` will | 
					
						
							|  |  |  |     cause all bottles to download from the prefix `http://localhost:8080/`. | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-12-30 10:38:47 +00:00
										 |  |  |   * `HOMEBREW_BREW_GIT_REMOTE`: | 
					
						
							|  |  |  |     By default, Homebrew uses `https://github.com/Homebrew/brew` as its | 
					
						
							|  |  |  |     Homebrew/brew `git`(1) remote. If set, instructs Homebrew to instead use | 
					
						
							|  |  |  |     the specified URL. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  |   * `HOMEBREW_BROWSER`: | 
					
						
							| 
									
										
										
										
											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. | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |   * `HOMEBREW_CACHE`: | 
					
						
							| 
									
										
										
										
											2018-12-03 21:23:06 -05:00
										 |  |  |     If set, instructs Homebrew to use the specified directory as the download cache. | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-01 08:46:33 +01:00
										 |  |  |     *Default:* `~/Library/Caches/Homebrew`. | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-12-30 10:38:47 +00:00
										 |  |  |   * `HOMEBREW_CORE_GIT_REMOTE`: | 
					
						
							|  |  |  |     By default, Homebrew uses `https://github.com/Homebrew/homebrew-core` (or | 
					
						
							|  |  |  |     `https://github.com/Homebrew/linuxbrew-core`) as its Homebrew/homebrew-core | 
					
						
							|  |  |  |     `git`(1) remote. If set, instructs Homebrew to instead use the specified URL. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-04-08 15:51:58 -07:00
										 |  |  |   * `HOMEBREW_CURLRC`: | 
					
						
							| 
									
										
										
										
											2019-08-20 00:04:14 -04:00
										 |  |  |     If set, Homebrew will not pass `-q` when invoking `curl`(1), which disables | 
					
						
							|  |  |  |     the use of `curlrc`. | 
					
						
							| 
									
										
										
										
											2018-04-08 15:51:58 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  |   * `HOMEBREW_CURL_VERBOSE`: | 
					
						
							|  |  |  |     If set, Homebrew will pass `--verbose` when invoking `curl`(1). | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-17 10:14:54 +01:00
										 |  |  |   * `HOMEBREW_CURL_RETRIES`: | 
					
						
							|  |  |  |     If set, Homebrew will pass the given retry count to `--retry` when invoking `curl`(1). | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  |   * `HOMEBREW_DEBUG`: | 
					
						
							|  |  |  |     If set, any commands that can emit debugging information will do so. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   * `HOMEBREW_DEVELOPER`: | 
					
						
							| 
									
										
										
										
											2016-08-16 12:24:10 +01:00
										 |  |  |     If set, Homebrew will tweak behaviour to be more relevant for Homebrew | 
					
						
							| 
									
										
										
										
											2018-12-03 21:23:06 -05:00
										 |  |  |     developers (active or budding), e.g. turning warnings into errors. | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-12 12:39:59 -08:00
										 |  |  |   * `HOMEBREW_DISPLAY`: | 
					
						
							|  |  |  |     If set, Homebrew will use this X11 display when opening a page in a browser, | 
					
						
							|  |  |  |     for example with `brew home`. Primarily useful on Linux. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     *Default:* the value of the user's `DISPLAY` environment variable. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-07-28 11:12:32 +01:00
										 |  |  |   * `HOMEBREW_DISPLAY_INSTALL_TIMES`: | 
					
						
							|  |  |  |     If set, Homebrew will print install times for each formula at the end of the run. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  |   * `HOMEBREW_EDITOR`: | 
					
						
							|  |  |  |     If set, Homebrew will use this editor when editing a single formula, or | 
					
						
							|  |  |  |     several formulae in the same directory. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-04-12 12:17:56 +01:00
										 |  |  |     *Note:* `brew edit` will open all of Homebrew as discontinuous files and | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  |     directories. TextMate can handle this correctly in project mode, but many | 
					
						
							|  |  |  |     editors will do strange things in this case. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-12-06 12:56:15 +00:00
										 |  |  |   * `HOMEBREW_FORCE_BREWED_CURL`: | 
					
						
							| 
									
										
										
										
											2018-10-25 09:24:00 -04:00
										 |  |  |     If set, Homebrew will always use a Homebrew-installed `curl` rather than the | 
					
						
							|  |  |  |     system version. Automatically set if the system version of `curl` is too old. | 
					
						
							| 
									
										
										
										
											2017-12-06 12:56:15 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-08-10 20:06:14 +01:00
										 |  |  |   * `HOMEBREW_FORCE_VENDOR_RUBY`: | 
					
						
							| 
									
										
										
										
											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
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-06-25 23:36:12 -07:00
										 |  |  |   * `HOMEBREW_FORCE_BREWED_GIT`: | 
					
						
							| 
									
										
										
										
											2019-08-06 14:20:27 -04:00
										 |  |  |     If set, Homebrew will always use a Homebrew-installed `git`(1) rather than the | 
					
						
							| 
									
										
										
										
											2018-10-25 09:24:00 -04:00
										 |  |  |     system version. Automatically set if the system version of `git` is too old. | 
					
						
							| 
									
										
										
										
											2018-06-25 23:36:12 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  |   * `HOMEBREW_GITHUB_API_TOKEN`: | 
					
						
							| 
									
										
										
										
											2018-12-03 21:23:06 -05:00
										 |  |  |     A personal access token for the GitHub API, used by Homebrew for features | 
					
						
							|  |  |  |     such as `brew search`. You can create one at <https://github.com/settings/tokens>. | 
					
						
							|  |  |  |     If set, GitHub will allow you a greater number of API requests. For more | 
					
						
							|  |  |  |     information, see: <https://developer.github.com/v3/#rate-limiting> | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-04-12 12:17:56 +01:00
										 |  |  |     *Note:* Homebrew doesn't require permissions for any of the scopes. | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-02-28 11:36:23 +00:00
										 |  |  |   * `HOMEBREW_INSTALL_BADGE`: | 
					
						
							|  |  |  |     Text printed before the installation summary of each successful build. | 
					
						
							| 
									
										
										
										
											2018-12-03 21:23:06 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  |     *Default:* the beer emoji. | 
					
						
							| 
									
										
										
										
											2018-02-28 11:36:23 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  |   * `HOMEBREW_LOGS`: | 
					
						
							| 
									
										
										
										
											2018-12-03 21:23:06 -05:00
										 |  |  |     If set, Homebrew will use the specified directory to store log files. | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |   * `HOMEBREW_MAKE_JOBS`: | 
					
						
							|  |  |  |     If set, instructs Homebrew to use the value of `HOMEBREW_MAKE_JOBS` as | 
					
						
							|  |  |  |     the number of parallel jobs to run when building with `make`(1). | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     *Default:* the number of available CPU cores. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-04-12 12:17:56 +01:00
										 |  |  |   * `HOMEBREW_NO_ANALYTICS`: | 
					
						
							| 
									
										
										
										
											2018-02-22 19:46:58 +00:00
										 |  |  |     If set, Homebrew will not send analytics. See: <https://docs.brew.sh/Analytics> | 
					
						
							| 
									
										
										
										
											2016-04-12 12:17:56 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-08-10 15:46:31 +01:00
										 |  |  |   * `HOMEBREW_NO_AUTO_UPDATE`: | 
					
						
							| 
									
										
										
										
											2016-08-27 15:57:09 +01:00
										 |  |  |     If set, Homebrew will not auto-update before running `brew install`, | 
					
						
							|  |  |  |     `brew upgrade` or `brew tap`. | 
					
						
							| 
									
										
										
										
											2016-08-10 15:46:31 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-12 12:08:18 +00:00
										 |  |  |   * `HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK`: | 
					
						
							| 
									
										
										
										
											2019-01-14 16:29:42 -06:00
										 |  |  |     If set, Homebrew will fail on the failure of installation from a bottle | 
					
						
							| 
									
										
										
										
											2019-01-12 12:08:18 +00:00
										 |  |  |     rather than falling back to building from source. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-02-12 11:06:55 -06:00
										 |  |  |   * `HOMEBREW_NO_COLOR`: | 
					
						
							| 
									
										
										
										
											2019-01-30 21:33:55 +00:00
										 |  |  |     If set, Homebrew will not print text with colour added. | 
					
						
							| 
									
										
										
										
											2018-02-12 11:06:55 -06:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  |   * `HOMEBREW_NO_EMOJI`: | 
					
						
							|  |  |  |     If set, Homebrew will not print the `HOMEBREW_INSTALL_BADGE` on a | 
					
						
							|  |  |  |     successful build. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-12-03 21:23:06 -05:00
										 |  |  |     *Note:* Homebrew will only try to print emoji on OS X Lion or newer. | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |   * `HOMEBREW_NO_INSECURE_REDIRECT`: | 
					
						
							|  |  |  |     If set, Homebrew will not permit redirects from secure HTTPS | 
					
						
							|  |  |  |     to insecure HTTP. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     While ensuring your downloads are fully secure, this is likely | 
					
						
							| 
									
										
										
										
											2017-02-25 17:37:57 -05:00
										 |  |  |     to cause from-source SourceForge, some GNU & GNOME based | 
					
						
							| 
									
										
										
										
											2016-06-22 19:56:10 +02:00
										 |  |  |     formulae to fail to download. | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |   * `HOMEBREW_NO_GITHUB_API`: | 
					
						
							| 
									
										
										
										
											2018-12-03 21:23:06 -05:00
										 |  |  |     If set, Homebrew will not use the GitHub API, e.g. for searches or | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  |     fetching relevant issues on a failed install. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-03 16:23:44 +00:00
										 |  |  |   * `HOMEBREW_NO_INSTALL_CLEANUP`: | 
					
						
							|  |  |  |     If set, `brew install`, `brew upgrade` and `brew reinstall` will never | 
					
						
							| 
									
										
										
										
											2019-02-03 09:34:00 +01:00
										 |  |  |     automatically cleanup the installed/upgraded/reinstalled formulae or all | 
					
						
							|  |  |  |     formulae every 30 days. | 
					
						
							| 
									
										
										
										
											2019-01-03 16:23:44 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-02-28 11:36:23 +00:00
										 |  |  |   * `HOMEBREW_PRY`: | 
					
						
							| 
									
										
										
										
											2018-12-03 21:23:06 -05:00
										 |  |  |     If set, Homebrew will use Pry for the `brew irb` command. | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |   * `HOMEBREW_SVN`: | 
					
						
							|  |  |  |     When exporting from Subversion, Homebrew will use `HOMEBREW_SVN` if set, | 
					
						
							|  |  |  |     a Homebrew-built Subversion if installed, or the system-provided binary. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     Set this to force Homebrew to use a particular `svn` binary. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   * `HOMEBREW_TEMP`: | 
					
						
							|  |  |  |     If set, instructs Homebrew to use `HOMEBREW_TEMP` as the temporary directory | 
					
						
							|  |  |  |     for building packages. This may be needed if your system temp directory and | 
					
						
							| 
									
										
										
										
											2018-12-03 21:23:06 -05:00
										 |  |  |     Homebrew prefix are on different volumes, as macOS has trouble moving | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  |     symlinks across volumes when the target does not yet exist. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-12-03 21:23:06 -05:00
										 |  |  |     This issue typically occurs when using FileVault or custom SSD configurations. | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-11-25 20:16:27 +00:00
										 |  |  |   * `HOMEBREW_UPDATE_TO_TAG`: | 
					
						
							|  |  |  |     If set, instructs Homebrew to always use the latest stable tag (even if | 
					
						
							|  |  |  |     developer commands have been run). | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  |   * `HOMEBREW_VERBOSE`: | 
					
						
							|  |  |  |     If set, Homebrew always assumes `--verbose` when running commands. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-11-30 14:05:06 +00:00
										 |  |  |   * `http_proxy`: | 
					
						
							|  |  |  |     Sets the HTTP proxy to be used by `curl`, `git` and `svn` when downloading | 
					
						
							|  |  |  |     through Homebrew. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   * `https_proxy`: | 
					
						
							|  |  |  |     Sets the HTTPS proxy to be used by `curl`, `git` and `svn` when downloading | 
					
						
							|  |  |  |     through Homebrew. | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-02-01 18:11:29 +08:00
										 |  |  |   * `all_proxy`: | 
					
						
							|  |  |  |     Sets the SOCKS5 proxy to be used by `curl`, `git` and `svn` when downloading | 
					
						
							|  |  |  |     through Homebrew. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-11-30 14:05:06 +00:00
										 |  |  |   * `ftp_proxy`: | 
					
						
							|  |  |  |     Sets the FTP proxy to be used by `curl`, `git` and `svn` when downloading | 
					
						
							|  |  |  |     through Homebrew. | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-12-19 10:59:04 +02:00
										 |  |  |   * `no_proxy`: | 
					
						
							| 
									
										
										
										
											2018-12-03 21:23:06 -05:00
										 |  |  |     Sets the comma-separated list of hostnames and domain names that should be excluded | 
					
						
							|  |  |  |     from proxying by `curl`, `git` and `svn` when downloading through Homebrew. | 
					
						
							| 
									
										
										
										
											2017-12-19 10:59:04 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-11-30 14:05:06 +00:00
										 |  |  | ## USING HOMEBREW BEHIND A PROXY | 
					
						
							| 
									
										
										
										
											2017-12-19 10:59:04 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-12-03 21:23:06 -05:00
										 |  |  | Set the `http_proxy`, `https_proxy`, `all_proxy`, `ftp_proxy` and/or `no_proxy` | 
					
						
							|  |  |  | environment variables documented above. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | For example, to use an unauthenticated HTTP or SOCKS5 proxy: | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-10-06 00:31:10 -04:00
										 |  |  |     export http_proxy=http://$HOST:$PORT | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-10-06 00:31:10 -04:00
										 |  |  |     export all_proxy=socks5://$HOST:$PORT | 
					
						
							| 
									
										
										
										
											2018-02-01 18:11:29 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-11-30 14:05:06 +00:00
										 |  |  | And for an authenticated HTTP proxy: | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-10-06 00:31:10 -04:00
										 |  |  |     export http_proxy=http://$USER:$PASSWORD@$HOST:$PORT | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | ## SEE ALSO | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-07-27 15:59:37 +01:00
										 |  |  | Homebrew Documentation: <https://docs.brew.sh> | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-20 02:14:09 -04:00
										 |  |  | Homebrew API: <https://rubydoc.brew.sh> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-10-02 18:21:04 +01:00
										 |  |  | `brew-cask`(1), `git`(1), `git-log`(1) | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | ## AUTHORS | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-04 17:09:31 +01:00
										 |  |  | <%= lead.concat("\n") %> | 
					
						
							| 
									
										
										
										
											2016-09-20 09:31:06 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-04 17:09:31 +01:00
										 |  |  | <%= plc.concat("\n") %> | 
					
						
							| 
									
										
										
										
											2018-08-02 13:26:02 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-04 17:09:31 +01:00
										 |  |  | <%= tsc.concat("\n") %> | 
					
						
							| 
									
										
										
										
											2018-01-18 15:45:51 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-04 17:09:31 +01:00
										 |  |  | <%= linux.concat("\n") %> | 
					
						
							| 
									
										
										
										
											2018-08-07 10:51:16 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-04 17:09:31 +01:00
										 |  |  | <%= maintainers.concat("\n") %> | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-04 17:09:31 +01:00
										 |  |  | <%= alumni.concat("\n") %> | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | ## BUGS | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | See our issues on GitHub: | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-10-02 21:56:00 -04:00
										 |  |  |   * **Homebrew/brew**: | 
					
						
							|  |  |  |     <https://github.com/Homebrew/brew/issues> | 
					
						
							| 
									
										
										
										
											2016-04-08 16:28:35 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-10-02 21:56:00 -04:00
										 |  |  |   * **Homebrew/homebrew-core**: | 
					
						
							|  |  |  |     <https://github.com/Homebrew/homebrew-core/issues> |