manpage: fix formatting of command list
Restore definition list in `COMMANDS` section, thus massively improve formatting. In theory, `ronn` supports nested (definition) lists. In practice, this does not work (and is unlikely to be fixed soon because upstream seems to be rather inactive) causing the entire definition list to be longer recognized because of a single nested list. Work around by rearranging the `tap` documentation (sole command with a nested list).
This commit is contained in:
parent
4b3056e2fc
commit
8144f90eac
@ -377,21 +377,21 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note
|
|||||||
* `switch` <name> <version>:
|
* `switch` <name> <version>:
|
||||||
Symlink all of the specific <version> of <name>'s install to Homebrew prefix.
|
Symlink all of the specific <version> of <name>'s install to Homebrew prefix.
|
||||||
|
|
||||||
|
* `tap`:
|
||||||
|
List all installed taps.
|
||||||
|
|
||||||
* `tap` [`--full`] <user>`/`<repo> [<URL>]:
|
* `tap` [`--full`] <user>`/`<repo> [<URL>]:
|
||||||
Tap a formula repository or list existing taps. This command can be invoked
|
Tap a formula repository.
|
||||||
in three ways.
|
|
||||||
|
|
||||||
+ `tap` without arguments displays existing taps.
|
With <URL> unspecified, taps a formula repository from GitHub using HTTPS.
|
||||||
|
Since so many taps are hosted on GitHub, this command is a shortcut for
|
||||||
|
`tap <user>/<repo> https://github.com/<user>/homebrew-<repo>`.
|
||||||
|
|
||||||
+ `tap` <user>`/`<repo> taps a formula repository from GitHub using HTTPS.
|
With <URL> specified, taps a formula repository from anywhere, using
|
||||||
Since so many taps are hosted on GitHub, this command is a shortcut for
|
any transport protocol that `git` handles. The one-argument form of `tap`
|
||||||
`tap <user>/<repo> https://github.com/<user>/homebrew-<repo>`.
|
simplifies but also limits. This two-argument command makes no
|
||||||
|
assumptions, so taps can be cloned from places other than GitHub and
|
||||||
+ `tap` <user>`/`<repo> <URL> taps a formula repository from anywhere, using
|
using protocols other than HTTPS, e.g., SSH, GIT, HTTP, FTP(S), RSYNC.
|
||||||
any transport protocol that `git` handles. The one-argument form of `tap`
|
|
||||||
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.
|
|
||||||
|
|
||||||
By default, the repository is cloned as a shallow copy (`--depth=1`), but
|
By default, the repository is cloned as a shallow copy (`--depth=1`), but
|
||||||
if `--full` is passed, a full clone will be used.
|
if `--full` is passed, a full clone will be used.
|
||||||
|
|||||||
@ -34,9 +34,8 @@ If no search term is given, all locally available formulae are listed.</p></dd>
|
|||||||
|
|
||||||
<h2 id="COMMANDS">COMMANDS</h2>
|
<h2 id="COMMANDS">COMMANDS</h2>
|
||||||
|
|
||||||
<ul>
|
<dl>
|
||||||
<li><p><code>audit</code> [<code>--strict</code>] [<code>--online</code>] [<var>formulae</var>]:
|
<dt><code>audit</code> [<code>--strict</code>] [<code>--online</code>] [<var>formulae</var>]</dt><dd><p>Check <var>formulae</var> for Homebrew coding style violations. This should be
|
||||||
Check <var>formulae</var> for Homebrew coding style violations. This should be
|
|
||||||
run before submitting a new formula.</p>
|
run before submitting a new formula.</p>
|
||||||
|
|
||||||
<p>If no <var>formulae</var> are provided, all of them are checked.</p>
|
<p>If no <var>formulae</var> are provided, all of them are checked.</p>
|
||||||
@ -48,11 +47,9 @@ when creating for new formulae.</p>
|
|||||||
connection are run. This should be used when creating for new formulae.</p>
|
connection are run. This should be used when creating for new formulae.</p>
|
||||||
|
|
||||||
<p><code>audit</code> exits with a non-zero status if any errors are found. This is useful,
|
<p><code>audit</code> exits with a non-zero status if any errors are found. This is useful,
|
||||||
for instance, for implementing pre-commit hooks.</p></li>
|
for instance, for implementing pre-commit hooks.</p></dd>
|
||||||
<li><p><code>cat</code> <var>formula</var>:
|
<dt><code>cat</code> <var>formula</var></dt><dd><p>Display the source to <var>formula</var>.</p></dd>
|
||||||
Display the source to <var>formula</var>.</p></li>
|
<dt><code>cleanup</code> [<code>--force</code>] [<code>--prune=</code><var>days</var>] [<code>-n</code>] [<code>-s</code>] [<var>formulae</var>]</dt><dd><p>For all installed or specific formulae, remove any older versions from the
|
||||||
<li><p><code>cleanup</code> [<code>--force</code>] [<code>--prune=</code><var>days</var>] [<code>-n</code>] [<code>-s</code>] [<var>formulae</var>]:
|
|
||||||
For all installed or specific formulae, remove any older versions from the
|
|
||||||
cellar. By default, does not remove out-of-date keg-only brews, as other
|
cellar. By default, does not remove out-of-date keg-only brews, as other
|
||||||
software may link directly to specific versions. In addition, old downloads from
|
software may link directly to specific versions. In addition, old downloads from
|
||||||
the Homebrew download-cache are deleted.</p>
|
the Homebrew download-cache are deleted.</p>
|
||||||
@ -65,20 +62,16 @@ the Homebrew download-cache are deleted.</p>
|
|||||||
|
|
||||||
<p>If <code>-s</code> is passed, scrubs the cache, removing downloads for even the latest
|
<p>If <code>-s</code> is passed, scrubs the cache, removing downloads for even the latest
|
||||||
versions of formulae. Note downloads for any installed formulae will still not be
|
versions of formulae. Note downloads for any installed formulae will still not be
|
||||||
deleted. If you want to delete those too: <code>rm -rf $(brew --cache)</code></p></li>
|
deleted. If you want to delete those too: <code>rm -rf $(brew --cache)</code></p></dd>
|
||||||
<li><p><code>command</code> <var>cmd</var>:
|
<dt><code>command</code> <var>cmd</var></dt><dd><p>Display the path to the file which is used when invoking <code>brew</code> <var>cmd</var>.</p></dd>
|
||||||
Display the path to the file which is used when invoking <code>brew</code> <var>cmd</var>.</p></li>
|
<dt><code>commands</code> [<code>--quiet</code> [<code>--include-aliases</code>]]</dt><dd><p>Show a list of built-in and external commands.</p>
|
||||||
<li><p><code>commands</code> [<code>--quiet</code> [<code>--include-aliases</code>]]:
|
|
||||||
Show a list of built-in and external commands.</p>
|
|
||||||
|
|
||||||
<p>If <code>--quiet</code> is passed, list only the names of commands without the header.
|
<p>If <code>--quiet</code> is passed, list only the names of commands without the header.
|
||||||
With <code>--include-aliases</code>, the aliases of internal commands will be included.</p></li>
|
With <code>--include-aliases</code>, the aliases of internal commands will be included.</p></dd>
|
||||||
<li><p><code>config</code>:
|
<dt class="flush"><code>config</code></dt><dd><p>Show Homebrew and system configuration useful for debugging. If you file
|
||||||
Show Homebrew and system configuration useful for debugging. If you file
|
|
||||||
a bug report, you will likely be asked for this information if you do not
|
a bug report, you will likely be asked for this information if you do not
|
||||||
provide it.</p></li>
|
provide it.</p></dd>
|
||||||
<li><p><code>create</code> <var>URL</var> [<code>--autotools</code>|<code>--cmake</code>] [<code>--no-fetch</code>] [<code>--set-name</code> <var>name</var>] [<code>--set-version</code> <var>version</var>]:
|
<dt><code>create</code> <var>URL</var> [<code>--autotools</code>|<code>--cmake</code>] [<code>--no-fetch</code>] [<code>--set-name</code> <var>name</var>] [<code>--set-version</code> <var>version</var>]</dt><dd><p>Generate a formula for the downloadable file at <var>URL</var> and open it in the editor.
|
||||||
Generate a formula for the downloadable file at <var>URL</var> and open it in the editor.
|
|
||||||
Homebrew will attempt to automatically derive the formula name
|
Homebrew will attempt to automatically derive the formula name
|
||||||
and version, but if it fails, you'll have to make your own template. The <code>wget</code>
|
and version, but if it fails, you'll have to make your own template. The <code>wget</code>
|
||||||
formula serves as a simple example. For the complete API have a look at</p>
|
formula serves as a simple example. For the complete API have a look at</p>
|
||||||
@ -92,9 +85,8 @@ If <code>--cmake</code> is passed, create a basic template for a CMake-style bui
|
|||||||
will thus not add the SHA256 to the formula for you.</p>
|
will thus not add the SHA256 to the formula for you.</p>
|
||||||
|
|
||||||
<p>The options <code>--set-name</code> and <code>--set-version</code> each take an argument and allow
|
<p>The options <code>--set-name</code> and <code>--set-version</code> each take an argument and allow
|
||||||
you to explicitly set the name and version of the package you are creating.</p></li>
|
you to explicitly set the name and version of the package you are creating.</p></dd>
|
||||||
<li><p><code>deps</code> [<code>--1</code>] [<code>-n</code>] [<code>--union</code>] [<code>--tree</code>] [<code>--all</code>] [<code>--installed</code>] [<code>--skip-build</code>] [<code>--skip-optional</code>] <var>formulae</var>:
|
<dt><code>deps</code> [<code>--1</code>] [<code>-n</code>] [<code>--union</code>] [<code>--tree</code>] [<code>--all</code>] [<code>--installed</code>] [<code>--skip-build</code>] [<code>--skip-optional</code>] <var>formulae</var></dt><dd><p>Show dependencies for <var>formulae</var>. When given multiple formula arguments,
|
||||||
Show dependencies for <var>formulae</var>. When given multiple formula arguments,
|
|
||||||
show the intersection of dependencies for <var>formulae</var>, except when passed
|
show the intersection of dependencies for <var>formulae</var>, except when passed
|
||||||
<code>--tree</code>, <code>--all</code>, or <code>--installed</code>.</p>
|
<code>--tree</code>, <code>--all</code>, or <code>--installed</code>.</p>
|
||||||
|
|
||||||
@ -114,33 +106,26 @@ instead of the intersection.</p>
|
|||||||
|
|
||||||
<p>By default, <code>deps</code> shows dependencies for <var>formulae</var>. To skip the <code>:build</code>
|
<p>By default, <code>deps</code> shows dependencies for <var>formulae</var>. To skip the <code>:build</code>
|
||||||
type dependencies, pass <code>--skip-build</code>. Similarly, pass <code>--skip-optional</code>
|
type dependencies, pass <code>--skip-build</code>. Similarly, pass <code>--skip-optional</code>
|
||||||
to skip <code>:optional</code> dependencies.</p></li>
|
to skip <code>:optional</code> dependencies.</p></dd>
|
||||||
<li><p><code>desc</code> <var>formula</var>:
|
<dt><code>desc</code> <var>formula</var></dt><dd><p>Display <var>formula</var>'s name and one-line description.</p></dd>
|
||||||
Display <var>formula</var>'s name and one-line description.</p></li>
|
<dt><code>desc</code> [<code>-s</code>|<code>-n</code>|<code>-d</code>] <var>pattern</var></dt><dd><p>Search both name and description (<code>-s</code>), just the names (<code>-n</code>), or just the
|
||||||
<li><p><code>desc</code> [<code>-s</code>|<code>-n</code>|<code>-d</code>] <var>pattern</var>:
|
|
||||||
Search both name and description (<code>-s</code>), just the names (<code>-n</code>), or just the
|
|
||||||
descriptions (<code>-d</code>) for <code><pattern></code>. <code><pattern></code> is by default interpreted
|
descriptions (<code>-d</code>) for <code><pattern></code>. <code><pattern></code> is by default interpreted
|
||||||
as a literal string; if flanked by slashes, it is instead interpreted as a
|
as a literal string; if flanked by slashes, it is instead interpreted as a
|
||||||
regular expression. Formula descriptions are cached; the cache is created on
|
regular expression. Formula descriptions are cached; the cache is created on
|
||||||
the first search, making that search slower than subsequent ones.</p></li>
|
the first search, making that search slower than subsequent ones.</p></dd>
|
||||||
<li><p><code>diy</code> [<code>--name=</code><var>name</var>] [<code>--version=</code><var>version</var>]:
|
<dt><code>diy</code> [<code>--name=</code><var>name</var>] [<code>--version=</code><var>version</var>]</dt><dd><p>Automatically determine the installation prefix for non-Homebrew software.</p>
|
||||||
Automatically determine the installation prefix for non-Homebrew software.</p>
|
|
||||||
|
|
||||||
<p>Using the output from this command, you can install your own software into
|
<p>Using the output from this command, you can install your own software into
|
||||||
the Cellar and then link it into Homebrew's prefix with <code>brew link</code>.</p>
|
the Cellar and then link it into Homebrew's prefix with <code>brew link</code>.</p>
|
||||||
|
|
||||||
<p>The options <code>--name=</code><var>name</var> and <code>--version=</code><var>version</var> each take an argument
|
<p>The options <code>--name=</code><var>name</var> and <code>--version=</code><var>version</var> each take an argument
|
||||||
and allow you to explicitly set the name and version of the package you are
|
and allow you to explicitly set the name and version of the package you are
|
||||||
installing.</p></li>
|
installing.</p></dd>
|
||||||
<li><p><code>doctor</code>:
|
<dt class="flush"><code>doctor</code></dt><dd><p>Check your system for potential problems. Doctor exits with a non-zero status
|
||||||
Check your system for potential problems. Doctor exits with a non-zero status
|
if any problems are found.</p></dd>
|
||||||
if any problems are found.</p></li>
|
<dt class="flush"><code>edit</code></dt><dd><p>Open all of Homebrew for editing.</p></dd>
|
||||||
<li><p><code>edit</code>:
|
<dt><code>edit</code> <var>formula</var></dt><dd><p>Open <var>formula</var> in the editor.</p></dd>
|
||||||
Open all of Homebrew for editing.</p></li>
|
<dt><code>fetch</code> [<code>--force</code>] [<code>-v</code>] [<code>--devel</code>|<code>--HEAD</code>] [<code>--deps</code>] [<code>--build-from-source</code>|<code>--force-bottle</code>] <var>formulae</var></dt><dd><p>Download the source packages for the given <var>formulae</var>.
|
||||||
<li><p><code>edit</code> <var>formula</var>:
|
|
||||||
Open <var>formula</var> in the editor.</p></li>
|
|
||||||
<li><p><code>fetch</code> [<code>--force</code>] [<code>-v</code>] [<code>--devel</code>|<code>--HEAD</code>] [<code>--deps</code>] [<code>--build-from-source</code>|<code>--force-bottle</code>] <var>formulae</var>:
|
|
||||||
Download the source packages for the given <var>formulae</var>.
|
|
||||||
For tarballs, also print SHA-1 and SHA-256 checksums.</p>
|
For tarballs, also print SHA-1 and SHA-256 checksums.</p>
|
||||||
|
|
||||||
<p>If <code>--HEAD</code> or <code>--devel</code> is passed, fetch that version instead of the
|
<p>If <code>--HEAD</code> or <code>--devel</code> is passed, fetch that version instead of the
|
||||||
@ -157,28 +142,22 @@ This is useful for seeing if an existing VCS cache has been updated.</p>
|
|||||||
bottle.</p>
|
bottle.</p>
|
||||||
|
|
||||||
<p>If <code>--force-bottle</code> is passed, download a bottle if it exists for the current
|
<p>If <code>--force-bottle</code> is passed, download a bottle if it exists for the current
|
||||||
version of OS X, even if it would not be used during installation.</p></li>
|
version of OS X, even if it would not be used during installation.</p></dd>
|
||||||
<li><p><code>home</code>:
|
<dt class="flush"><code>home</code></dt><dd><p>Open Homebrew's own homepage in a browser.</p></dd>
|
||||||
Open Homebrew's own homepage in a browser.</p></li>
|
<dt><code>home</code> <var>formula</var></dt><dd><p>Open <var>formula</var>'s homepage in a browser.</p></dd>
|
||||||
<li><p><code>home</code> <var>formula</var>:
|
<dt><code>info</code> <var>formula</var></dt><dd><p>Display information about <var>formula</var>.</p></dd>
|
||||||
Open <var>formula</var>'s homepage in a browser.</p></li>
|
<dt><code>info</code> <code>--github</code> <var>formula</var></dt><dd><p>Open a browser to the GitHub History page for formula <var>formula</var>.</p>
|
||||||
<li><p><code>info</code> <var>formula</var>:
|
|
||||||
Display information about <var>formula</var>.</p></li>
|
|
||||||
<li><p><code>info</code> <code>--github</code> <var>formula</var>:
|
|
||||||
Open a browser to the GitHub History page for formula <var>formula</var>.</p>
|
|
||||||
|
|
||||||
<p>To view formula history locally: <code>brew log -p <formula></code>.</p></li>
|
<p>To view formula history locally: <code>brew log -p <formula></code>.</p></dd>
|
||||||
<li><p><code>info --json=</code><var>version</var> (<code>--all</code>|<code>--installed</code>|<var>formulae</var>):
|
<dt><code>info --json=</code><var>version</var> (<code>--all</code>|<code>--installed</code>|<var>formulae</var>)</dt><dd><p>Print a JSON representation of <var>formulae</var>. Currently the only accepted value
|
||||||
Print a JSON representation of <var>formulae</var>. Currently the only accepted value
|
|
||||||
for <var>version</var> is <code>v1</code>.</p>
|
for <var>version</var> is <code>v1</code>.</p>
|
||||||
|
|
||||||
<p>Pass <code>--all</code> to get information on all formulae, or <code>--installed</code> to get
|
<p>Pass <code>--all</code> to get information on all formulae, or <code>--installed</code> to get
|
||||||
information on all installed formulae.</p>
|
information on all installed formulae.</p>
|
||||||
|
|
||||||
<p>See the docs for examples of using the JSON:
|
<p>See the docs for examples of using the JSON:
|
||||||
<a href="https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Querying-Brew.md" data-bare-link="true">https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Querying-Brew.md</a></p></li>
|
<a href="https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Querying-Brew.md" data-bare-link="true">https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Querying-Brew.md</a></p></dd>
|
||||||
<li><p><code>install</code> [<code>--debug</code>] [<code>--env=</code><var>std</var>|<var>super</var>] [<code>--ignore-dependencies</code>] [<code>--only-dependencies</code>] [<code>--cc=</code><var>compiler</var>] [<code>--build-from-source</code>|<code>--force-bottle</code>] [<code>--devel</code>|<code>--HEAD</code>] <var>formula</var>:
|
<dt><code>install</code> [<code>--debug</code>] [<code>--env=</code><var>std</var>|<var>super</var>] [<code>--ignore-dependencies</code>] [<code>--only-dependencies</code>] [<code>--cc=</code><var>compiler</var>] [<code>--build-from-source</code>|<code>--force-bottle</code>] [<code>--devel</code>|<code>--HEAD</code>] <var>formula</var></dt><dd><p>Install <var>formula</var>.</p>
|
||||||
Install <var>formula</var>.</p>
|
|
||||||
|
|
||||||
<p><var>formula</var> is usually the name of the formula to install, but it can be specified
|
<p><var>formula</var> is usually the name of the formula to install, but it can be specified
|
||||||
several different ways. See <a href="#SPECIFYING-FORMULAE" title="SPECIFYING FORMULAE" data-bare-link="true">SPECIFYING FORMULAE</a>.</p>
|
several different ways. See <a href="#SPECIFYING-FORMULAE" title="SPECIFYING FORMULAE" data-bare-link="true">SPECIFYING FORMULAE</a>.</p>
|
||||||
@ -215,22 +194,18 @@ for the current version of OS X, even if custom options are given.</p>
|
|||||||
aka master, trunk, unstable.</p>
|
aka master, trunk, unstable.</p>
|
||||||
|
|
||||||
<p>To install a newer version of HEAD use
|
<p>To install a newer version of HEAD use
|
||||||
<code>brew rm <foo> && brew install --HEAD <foo></code>.</p></li>
|
<code>brew rm <foo> && brew install --HEAD <foo></code>.</p></dd>
|
||||||
<li><p><code>install --interactive</code> [<code>--git</code>] <var>formula</var>:
|
<dt><code>install --interactive</code> [<code>--git</code>] <var>formula</var></dt><dd><p>Download and patch <var>formula</var>, then open a shell. This allows the user to
|
||||||
Download and patch <var>formula</var>, then open a shell. This allows the user to
|
|
||||||
run <code>./configure --help</code> and otherwise determine how to turn the software
|
run <code>./configure --help</code> and otherwise determine how to turn the software
|
||||||
package into a Homebrew formula.</p>
|
package into a Homebrew formula.</p>
|
||||||
|
|
||||||
<p>If <code>--git</code> is passed, Homebrew will create a Git repository, useful for
|
<p>If <code>--git</code> is passed, Homebrew will create a Git repository, useful for
|
||||||
creating patches to the software.</p></li>
|
creating patches to the software.</p></dd>
|
||||||
<li><p><code>irb</code> [<code>--examples</code>]:
|
<dt><code>irb</code> [<code>--examples</code>]</dt><dd><p>Enter the interactive Homebrew Ruby shell.</p>
|
||||||
Enter the interactive Homebrew Ruby shell.</p>
|
|
||||||
|
|
||||||
<p>If <code>--examples</code> is passed, several examples will be shown.</p></li>
|
<p>If <code>--examples</code> is passed, several examples will be shown.</p></dd>
|
||||||
<li><p><code>leaves</code>:
|
<dt class="flush"><code>leaves</code></dt><dd><p>Show installed formulae that are not dependencies of another installed formula.</p></dd>
|
||||||
Show installed formulae that are not dependencies of another installed formula.</p></li>
|
<dt><code>ln</code>, <code>link</code> [<code>--overwrite</code>] [<code>--dry-run</code>] [<code>--force</code>] <var>formula</var></dt><dd><p>Symlink all of <var>formula</var>'s installed files into the Homebrew prefix. This
|
||||||
<li><p><code>ln</code>, <code>link</code> [<code>--overwrite</code>] [<code>--dry-run</code>] [<code>--force</code>] <var>formula</var>:
|
|
||||||
Symlink all of <var>formula</var>'s installed files into the Homebrew prefix. This
|
|
||||||
is done automatically when you install formulae but can be useful for DIY
|
is done automatically when you install formulae but can be useful for DIY
|
||||||
installations.</p>
|
installations.</p>
|
||||||
|
|
||||||
@ -241,23 +216,19 @@ the prefix while linking.</p>
|
|||||||
be linked or which would be deleted by <code>brew link --overwrite</code>, but will not
|
be linked or which would be deleted by <code>brew link --overwrite</code>, but will not
|
||||||
actually link or delete any files.</p>
|
actually link or delete any files.</p>
|
||||||
|
|
||||||
<p>If <code>--force</code> is passed, Homebrew will allow keg-only formulae to be linked.</p></li>
|
<p>If <code>--force</code> is passed, Homebrew will allow keg-only formulae to be linked.</p></dd>
|
||||||
<li><p><code>linkapps</code> [<code>--local</code>] [<var>formulae</var>]:
|
<dt><code>linkapps</code> [<code>--local</code>] [<var>formulae</var>]</dt><dd><p>Find installed formulae that have compiled <code>.app</code>-style "application"
|
||||||
Find installed formulae that have compiled <code>.app</code>-style "application"
|
|
||||||
packages for OS X, and symlink those apps into <code>/Applications</code>, allowing
|
packages for OS X, and symlink those apps into <code>/Applications</code>, allowing
|
||||||
for easier access.</p>
|
for easier access.</p>
|
||||||
|
|
||||||
<p>If no <var>formulae</var> are provided, all of them will have their .apps symlinked.</p>
|
<p>If no <var>formulae</var> are provided, all of them will have their .apps symlinked.</p>
|
||||||
|
|
||||||
<p>If provided, <code>--local</code> will move them into the user's <code>~/Applications</code>
|
<p>If provided, <code>--local</code> will move them into the user's <code>~/Applications</code>
|
||||||
directory instead of the system directory. It may need to be created, first.</p></li>
|
directory instead of the system directory. It may need to be created, first.</p></dd>
|
||||||
<li><p><code>ls</code>, <code>list</code> [<code>--full-name</code>]:
|
<dt><code>ls</code>, <code>list</code> [<code>--full-name</code>]</dt><dd><p>List all installed formulae. If <code>--full-name</code> is passed, print formulae with
|
||||||
List all installed formulae. If <code>--full-name</code> is passed, print formulae with
|
full-qualified names.</p></dd>
|
||||||
full-qualified names.</p></li>
|
<dt><code>ls</code>, <code>list --unbrewed</code></dt><dd><p>List all files in the Homebrew prefix not installed by Homebrew.</p></dd>
|
||||||
<li><p><code>ls</code>, <code>list --unbrewed</code>:
|
<dt><code>ls</code>, <code>list</code> [<code>--versions</code> [<code>--multiple</code>]] [<code>--pinned</code>] [<var>formulae</var>]</dt><dd><p>List the installed files for <var>formulae</var>. Combined with <code>--verbose</code>, recursively
|
||||||
List all files in the Homebrew prefix not installed by Homebrew.</p></li>
|
|
||||||
<li><p><code>ls</code>, <code>list</code> [<code>--versions</code> [<code>--multiple</code>]] [<code>--pinned</code>] [<var>formulae</var>]:
|
|
||||||
List the installed files for <var>formulae</var>. Combined with <code>--verbose</code>, recursively
|
|
||||||
list the contents of all subdirectories in each <var>formula</var>'s keg.</p>
|
list the contents of all subdirectories in each <var>formula</var>'s keg.</p>
|
||||||
|
|
||||||
<p>If <code>--versions</code> is passed, show the version number for installed formulae,
|
<p>If <code>--versions</code> is passed, show the version number for installed formulae,
|
||||||
@ -266,31 +237,26 @@ only show formulae with multiple versions installed.</p>
|
|||||||
|
|
||||||
<p>If <code>--pinned</code> is passed, show the versions of pinned formulae, or only the
|
<p>If <code>--pinned</code> is passed, show the versions of pinned formulae, or only the
|
||||||
specified (pinned) formulae if <var>formulae</var> are given.
|
specified (pinned) formulae if <var>formulae</var> are given.
|
||||||
See also <code>pin</code>, <code>unpin</code>.</p></li>
|
See also <code>pin</code>, <code>unpin</code>.</p></dd>
|
||||||
<li><p><code>log</code> [<code>git-log-options</code>] <var>formula</var> ...:
|
<dt><code>log</code> [<code>git-log-options</code>] <var>formula</var> ...</dt><dd><p>Show the git log for the given formulae. Options that <code>git-log</code>(1)
|
||||||
Show the git log for the given formulae. Options that <code>git-log</code>(1)
|
recognizes can be passed before the formula list.</p></dd>
|
||||||
recognizes can be passed before the formula list.</p></li>
|
<dt><code>missing</code> [<var>formulae</var>]</dt><dd><p>Check the given <var>formulae</var> for missing dependencies.</p>
|
||||||
<li><p><code>missing</code> [<var>formulae</var>]:
|
|
||||||
Check the given <var>formulae</var> for missing dependencies.</p>
|
|
||||||
|
|
||||||
<p>If no <var>formulae</var> are given, check all installed brews.</p></li>
|
<p>If no <var>formulae</var> are given, check all installed brews.</p></dd>
|
||||||
<li><p><code>migrate</code> [<code>--force</code>] <var>formulae</var>:
|
<dt><code>migrate</code> [<code>--force</code>] <var>formulae</var></dt><dd><p>Migrate renamed packages to new name, where <var>formulae</var> are old names of
|
||||||
Migrate renamed packages to new name, where <var>formulae</var> are old names of
|
|
||||||
packages.</p>
|
packages.</p>
|
||||||
|
|
||||||
<p>If <code>--force</code> is passed, then treat installed <var>formulae</var> and passed <var>formulae</var>
|
<p>If <code>--force</code> is passed, then treat installed <var>formulae</var> and passed <var>formulae</var>
|
||||||
like if they are from same taps and migrate them anyway.</p></li>
|
like if they are from same taps and migrate them anyway.</p></dd>
|
||||||
<li><p><code>options</code> [<code>--compact</code>] [<code>--all</code>] [<code>--installed</code>] <var>formula</var>:
|
<dt><code>options</code> [<code>--compact</code>] [<code>--all</code>] [<code>--installed</code>] <var>formula</var></dt><dd><p>Display install options specific to <var>formula</var>.</p>
|
||||||
Display install options specific to <var>formula</var>.</p>
|
|
||||||
|
|
||||||
<p>If <code>--compact</code> is passed, show all options on a single line separated by
|
<p>If <code>--compact</code> is passed, show all options on a single line separated by
|
||||||
spaces.</p>
|
spaces.</p>
|
||||||
|
|
||||||
<p>If <code>--all</code> is passed, show options for all formulae.</p>
|
<p>If <code>--all</code> is passed, show options for all formulae.</p>
|
||||||
|
|
||||||
<p>If <code>--installed</code> is passed, show options for all installed formulae.</p></li>
|
<p>If <code>--installed</code> is passed, show options for all installed formulae.</p></dd>
|
||||||
<li><p><code>outdated</code> [<code>--quiet</code>|<code>--verbose</code>|<code>--json=v1</code>]:
|
<dt><code>outdated</code> [<code>--quiet</code>|<code>--verbose</code>|<code>--json=v1</code>]</dt><dd><p>Show formulae that have an updated version available.</p>
|
||||||
Show formulae that have an updated version available.</p>
|
|
||||||
|
|
||||||
<p>By default, version information is displayed in interactive shells, and
|
<p>By default, version information is displayed in interactive shells, and
|
||||||
suppressed otherwise.</p>
|
suppressed otherwise.</p>
|
||||||
@ -301,79 +267,58 @@ precedence over <code>--verbose</code>).</p>
|
|||||||
<p>If <code>--verbose</code> is passed, display detailed version information.</p>
|
<p>If <code>--verbose</code> is passed, display detailed version information.</p>
|
||||||
|
|
||||||
<p>If <code>--json=</code><var>version</var> is passed, the output will be in JSON format. The only
|
<p>If <code>--json=</code><var>version</var> is passed, the output will be in JSON format. The only
|
||||||
valid version is <code>v1</code>.</p></li>
|
valid version is <code>v1</code>.</p></dd>
|
||||||
<li><p><code>pin</code> <var>formulae</var>:
|
<dt><code>pin</code> <var>formulae</var></dt><dd><p>Pin the specified <var>formulae</var>, preventing them from being upgraded when
|
||||||
Pin the specified <var>formulae</var>, preventing them from being upgraded when
|
issuing the <code>brew upgrade</code> command. See also <code>unpin</code>.</p></dd>
|
||||||
issuing the <code>brew upgrade</code> command. See also <code>unpin</code>.</p></li>
|
<dt class="flush"><code>prune</code></dt><dd><p>Remove dead symlinks from the Homebrew prefix. This is generally not
|
||||||
<li><p><code>prune</code>:
|
needed, but can be useful when doing DIY installations.</p></dd>
|
||||||
Remove dead symlinks from the Homebrew prefix. This is generally not
|
<dt><code>reinstall</code> <var>formula</var></dt><dd><p>Uninstall then install <var>formula</var></p></dd>
|
||||||
needed, but can be useful when doing DIY installations.</p></li>
|
<dt><code>rm</code>, <code>remove</code>, <code>uninstall</code> [<code>--force</code>] <var>formula</var></dt><dd><p>Uninstall <var>formula</var>.</p>
|
||||||
<li><p><code>reinstall</code> <var>formula</var>:
|
|
||||||
Uninstall then install <var>formula</var></p></li>
|
|
||||||
<li><p><code>rm</code>, <code>remove</code>, <code>uninstall</code> [<code>--force</code>] <var>formula</var>:
|
|
||||||
Uninstall <var>formula</var>.</p>
|
|
||||||
|
|
||||||
<p>If <code>--force</code> is passed, and there are multiple versions of <var>formula</var>
|
<p>If <code>--force</code> is passed, and there are multiple versions of <var>formula</var>
|
||||||
installed, delete all installed versions.</p></li>
|
installed, delete all installed versions.</p></dd>
|
||||||
<li><p><code>search</code>, <code>-S</code>:
|
<dt><code>search</code>, <code>-S</code></dt><dd><p>Display all locally available formulae for brewing (including tapped ones).
|
||||||
Display all locally available formulae for brewing (including tapped ones).
|
No online search is performed if called without arguments.</p></dd>
|
||||||
No online search is performed if called without arguments.</p></li>
|
<dt><code>search</code>, <code>-S</code> <var>text</var>|<code>/</code><var>text</var><code>/</code></dt><dd><p>Perform a substring search of formula names for <var>text</var>. If <var>text</var> is
|
||||||
<li><p><code>search</code>, <code>-S</code> <var>text</var>|<code>/</code><var>text</var><code>/</code>:
|
|
||||||
Perform a substring search of formula names for <var>text</var>. If <var>text</var> is
|
|
||||||
surrounded with slashes, then it is interpreted as a regular expression.
|
surrounded with slashes, then it is interpreted as a regular expression.
|
||||||
The search for <var>text</var> is extended online to some popular taps.</p></li>
|
The search for <var>text</var> is extended online to some popular taps.</p></dd>
|
||||||
<li><p><code>search --debian</code>|<code>--fedora</code>|<code>--fink</code>|<code>--macports</code>|<code>--opensuse</code>|<code>--ubuntu</code> <var>text</var>:
|
<dt><code>search --debian</code>|<code>--fedora</code>|<code>--fink</code>|<code>--macports</code>|<code>--opensuse</code>|<code>--ubuntu</code> <var>text</var></dt><dd><p>Search for <var>text</var> in the given package manager's list.</p></dd>
|
||||||
Search for <var>text</var> in the given package manager's list.</p></li>
|
<dt><code>sh</code> [<code>--env=std</code>]</dt><dd><p>Instantiate a Homebrew build environment. Uses our years-battle-hardened
|
||||||
<li><p><code>sh</code> [<code>--env=std</code>]:
|
|
||||||
Instantiate a Homebrew build environment. Uses our years-battle-hardened
|
|
||||||
Homebrew build logic to help your <code>./configure && make && make install</code>
|
Homebrew build logic to help your <code>./configure && make && make install</code>
|
||||||
or even your <code>gem install</code> succeed. Especially handy if you run Homebrew
|
or even your <code>gem install</code> succeed. Especially handy if you run Homebrew
|
||||||
in an Xcode-only configuration since it adds tools like <code>make</code> to your <code>PATH</code>
|
in an Xcode-only configuration since it adds tools like <code>make</code> to your <code>PATH</code>
|
||||||
which otherwise build-systems would not find.</p></li>
|
which otherwise build-systems would not find.</p></dd>
|
||||||
<li><p><code>switch</code> <var>name</var> <var>version</var>:
|
<dt><code>switch</code> <var>name</var> <var>version</var></dt><dd><p>Symlink all of the specific <var>version</var> of <var>name</var>'s install to Homebrew prefix.</p></dd>
|
||||||
Symlink all of the specific <var>version</var> of <var>name</var>'s install to Homebrew prefix.</p></li>
|
<dt class="flush"><code>tap</code></dt><dd><p>List all installed taps.</p></dd>
|
||||||
<li><p><code>tap</code> [<code>--full</code>] <var>user</var><code>/</code><var>repo</var> [<var>URL</var>]:
|
<dt><code>tap</code> [<code>--full</code>] <var>user</var><code>/</code><var>repo</var> [<var>URL</var>]</dt><dd><p>Tap a formula repository.</p>
|
||||||
Tap a formula repository or list existing taps. This command can be invoked
|
|
||||||
in three ways.</p>
|
|
||||||
|
|
||||||
<ul>
|
<p>With <var>URL</var> unspecified, taps a formula repository from GitHub using HTTPS.
|
||||||
<li><p><code>tap</code> without arguments displays existing taps.</p></li>
|
|
||||||
<li><p><code>tap</code> <var>user</var><code>/</code><var>repo</var> taps a formula repository from GitHub using HTTPS.
|
|
||||||
Since so many taps are hosted on GitHub, this command is a shortcut for
|
Since so many taps are hosted on GitHub, this command is a shortcut for
|
||||||
<code>tap <user>/<repo> https://github.com/<user>/homebrew-<repo></code>.</p></li>
|
<code>tap <user>/<repo> https://github.com/<user>/homebrew-<repo></code>.</p>
|
||||||
<li><p><code>tap</code> <var>user</var><code>/</code><var>repo</var> <var>URL</var> taps a formula repository from anywhere, using
|
|
||||||
any transport protocol that <code>git</code> handles. The one-argument form of <code>tap</code>
|
|
||||||
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.</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
<p>With <var>URL</var> specified, taps a formula repository from anywhere, using
|
||||||
|
any transport protocol that <code>git</code> handles. The one-argument form of <code>tap</code>
|
||||||
|
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.</p>
|
||||||
|
|
||||||
<p>By default, the repository is cloned as a shallow copy (<code>--depth=1</code>), but
|
<p>By default, the repository is cloned as a shallow copy (<code>--depth=1</code>), but
|
||||||
if <code>--full</code> is passed, a full clone will be used.</p></li>
|
if <code>--full</code> is passed, a full clone will be used.</p></dd>
|
||||||
<li><p><code>tap --repair</code>:
|
<dt><code>tap --repair</code></dt><dd><p>Migrate tapped formulae from symlink-based to directory-based structure.</p></dd>
|
||||||
Migrate tapped formulae from symlink-based to directory-based structure.</p></li>
|
<dt><code>tap --list-official</code></dt><dd><p>List all official taps.</p></dd>
|
||||||
<li><p><code>tap --list-official</code>:
|
<dt><code>tap --list-pinned</code></dt><dd><p>List all pinned taps.</p></dd>
|
||||||
List all official taps.</p></li>
|
<dt><code>tap-info</code> <var>tap</var></dt><dd><p>Display information about <var>tap</var>.</p></dd>
|
||||||
<li><p><code>tap --list-pinned</code>:
|
<dt><code>tap-info</code> <code>--json=</code><var>version</var> (<code>--installed</code>|<var>taps</var>)</dt><dd><p>Print a JSON representation of <var>taps</var>. Currently the only accepted value
|
||||||
List all pinned taps.</p></li>
|
|
||||||
<li><p><code>tap-info</code> <var>tap</var>:
|
|
||||||
Display information about <var>tap</var>.</p></li>
|
|
||||||
<li><p><code>tap-info</code> <code>--json=</code><var>version</var> (<code>--installed</code>|<var>taps</var>):
|
|
||||||
Print a JSON representation of <var>taps</var>. Currently the only accepted value
|
|
||||||
for <var>version</var> is <code>v1</code>.</p>
|
for <var>version</var> is <code>v1</code>.</p>
|
||||||
|
|
||||||
<p>Pass <code>--installed</code> to get information on installed taps.</p>
|
<p>Pass <code>--installed</code> to get information on installed taps.</p>
|
||||||
|
|
||||||
<p>See the docs for examples of using the JSON:
|
<p>See the docs for examples of using the JSON:
|
||||||
<a href="https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Querying-Brew.md" data-bare-link="true">https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Querying-Brew.md</a></p></li>
|
<a href="https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Querying-Brew.md" data-bare-link="true">https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Querying-Brew.md</a></p></dd>
|
||||||
<li><p><code>tap-pin</code> <var>tap</var>:
|
<dt><code>tap-pin</code> <var>tap</var></dt><dd><p>Pin <var>tap</var>, prioritizing its formulae over core when formula names are supplied
|
||||||
Pin <var>tap</var>, prioritizing its formulae over core when formula names are supplied
|
by the user. See also <code>tap-unpin</code>.</p></dd>
|
||||||
by the user. See also <code>tap-unpin</code>.</p></li>
|
<dt><code>tap-unpin</code> <var>tap</var></dt><dd><p>Unpin <var>tap</var> so its formulae are no longer prioritized. See also <code>tap-pin</code>.</p></dd>
|
||||||
<li><p><code>tap-unpin</code> <var>tap</var>:
|
<dt><code>test</code> [<code>--devel</code>|<code>--HEAD</code>] [<code>--debug</code>] <var>formula</var></dt><dd><p>A few formulae provide a test method. <code>brew test</code> <var>formula</var> runs this
|
||||||
Unpin <var>tap</var> so its formulae are no longer prioritized. See also <code>tap-pin</code>.</p></li>
|
|
||||||
<li><p><code>test</code> [<code>--devel</code>|<code>--HEAD</code>] [<code>--debug</code>] <var>formula</var>:
|
|
||||||
A few formulae provide a test method. <code>brew test</code> <var>formula</var> runs this
|
|
||||||
test method. There is no standard output or return code, but it should
|
test method. There is no standard output or return code, but it should
|
||||||
generally indicate to the user if something is wrong with the installed
|
generally indicate to the user if something is wrong with the installed
|
||||||
formula.</p>
|
formula.</p>
|
||||||
@ -384,20 +329,17 @@ formula.</p>
|
|||||||
<p>If <code>--debug</code> is passed and the test fails, an interactive debugger will be
|
<p>If <code>--debug</code> is passed and the test fails, an interactive debugger will be
|
||||||
launched with access to IRB or a shell inside the temporary test directory.</p>
|
launched with access to IRB or a shell inside the temporary test directory.</p>
|
||||||
|
|
||||||
<p>Example: <code>brew install jruby && brew test jruby</code></p></li>
|
<p>Example: <code>brew install jruby && brew test jruby</code></p></dd>
|
||||||
<li><p><code>unlink</code> [<code>--dry-run</code>] <var>formula</var>:
|
<dt><code>unlink</code> [<code>--dry-run</code>] <var>formula</var></dt><dd><p>Remove symlinks for <var>formula</var> from the Homebrew prefix. This can be useful
|
||||||
Remove symlinks for <var>formula</var> from the Homebrew prefix. This can be useful
|
|
||||||
for temporarily disabling a formula:
|
for temporarily disabling a formula:
|
||||||
<code>brew unlink foo && commands && brew link foo</code>.</p>
|
<code>brew unlink foo && commands && brew link foo</code>.</p>
|
||||||
|
|
||||||
<p>If <code>--dry-run</code> or <code>-n</code> is passed, Homebrew will list all files which would
|
<p>If <code>--dry-run</code> or <code>-n</code> is passed, Homebrew will list all files which would
|
||||||
be unlinked, but will not actually unlink or delete any files.</p></li>
|
be unlinked, but will not actually unlink or delete any files.</p></dd>
|
||||||
<li><p><code>unlinkapps</code> [<code>--local</code>] [<var>formulae</var>]:
|
<dt><code>unlinkapps</code> [<code>--local</code>] [<var>formulae</var>]</dt><dd><p>Removes links created by <code>brew linkapps</code>.</p>
|
||||||
Removes links created by <code>brew linkapps</code>.</p>
|
|
||||||
|
|
||||||
<p>If no <var>formulae</var> are provided, all linked app will be removed.</p></li>
|
<p>If no <var>formulae</var> are provided, all linked app will be removed.</p></dd>
|
||||||
<li><p><code>unpack</code> [<code>--git</code>|<code>--patch</code>] [<code>--destdir=</code><var>path</var>] <var>formulae</var>:
|
<dt><code>unpack</code> [<code>--git</code>|<code>--patch</code>] [<code>--destdir=</code><var>path</var>] <var>formulae</var></dt><dd><p>Unpack the source files for <var>formulae</var> into subdirectories of the current
|
||||||
Unpack the source files for <var>formulae</var> into subdirectories of the current
|
|
||||||
working directory. If <code>--destdir=</code><var>path</var> is given, the subdirectories will
|
working directory. If <code>--destdir=</code><var>path</var> is given, the subdirectories will
|
||||||
be created in the directory named by <code><path></code> instead.</p>
|
be created in the directory named by <code><path></code> instead.</p>
|
||||||
|
|
||||||
@ -405,28 +347,23 @@ be created in the directory named by <code><path></code> instead.</p>
|
|||||||
unpacked source.</p>
|
unpacked source.</p>
|
||||||
|
|
||||||
<p>If <code>--git</code> is passed, a Git repository will be initalized in the unpacked
|
<p>If <code>--git</code> is passed, a Git repository will be initalized in the unpacked
|
||||||
source. This is useful for creating patches for the software.</p></li>
|
source. This is useful for creating patches for the software.</p></dd>
|
||||||
<li><p><code>unpin</code> <var>formulae</var>:
|
<dt><code>unpin</code> <var>formulae</var></dt><dd><p>Unpin <var>formulae</var>, allowing them to be upgraded by <code>brew upgrade</code>. See also
|
||||||
Unpin <var>formulae</var>, allowing them to be upgraded by <code>brew upgrade</code>. See also
|
<code>pin</code>.</p></dd>
|
||||||
<code>pin</code>.</p></li>
|
<dt><code>untap</code> <var>tap</var></dt><dd><p>Remove a tapped repository.</p></dd>
|
||||||
<li><p><code>untap</code> <var>tap</var>:
|
<dt><code>update</code> [<code>--rebase</code>]</dt><dd><p>Fetch the newest version of Homebrew and all formulae from GitHub using
|
||||||
Remove a tapped repository.</p></li>
|
|
||||||
<li><p><code>update</code> [<code>--rebase</code>]:
|
|
||||||
Fetch the newest version of Homebrew and all formulae from GitHub using
|
|
||||||
<code>git</code>(1).</p>
|
<code>git</code>(1).</p>
|
||||||
|
|
||||||
<p>If <code>--rebase</code> is specified then <code>git pull --rebase</code> is used.</p></li>
|
<p>If <code>--rebase</code> is specified then <code>git pull --rebase</code> is used.</p></dd>
|
||||||
<li><p><code>upgrade</code> [<var>install-options</var>] [<code>--cleanup</code>] [<var>formulae</var>]:
|
<dt><code>upgrade</code> [<var>install-options</var>] [<code>--cleanup</code>] [<var>formulae</var>]</dt><dd><p>Upgrade outdated, unpinned brews.</p>
|
||||||
Upgrade outdated, unpinned brews.</p>
|
|
||||||
|
|
||||||
<p>Options for the <code>install</code> command are also valid here.</p>
|
<p>Options for the <code>install</code> command are also valid here.</p>
|
||||||
|
|
||||||
<p>If <code>--cleanup</code> is specified then remove previously installed <var>formula</var> version(s).</p>
|
<p>If <code>--cleanup</code> is specified then remove previously installed <var>formula</var> version(s).</p>
|
||||||
|
|
||||||
<p>If <var>formulae</var> are given, upgrade only the specified brews (but do so even
|
<p>If <var>formulae</var> are given, upgrade only the specified brews (but do so even
|
||||||
if they are pinned; see <code>pin</code>, <code>unpin</code>).</p></li>
|
if they are pinned; see <code>pin</code>, <code>unpin</code>).</p></dd>
|
||||||
<li><p><code>uses</code> [<code>--installed</code>] [<code>--recursive</code>] [<code>--skip-build</code>] [<code>--skip-optional</code>] [<code>--devel</code>|<code>--HEAD</code>] <var>formulae</var>:
|
<dt><code>uses</code> [<code>--installed</code>] [<code>--recursive</code>] [<code>--skip-build</code>] [<code>--skip-optional</code>] [<code>--devel</code>|<code>--HEAD</code>] <var>formulae</var></dt><dd><p>Show the formulae that specify <var>formulae</var> as a dependency. When given
|
||||||
Show the formulae that specify <var>formulae</var> as a dependency. When given
|
|
||||||
multiple formula arguments, show the intersection of formulae that use
|
multiple formula arguments, show the intersection of formulae that use
|
||||||
<var>formulae</var>.</p>
|
<var>formulae</var>.</p>
|
||||||
|
|
||||||
@ -440,29 +377,20 @@ To skip the <code>:build</code> type dependencies, pass <code>--skip-build</code
|
|||||||
|
|
||||||
<p>By default, <code>uses</code> shows usages of <code>formula</code> by stable builds. To find
|
<p>By default, <code>uses</code> shows usages of <code>formula</code> by stable builds. To find
|
||||||
cases where <code>formula</code> is used by development or HEAD build, pass
|
cases where <code>formula</code> is used by development or HEAD build, pass
|
||||||
<code>--devel</code> or <code>--HEAD</code>.</p></li>
|
<code>--devel</code> or <code>--HEAD</code>.</p></dd>
|
||||||
<li><p><code>--cache</code>:
|
<dt class="flush"><code>--cache</code></dt><dd><p>Display Homebrew's download cache. See also <code>HOMEBREW_CACHE</code>.</p></dd>
|
||||||
Display Homebrew's download cache. See also <code>HOMEBREW_CACHE</code>.</p></li>
|
<dt><code>--cache</code> <var>formula</var></dt><dd><p>Display the file or directory used to cache <var>formula</var>.</p></dd>
|
||||||
<li><p><code>--cache</code> <var>formula</var>:
|
<dt><code>--cellar</code></dt><dd><p>Display Homebrew's Cellar path. <em>Default:</em> <code>$(brew --prefix)/Cellar</code>, or if
|
||||||
Display the file or directory used to cache <var>formula</var>.</p></li>
|
that directory doesn't exist, <code>$(brew --repository)/Cellar</code>.</p></dd>
|
||||||
<li><p><code>--cellar</code>:
|
<dt><code>--cellar</code> <var>formula</var></dt><dd><p>Display the location in the cellar where <var>formula</var> would be installed,
|
||||||
Display Homebrew's Cellar path. <em>Default:</em> <code>$(brew --prefix)/Cellar</code>, or if
|
without any sort of versioned directory as the last path.</p></dd>
|
||||||
that directory doesn't exist, <code>$(brew --repository)/Cellar</code>.</p></li>
|
<dt class="flush"><code>--env</code></dt><dd><p>Show a summary of the Homebrew build environment.</p></dd>
|
||||||
<li><p><code>--cellar</code> <var>formula</var>:
|
<dt><code>--prefix</code></dt><dd><p>Display Homebrew's install path. <em>Default:</em> <code>/usr/local</code></p></dd>
|
||||||
Display the location in the cellar where <var>formula</var> would be installed,
|
<dt><code>--prefix</code> <var>formula</var></dt><dd><p>Display the location in the cellar where <var>formula</var> is or would be installed.</p></dd>
|
||||||
without any sort of versioned directory as the last path.</p></li>
|
<dt><code>--repository</code></dt><dd><p>Display where Homebrew's <code>.git</code> directory is located. For standard installs,
|
||||||
<li><p><code>--env</code>:
|
the <code>prefix</code> and <code>repository</code> are the same directory.</p></dd>
|
||||||
Show a summary of the Homebrew build environment.</p></li>
|
<dt><code>--version</code></dt><dd><p>Print the version number of brew to standard error and exit.</p></dd>
|
||||||
<li><p><code>--prefix</code>:
|
</dl>
|
||||||
Display Homebrew's install path. <em>Default:</em> <code>/usr/local</code></p></li>
|
|
||||||
<li><p><code>--prefix</code> <var>formula</var>:
|
|
||||||
Display the location in the cellar where <var>formula</var> is or would be installed.</p></li>
|
|
||||||
<li><p><code>--repository</code>:
|
|
||||||
Display where Homebrew's <code>.git</code> directory is located. For standard installs,
|
|
||||||
the <code>prefix</code> and <code>repository</code> are the same directory.</p></li>
|
|
||||||
<li><p><code>--version</code>:
|
|
||||||
Print the version number of brew to standard error and exit.</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
<h2 id="EXTERNAL-COMMANDS">EXTERNAL COMMANDS</h2>
|
<h2 id="EXTERNAL-COMMANDS">EXTERNAL COMMANDS</h2>
|
||||||
|
|||||||
@ -43,8 +43,9 @@ Perform a substring search of formula names for \fItext\fR\. If \fItext\fR is su
|
|||||||
.
|
.
|
||||||
.SH "COMMANDS"
|
.SH "COMMANDS"
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBaudit\fR [\fB\-\-strict\fR] [\fB\-\-online\fR] [\fIformulae\fR]: Check \fIformulae\fR for Homebrew coding style violations\. This should be run before submitting a new formula\.
|
\fBaudit\fR [\fB\-\-strict\fR] [\fB\-\-online\fR] [\fIformulae\fR]
|
||||||
|
Check \fIformulae\fR for Homebrew coding style violations\. This should be run before submitting a new formula\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
If no \fIformulae\fR are provided, all of them are checked\.
|
If no \fIformulae\fR are provided, all of them are checked\.
|
||||||
@ -58,11 +59,13 @@ If \fB\-\-online\fR is passed, additional slower checks that require a network c
|
|||||||
.IP
|
.IP
|
||||||
\fBaudit\fR exits with a non\-zero status if any errors are found\. This is useful, for instance, for implementing pre\-commit hooks\.
|
\fBaudit\fR exits with a non\-zero status if any errors are found\. This is useful, for instance, for implementing pre\-commit hooks\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBcat\fR \fIformula\fR: Display the source to \fIformula\fR\.
|
\fBcat\fR \fIformula\fR
|
||||||
|
Display the source to \fIformula\fR\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBcleanup\fR [\fB\-\-force\fR] [\fB\-\-prune=\fR\fIdays\fR] [\fB\-n\fR] [\fB\-s\fR] [\fIformulae\fR]: For all installed or specific formulae, remove any older versions from the cellar\. By default, does not remove out\-of\-date keg\-only brews, as other software may link directly to specific versions\. In addition, old downloads from the Homebrew download\-cache are deleted\.
|
\fBcleanup\fR [\fB\-\-force\fR] [\fB\-\-prune=\fR\fIdays\fR] [\fB\-n\fR] [\fB\-s\fR] [\fIformulae\fR]
|
||||||
|
For all installed or specific formulae, remove any older versions from the cellar\. By default, does not remove out\-of\-date keg\-only brews, as other software may link directly to specific versions\. In addition, old downloads from the Homebrew download\-cache are deleted\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
If \fB\-\-force\fR is passed, remove out\-of\-date keg\-only brews as well\.
|
If \fB\-\-force\fR is passed, remove out\-of\-date keg\-only brews as well\.
|
||||||
@ -76,20 +79,24 @@ If \fB\-n\fR is passed, show what would be removed, but do not actually remove a
|
|||||||
.IP
|
.IP
|
||||||
If \fB\-s\fR is passed, scrubs the cache, removing downloads for even the latest versions of formulae\. Note downloads for any installed formulae will still not be deleted\. If you want to delete those too: \fBrm \-rf $(brew \-\-cache)\fR
|
If \fB\-s\fR is passed, scrubs the cache, removing downloads for even the latest versions of formulae\. Note downloads for any installed formulae will still not be deleted\. If you want to delete those too: \fBrm \-rf $(brew \-\-cache)\fR
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBcommand\fR \fIcmd\fR: Display the path to the file which is used when invoking \fBbrew\fR \fIcmd\fR\.
|
\fBcommand\fR \fIcmd\fR
|
||||||
|
Display the path to the file which is used when invoking \fBbrew\fR \fIcmd\fR\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBcommands\fR [\fB\-\-quiet\fR [\fB\-\-include\-aliases\fR]]: Show a list of built\-in and external commands\.
|
\fBcommands\fR [\fB\-\-quiet\fR [\fB\-\-include\-aliases\fR]]
|
||||||
|
Show a list of built\-in and external commands\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
If \fB\-\-quiet\fR is passed, list only the names of commands without the header\. With \fB\-\-include\-aliases\fR, the aliases of internal commands will be included\.
|
If \fB\-\-quiet\fR is passed, list only the names of commands without the header\. With \fB\-\-include\-aliases\fR, the aliases of internal commands will be included\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBconfig\fR: Show Homebrew and system configuration useful for debugging\. If you file a bug report, you will likely be asked for this information if you do not provide it\.
|
\fBconfig\fR
|
||||||
|
Show Homebrew and system configuration useful for debugging\. If you file a bug report, you will likely be asked for this information if you do not provide it\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBcreate\fR \fIURL\fR [\fB\-\-autotools\fR|\fB\-\-cmake\fR] [\fB\-\-no\-fetch\fR] [\fB\-\-set\-name\fR \fIname\fR] [\fB\-\-set\-version\fR \fIversion\fR]: Generate a formula for the downloadable file at \fIURL\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 \fBwget\fR formula serves as a simple example\. For the complete API have a look at
|
\fBcreate\fR \fIURL\fR [\fB\-\-autotools\fR|\fB\-\-cmake\fR] [\fB\-\-no\-fetch\fR] [\fB\-\-set\-name\fR \fIname\fR] [\fB\-\-set\-version\fR \fIversion\fR]
|
||||||
|
Generate a formula for the downloadable file at \fIURL\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 \fBwget\fR formula serves as a simple example\. For the complete API have a look at
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
\fIhttp://www\.rubydoc\.info/github/Homebrew/homebrew/master/Formula\fR
|
\fIhttp://www\.rubydoc\.info/github/Homebrew/homebrew/master/Formula\fR
|
||||||
@ -103,8 +110,9 @@ If \fB\-\-no\-fetch\fR is passed, Homebrew will not download \fIURL\fR to the ca
|
|||||||
.IP
|
.IP
|
||||||
The options \fB\-\-set\-name\fR and \fB\-\-set\-version\fR each take an argument and allow you to explicitly set the name and version of the package you are creating\.
|
The options \fB\-\-set\-name\fR and \fB\-\-set\-version\fR each take an argument and allow you to explicitly set the name and version of the package you are creating\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBdeps\fR [\fB\-\-1\fR] [\fB\-n\fR] [\fB\-\-union\fR] [\fB\-\-tree\fR] [\fB\-\-all\fR] [\fB\-\-installed\fR] [\fB\-\-skip\-build\fR] [\fB\-\-skip\-optional\fR] \fIformulae\fR: Show dependencies for \fIformulae\fR\. When given multiple formula arguments, show the intersection of dependencies for \fIformulae\fR, except when passed \fB\-\-tree\fR, \fB\-\-all\fR, or \fB\-\-installed\fR\.
|
\fBdeps\fR [\fB\-\-1\fR] [\fB\-n\fR] [\fB\-\-union\fR] [\fB\-\-tree\fR] [\fB\-\-all\fR] [\fB\-\-installed\fR] [\fB\-\-skip\-build\fR] [\fB\-\-skip\-optional\fR] \fIformulae\fR
|
||||||
|
Show dependencies for \fIformulae\fR\. When given multiple formula arguments, show the intersection of dependencies for \fIformulae\fR, except when passed \fB\-\-tree\fR, \fB\-\-all\fR, or \fB\-\-installed\fR\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
If \fB\-\-1\fR is passed, only show dependencies one level down, instead of recursing\.
|
If \fB\-\-1\fR is passed, only show dependencies one level down, instead of recursing\.
|
||||||
@ -127,14 +135,17 @@ If \fB\-\-installed\fR is passed, show dependencies for all installed formulae\.
|
|||||||
.IP
|
.IP
|
||||||
By default, \fBdeps\fR shows dependencies for \fIformulae\fR\. To skip the \fB:build\fR type dependencies, pass \fB\-\-skip\-build\fR\. Similarly, pass \fB\-\-skip\-optional\fR to skip \fB:optional\fR dependencies\.
|
By default, \fBdeps\fR shows dependencies for \fIformulae\fR\. To skip the \fB:build\fR type dependencies, pass \fB\-\-skip\-build\fR\. Similarly, pass \fB\-\-skip\-optional\fR to skip \fB:optional\fR dependencies\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBdesc\fR \fIformula\fR: Display \fIformula\fR\'s name and one\-line description\.
|
\fBdesc\fR \fIformula\fR
|
||||||
|
Display \fIformula\fR\'s name and one\-line description\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBdesc\fR [\fB\-s\fR|\fB\-n\fR|\fB\-d\fR] \fIpattern\fR: Search both name and description (\fB\-s\fR), just the names (\fB\-n\fR), or just the descriptions (\fB\-d\fR) for \fB<pattern>\fR\. \fB<pattern>\fR is by default interpreted as a literal string; if flanked by slashes, it is instead interpreted as a regular expression\. Formula descriptions are cached; the cache is created on the first search, making that search slower than subsequent ones\.
|
\fBdesc\fR [\fB\-s\fR|\fB\-n\fR|\fB\-d\fR] \fIpattern\fR
|
||||||
|
Search both name and description (\fB\-s\fR), just the names (\fB\-n\fR), or just the descriptions (\fB\-d\fR) for \fB<pattern>\fR\. \fB<pattern>\fR is by default interpreted as a literal string; if flanked by slashes, it is instead interpreted as a regular expression\. Formula descriptions are cached; the cache is created on the first search, making that search slower than subsequent ones\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBdiy\fR [\fB\-\-name=\fR\fIname\fR] [\fB\-\-version=\fR\fIversion\fR]: Automatically determine the installation prefix for non\-Homebrew software\.
|
\fBdiy\fR [\fB\-\-name=\fR\fIname\fR] [\fB\-\-version=\fR\fIversion\fR]
|
||||||
|
Automatically determine the installation prefix for non\-Homebrew software\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
Using the output from this command, you can install your own software into the Cellar and then link it into Homebrew\'s prefix with \fBbrew link\fR\.
|
Using the output from this command, you can install your own software into the Cellar and then link it into Homebrew\'s prefix with \fBbrew link\fR\.
|
||||||
@ -142,17 +153,21 @@ Using the output from this command, you can install your own software into the C
|
|||||||
.IP
|
.IP
|
||||||
The options \fB\-\-name=\fR\fIname\fR and \fB\-\-version=\fR\fIversion\fR each take an argument and allow you to explicitly set the name and version of the package you are installing\.
|
The options \fB\-\-name=\fR\fIname\fR and \fB\-\-version=\fR\fIversion\fR each take an argument and allow you to explicitly set the name and version of the package you are installing\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBdoctor\fR: Check your system for potential problems\. Doctor exits with a non\-zero status if any problems are found\.
|
\fBdoctor\fR
|
||||||
|
Check your system for potential problems\. Doctor exits with a non\-zero status if any problems are found\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBedit\fR: Open all of Homebrew for editing\.
|
\fBedit\fR
|
||||||
|
Open all of Homebrew for editing\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBedit\fR \fIformula\fR: Open \fIformula\fR in the editor\.
|
\fBedit\fR \fIformula\fR
|
||||||
|
Open \fIformula\fR in the editor\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBfetch\fR [\fB\-\-force\fR] [\fB\-v\fR] [\fB\-\-devel\fR|\fB\-\-HEAD\fR] [\fB\-\-deps\fR] [\fB\-\-build\-from\-source\fR|\fB\-\-force\-bottle\fR] \fIformulae\fR: Download the source packages for the given \fIformulae\fR\. For tarballs, also print SHA\-1 and SHA\-256 checksums\.
|
\fBfetch\fR [\fB\-\-force\fR] [\fB\-v\fR] [\fB\-\-devel\fR|\fB\-\-HEAD\fR] [\fB\-\-deps\fR] [\fB\-\-build\-from\-source\fR|\fB\-\-force\-bottle\fR] \fIformulae\fR
|
||||||
|
Download the source packages for the given \fIformulae\fR\. For tarballs, also print SHA\-1 and SHA\-256 checksums\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
If \fB\-\-HEAD\fR or \fB\-\-devel\fR is passed, fetch that version instead of the stable version\.
|
If \fB\-\-HEAD\fR or \fB\-\-devel\fR is passed, fetch that version instead of the stable version\.
|
||||||
@ -172,23 +187,28 @@ If \fB\-\-build\-from\-source\fR is passed, download the source rather than a bo
|
|||||||
.IP
|
.IP
|
||||||
If \fB\-\-force\-bottle\fR is passed, download a bottle if it exists for the current version of OS X, even if it would not be used during installation\.
|
If \fB\-\-force\-bottle\fR is passed, download a bottle if it exists for the current version of OS X, even if it would not be used during installation\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBhome\fR: Open Homebrew\'s own homepage in a browser\.
|
\fBhome\fR
|
||||||
|
Open Homebrew\'s own homepage in a browser\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBhome\fR \fIformula\fR: Open \fIformula\fR\'s homepage in a browser\.
|
\fBhome\fR \fIformula\fR
|
||||||
|
Open \fIformula\fR\'s homepage in a browser\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBinfo\fR \fIformula\fR: Display information about \fIformula\fR\.
|
\fBinfo\fR \fIformula\fR
|
||||||
|
Display information about \fIformula\fR\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBinfo\fR \fB\-\-github\fR \fIformula\fR: Open a browser to the GitHub History page for formula \fIformula\fR\.
|
\fBinfo\fR \fB\-\-github\fR \fIformula\fR
|
||||||
|
Open a browser to the GitHub History page for formula \fIformula\fR\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
To view formula history locally: \fBbrew log \-p <formula>\fR\.
|
To view formula history locally: \fBbrew log \-p <formula>\fR\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBinfo \-\-json=\fR\fIversion\fR (\fB\-\-all\fR|\fB\-\-installed\fR|\fIformulae\fR): Print a JSON representation of \fIformulae\fR\. Currently the only accepted value for \fIversion\fR is \fBv1\fR\.
|
\fBinfo \-\-json=\fR\fIversion\fR (\fB\-\-all\fR|\fB\-\-installed\fR|\fIformulae\fR)
|
||||||
|
Print a JSON representation of \fIformulae\fR\. Currently the only accepted value for \fIversion\fR is \fBv1\fR\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
Pass \fB\-\-all\fR to get information on all formulae, or \fB\-\-installed\fR to get information on all installed formulae\.
|
Pass \fB\-\-all\fR to get information on all formulae, or \fB\-\-installed\fR to get information on all installed formulae\.
|
||||||
@ -196,8 +216,9 @@ Pass \fB\-\-all\fR to get information on all formulae, or \fB\-\-installed\fR to
|
|||||||
.IP
|
.IP
|
||||||
See the docs for examples of using the JSON: \fIhttps://github\.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Querying\-Brew\.md\fR
|
See the docs for examples of using the JSON: \fIhttps://github\.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Querying\-Brew\.md\fR
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBinstall\fR [\fB\-\-debug\fR] [\fB\-\-env=\fR\fIstd\fR|\fIsuper\fR] [\fB\-\-ignore\-dependencies\fR] [\fB\-\-only\-dependencies\fR] [\fB\-\-cc=\fR\fIcompiler\fR] [\fB\-\-build\-from\-source\fR|\fB\-\-force\-bottle\fR] [\fB\-\-devel\fR|\fB\-\-HEAD\fR] \fIformula\fR: Install \fIformula\fR\.
|
\fBinstall\fR [\fB\-\-debug\fR] [\fB\-\-env=\fR\fIstd\fR|\fIsuper\fR] [\fB\-\-ignore\-dependencies\fR] [\fB\-\-only\-dependencies\fR] [\fB\-\-cc=\fR\fIcompiler\fR] [\fB\-\-build\-from\-source\fR|\fB\-\-force\-bottle\fR] [\fB\-\-devel\fR|\fB\-\-HEAD\fR] \fIformula\fR
|
||||||
|
Install \fIformula\fR\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
\fIformula\fR is usually the name of the formula to install, but it can be specified several different ways\. See \fISPECIFYING FORMULAE\fR\.
|
\fIformula\fR is usually the name of the formula to install, but it can be specified several different ways\. See \fISPECIFYING FORMULAE\fR\.
|
||||||
@ -235,23 +256,27 @@ If \fB\-\-HEAD\fR is passed, and \fIformula\fR defines it, install the HEAD vers
|
|||||||
.IP
|
.IP
|
||||||
To install a newer version of HEAD use \fBbrew rm <foo> && brew install \-\-HEAD <foo>\fR\.
|
To install a newer version of HEAD use \fBbrew rm <foo> && brew install \-\-HEAD <foo>\fR\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBinstall \-\-interactive\fR [\fB\-\-git\fR] \fIformula\fR: Download and patch \fIformula\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 formula\.
|
\fBinstall \-\-interactive\fR [\fB\-\-git\fR] \fIformula\fR
|
||||||
|
Download and patch \fIformula\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 formula\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
If \fB\-\-git\fR is passed, Homebrew will create a Git repository, useful for creating patches to the software\.
|
If \fB\-\-git\fR is passed, Homebrew will create a Git repository, useful for creating patches to the software\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBirb\fR [\fB\-\-examples\fR]: Enter the interactive Homebrew Ruby shell\.
|
\fBirb\fR [\fB\-\-examples\fR]
|
||||||
|
Enter the interactive Homebrew Ruby shell\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
If \fB\-\-examples\fR is passed, several examples will be shown\.
|
If \fB\-\-examples\fR is passed, several examples will be shown\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBleaves\fR: Show installed formulae that are not dependencies of another installed formula\.
|
\fBleaves\fR
|
||||||
|
Show installed formulae that are not dependencies of another installed formula\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBln\fR, \fBlink\fR [\fB\-\-overwrite\fR] [\fB\-\-dry\-run\fR] [\fB\-\-force\fR] \fIformula\fR: Symlink all of \fIformula\fR\'s installed files into the Homebrew prefix\. This is done automatically when you install formulae but can be useful for DIY installations\.
|
\fBln\fR, \fBlink\fR [\fB\-\-overwrite\fR] [\fB\-\-dry\-run\fR] [\fB\-\-force\fR] \fIformula\fR
|
||||||
|
Symlink all of \fIformula\fR\'s installed files into the Homebrew prefix\. This is done automatically when you install formulae but can be useful for DIY installations\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
If \fB\-\-overwrite\fR is passed, Homebrew will delete files which already exist in the prefix while linking\.
|
If \fB\-\-overwrite\fR is passed, Homebrew will delete files which already exist in the prefix while linking\.
|
||||||
@ -262,8 +287,9 @@ If \fB\-\-dry\-run\fR or \fB\-n\fR is passed, Homebrew will list all files which
|
|||||||
.IP
|
.IP
|
||||||
If \fB\-\-force\fR is passed, Homebrew will allow keg\-only formulae to be linked\.
|
If \fB\-\-force\fR is passed, Homebrew will allow keg\-only formulae to be linked\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBlinkapps\fR [\fB\-\-local\fR] [\fIformulae\fR]: Find installed formulae that have compiled \fB\.app\fR\-style "application" packages for OS X, and symlink those apps into \fB/Applications\fR, allowing for easier access\.
|
\fBlinkapps\fR [\fB\-\-local\fR] [\fIformulae\fR]
|
||||||
|
Find installed formulae that have compiled \fB\.app\fR\-style "application" packages for OS X, and symlink those apps into \fB/Applications\fR, allowing for easier access\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
If no \fIformulae\fR are provided, all of them will have their \.apps symlinked\.
|
If no \fIformulae\fR are provided, all of them will have their \.apps symlinked\.
|
||||||
@ -271,14 +297,17 @@ If no \fIformulae\fR are provided, all of them will have their \.apps symlinked\
|
|||||||
.IP
|
.IP
|
||||||
If provided, \fB\-\-local\fR will move them into the user\'s \fB~/Applications\fR directory instead of the system directory\. It may need to be created, first\.
|
If provided, \fB\-\-local\fR will move them into the user\'s \fB~/Applications\fR directory instead of the system directory\. It may need to be created, first\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBls\fR, \fBlist\fR [\fB\-\-full\-name\fR]: List all installed formulae\. If \fB\-\-full\-name\fR is passed, print formulae with full\-qualified names\.
|
\fBls\fR, \fBlist\fR [\fB\-\-full\-name\fR]
|
||||||
|
List all installed formulae\. If \fB\-\-full\-name\fR is passed, print formulae with full\-qualified names\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBls\fR, \fBlist \-\-unbrewed\fR: List all files in the Homebrew prefix not installed by Homebrew\.
|
\fBls\fR, \fBlist \-\-unbrewed\fR
|
||||||
|
List all files in the Homebrew prefix not installed by Homebrew\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBls\fR, \fBlist\fR [\fB\-\-versions\fR [\fB\-\-multiple\fR]] [\fB\-\-pinned\fR] [\fIformulae\fR]: List the installed files for \fIformulae\fR\. Combined with \fB\-\-verbose\fR, recursively list the contents of all subdirectories in each \fIformula\fR\'s keg\.
|
\fBls\fR, \fBlist\fR [\fB\-\-versions\fR [\fB\-\-multiple\fR]] [\fB\-\-pinned\fR] [\fIformulae\fR]
|
||||||
|
List the installed files for \fIformulae\fR\. Combined with \fB\-\-verbose\fR, recursively list the contents of all subdirectories in each \fIformula\fR\'s keg\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
If \fB\-\-versions\fR is passed, show the version number for installed formulae, or only the specified formulae if \fIformulae\fR are given\. With \fB\-\-multiple\fR, only show formulae with multiple versions installed\.
|
If \fB\-\-versions\fR is passed, show the version number for installed formulae, or only the specified formulae if \fIformulae\fR are given\. With \fB\-\-multiple\fR, only show formulae with multiple versions installed\.
|
||||||
@ -286,23 +315,27 @@ If \fB\-\-versions\fR is passed, show the version number for installed formulae,
|
|||||||
.IP
|
.IP
|
||||||
If \fB\-\-pinned\fR is passed, show the versions of pinned formulae, or only the specified (pinned) formulae if \fIformulae\fR are given\. See also \fBpin\fR, \fBunpin\fR\.
|
If \fB\-\-pinned\fR is passed, show the versions of pinned formulae, or only the specified (pinned) formulae if \fIformulae\fR are given\. See also \fBpin\fR, \fBunpin\fR\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBlog\fR [\fBgit\-log\-options\fR] \fIformula\fR \.\.\.: Show the git log for the given formulae\. Options that \fBgit\-log\fR(1) recognizes can be passed before the formula list\.
|
\fBlog\fR [\fBgit\-log\-options\fR] \fIformula\fR \.\.\.
|
||||||
|
Show the git log for the given formulae\. Options that \fBgit\-log\fR(1) recognizes can be passed before the formula list\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBmissing\fR [\fIformulae\fR]: Check the given \fIformulae\fR for missing dependencies\.
|
\fBmissing\fR [\fIformulae\fR]
|
||||||
|
Check the given \fIformulae\fR for missing dependencies\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
If no \fIformulae\fR are given, check all installed brews\.
|
If no \fIformulae\fR are given, check all installed brews\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBmigrate\fR [\fB\-\-force\fR] \fIformulae\fR: Migrate renamed packages to new name, where \fIformulae\fR are old names of packages\.
|
\fBmigrate\fR [\fB\-\-force\fR] \fIformulae\fR
|
||||||
|
Migrate renamed packages to new name, where \fIformulae\fR are old names of packages\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
If \fB\-\-force\fR is passed, then treat installed \fIformulae\fR and passed \fIformulae\fR like if they are from same taps and migrate them anyway\.
|
If \fB\-\-force\fR is passed, then treat installed \fIformulae\fR and passed \fIformulae\fR like if they are from same taps and migrate them anyway\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBoptions\fR [\fB\-\-compact\fR] [\fB\-\-all\fR] [\fB\-\-installed\fR] \fIformula\fR: Display install options specific to \fIformula\fR\.
|
\fBoptions\fR [\fB\-\-compact\fR] [\fB\-\-all\fR] [\fB\-\-installed\fR] \fIformula\fR
|
||||||
|
Display install options specific to \fIformula\fR\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
If \fB\-\-compact\fR is passed, show all options on a single line separated by spaces\.
|
If \fB\-\-compact\fR is passed, show all options on a single line separated by spaces\.
|
||||||
@ -313,8 +346,9 @@ If \fB\-\-all\fR is passed, show options for all formulae\.
|
|||||||
.IP
|
.IP
|
||||||
If \fB\-\-installed\fR is passed, show options for all installed formulae\.
|
If \fB\-\-installed\fR is passed, show options for all installed formulae\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBoutdated\fR [\fB\-\-quiet\fR|\fB\-\-verbose\fR|\fB\-\-json=v1\fR]: Show formulae that have an updated version available\.
|
\fBoutdated\fR [\fB\-\-quiet\fR|\fB\-\-verbose\fR|\fB\-\-json=v1\fR]
|
||||||
|
Show formulae that have an updated version available\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
By default, version information is displayed in interactive shells, and suppressed otherwise\.
|
By default, version information is displayed in interactive shells, and suppressed otherwise\.
|
||||||
@ -328,67 +362,81 @@ If \fB\-\-verbose\fR is passed, display detailed version information\.
|
|||||||
.IP
|
.IP
|
||||||
If \fB\-\-json=\fR\fIversion\fR is passed, the output will be in JSON format\. The only valid version is \fBv1\fR\.
|
If \fB\-\-json=\fR\fIversion\fR is passed, the output will be in JSON format\. The only valid version is \fBv1\fR\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBpin\fR \fIformulae\fR: Pin the specified \fIformulae\fR, preventing them from being upgraded when issuing the \fBbrew upgrade\fR command\. See also \fBunpin\fR\.
|
\fBpin\fR \fIformulae\fR
|
||||||
|
Pin the specified \fIformulae\fR, preventing them from being upgraded when issuing the \fBbrew upgrade\fR command\. See also \fBunpin\fR\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBprune\fR: Remove dead symlinks from the Homebrew prefix\. This is generally not needed, but can be useful when doing DIY installations\.
|
\fBprune\fR
|
||||||
|
Remove dead symlinks from the Homebrew prefix\. This is generally not needed, but can be useful when doing DIY installations\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBreinstall\fR \fIformula\fR: Uninstall then install \fIformula\fR
|
\fBreinstall\fR \fIformula\fR
|
||||||
|
Uninstall then install \fIformula\fR
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBrm\fR, \fBremove\fR, \fBuninstall\fR [\fB\-\-force\fR] \fIformula\fR: Uninstall \fIformula\fR\.
|
\fBrm\fR, \fBremove\fR, \fBuninstall\fR [\fB\-\-force\fR] \fIformula\fR
|
||||||
|
Uninstall \fIformula\fR\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
If \fB\-\-force\fR is passed, and there are multiple versions of \fIformula\fR installed, delete all installed versions\.
|
If \fB\-\-force\fR is passed, and there are multiple versions of \fIformula\fR installed, delete all installed versions\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBsearch\fR, \fB\-S\fR: Display all locally available formulae for brewing (including tapped ones)\. No online search is performed if called without arguments\.
|
\fBsearch\fR, \fB\-S\fR
|
||||||
|
Display all locally available formulae for brewing (including tapped ones)\. No online search is performed if called without arguments\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBsearch\fR, \fB\-S\fR \fItext\fR|\fB/\fR\fItext\fR\fB/\fR: Perform a substring search of formula names for \fItext\fR\. If \fItext\fR is surrounded with slashes, then it is interpreted as a regular expression\. The search for \fItext\fR is extended online to some popular taps\.
|
\fBsearch\fR, \fB\-S\fR \fItext\fR|\fB/\fR\fItext\fR\fB/\fR
|
||||||
|
Perform a substring search of formula names for \fItext\fR\. If \fItext\fR is surrounded with slashes, then it is interpreted as a regular expression\. The search for \fItext\fR is extended online to some popular taps\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBsearch \-\-debian\fR|\fB\-\-fedora\fR|\fB\-\-fink\fR|\fB\-\-macports\fR|\fB\-\-opensuse\fR|\fB\-\-ubuntu\fR \fItext\fR: Search for \fItext\fR in the given package manager\'s list\.
|
\fBsearch \-\-debian\fR|\fB\-\-fedora\fR|\fB\-\-fink\fR|\fB\-\-macports\fR|\fB\-\-opensuse\fR|\fB\-\-ubuntu\fR \fItext\fR
|
||||||
|
Search for \fItext\fR in the given package manager\'s list\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBsh\fR [\fB\-\-env=std\fR]: Instantiate a Homebrew build environment\. Uses our years\-battle\-hardened Homebrew build logic to help your \fB\./configure && make && make install\fR or even your \fBgem install\fR succeed\. Especially handy if you run Homebrew in an Xcode\-only configuration since it adds tools like \fBmake\fR to your \fBPATH\fR which otherwise build\-systems would not find\.
|
\fBsh\fR [\fB\-\-env=std\fR]
|
||||||
|
Instantiate a Homebrew build environment\. Uses our years\-battle\-hardened Homebrew build logic to help your \fB\./configure && make && make install\fR or even your \fBgem install\fR succeed\. Especially handy if you run Homebrew in an Xcode\-only configuration since it adds tools like \fBmake\fR to your \fBPATH\fR which otherwise build\-systems would not find\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBswitch\fR \fIname\fR \fIversion\fR: Symlink all of the specific \fIversion\fR of \fIname\fR\'s install to Homebrew prefix\.
|
\fBswitch\fR \fIname\fR \fIversion\fR
|
||||||
|
Symlink all of the specific \fIversion\fR of \fIname\fR\'s install to Homebrew prefix\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBtap\fR [\fB\-\-full\fR] \fIuser\fR\fB/\fR\fIrepo\fR [\fIURL\fR]: Tap a formula repository or list existing taps\. This command can be invoked in three ways\.
|
\fBtap\fR
|
||||||
|
List all installed taps\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBtap\fR without arguments displays existing taps\.
|
\fBtap\fR [\fB\-\-full\fR] \fIuser\fR\fB/\fR\fIrepo\fR [\fIURL\fR]
|
||||||
|
Tap a formula repository\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.IP
|
||||||
\fBtap\fR \fIuser\fR\fB/\fR\fIrepo\fR taps a formula repository from GitHub using HTTPS\. Since so many taps are hosted on GitHub, this command is a shortcut for \fBtap <user>/<repo> https://github\.com/<user>/homebrew\-<repo>\fR\.
|
With \fIURL\fR unspecified, taps a formula repository from GitHub using HTTPS\. Since so many taps are hosted on GitHub, this command is a shortcut for \fBtap <user>/<repo> https://github\.com/<user>/homebrew\-<repo>\fR\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.IP
|
||||||
\fBtap\fR \fIuser\fR\fB/\fR\fIrepo\fR \fIURL\fR taps a formula repository from anywhere, using any transport protocol that \fBgit\fR handles\. The one\-argument form of \fBtap\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\.
|
With \fIURL\fR specified, taps a formula repository from anywhere, using any transport protocol that \fBgit\fR handles\. The one\-argument form of \fBtap\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\.
|
||||||
.
|
|
||||||
.IP "" 0
|
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
By default, the repository is cloned as a shallow copy (\fB\-\-depth=1\fR), but if \fB\-\-full\fR is passed, a full clone will be used\.
|
By default, the repository is cloned as a shallow copy (\fB\-\-depth=1\fR), but if \fB\-\-full\fR is passed, a full clone will be used\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBtap \-\-repair\fR: Migrate tapped formulae from symlink\-based to directory\-based structure\.
|
\fBtap \-\-repair\fR
|
||||||
|
Migrate tapped formulae from symlink\-based to directory\-based structure\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBtap \-\-list\-official\fR: List all official taps\.
|
\fBtap \-\-list\-official\fR
|
||||||
|
List all official taps\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBtap \-\-list\-pinned\fR: List all pinned taps\.
|
\fBtap \-\-list\-pinned\fR
|
||||||
|
List all pinned taps\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBtap\-info\fR \fItap\fR: Display information about \fItap\fR\.
|
\fBtap\-info\fR \fItap\fR
|
||||||
|
Display information about \fItap\fR\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBtap\-info\fR \fB\-\-json=\fR\fIversion\fR (\fB\-\-installed\fR|\fItaps\fR): Print a JSON representation of \fItaps\fR\. Currently the only accepted value for \fIversion\fR is \fBv1\fR\.
|
\fBtap\-info\fR \fB\-\-json=\fR\fIversion\fR (\fB\-\-installed\fR|\fItaps\fR)
|
||||||
|
Print a JSON representation of \fItaps\fR\. Currently the only accepted value for \fIversion\fR is \fBv1\fR\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
Pass \fB\-\-installed\fR to get information on installed taps\.
|
Pass \fB\-\-installed\fR to get information on installed taps\.
|
||||||
@ -396,14 +444,17 @@ Pass \fB\-\-installed\fR to get information on installed taps\.
|
|||||||
.IP
|
.IP
|
||||||
See the docs for examples of using the JSON: \fIhttps://github\.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Querying\-Brew\.md\fR
|
See the docs for examples of using the JSON: \fIhttps://github\.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Querying\-Brew\.md\fR
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBtap\-pin\fR \fItap\fR: Pin \fItap\fR, prioritizing its formulae over core when formula names are supplied by the user\. See also \fBtap\-unpin\fR\.
|
\fBtap\-pin\fR \fItap\fR
|
||||||
|
Pin \fItap\fR, prioritizing its formulae over core when formula names are supplied by the user\. See also \fBtap\-unpin\fR\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBtap\-unpin\fR \fItap\fR: Unpin \fItap\fR so its formulae are no longer prioritized\. See also \fBtap\-pin\fR\.
|
\fBtap\-unpin\fR \fItap\fR
|
||||||
|
Unpin \fItap\fR so its formulae are no longer prioritized\. See also \fBtap\-pin\fR\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBtest\fR [\fB\-\-devel\fR|\fB\-\-HEAD\fR] [\fB\-\-debug\fR] \fIformula\fR: A few formulae provide a test method\. \fBbrew test\fR \fIformula\fR runs this test method\. There is no standard output or return code, but it should generally indicate to the user if something is wrong with the installed formula\.
|
\fBtest\fR [\fB\-\-devel\fR|\fB\-\-HEAD\fR] [\fB\-\-debug\fR] \fIformula\fR
|
||||||
|
A few formulae provide a test method\. \fBbrew test\fR \fIformula\fR runs this test method\. There is no standard output or return code, but it should generally indicate to the user if something is wrong with the installed formula\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
To test the development or head version of a formula, use \fB\-\-devel\fR or \fB\-\-HEAD\fR\.
|
To test the development or head version of a formula, use \fB\-\-devel\fR or \fB\-\-HEAD\fR\.
|
||||||
@ -414,20 +465,23 @@ If \fB\-\-debug\fR is passed and the test fails, an interactive debugger will be
|
|||||||
.IP
|
.IP
|
||||||
Example: \fBbrew install jruby && brew test jruby\fR
|
Example: \fBbrew install jruby && brew test jruby\fR
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBunlink\fR [\fB\-\-dry\-run\fR] \fIformula\fR: Remove symlinks for \fIformula\fR from the Homebrew prefix\. This can be useful for temporarily disabling a formula: \fBbrew unlink foo && commands && brew link foo\fR\.
|
\fBunlink\fR [\fB\-\-dry\-run\fR] \fIformula\fR
|
||||||
|
Remove symlinks for \fIformula\fR from the Homebrew prefix\. This can be useful for temporarily disabling a formula: \fBbrew unlink foo && commands && brew link foo\fR\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
If \fB\-\-dry\-run\fR or \fB\-n\fR is passed, Homebrew will list all files which would be unlinked, but will not actually unlink or delete any files\.
|
If \fB\-\-dry\-run\fR or \fB\-n\fR is passed, Homebrew will list all files which would be unlinked, but will not actually unlink or delete any files\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBunlinkapps\fR [\fB\-\-local\fR] [\fIformulae\fR]: Removes links created by \fBbrew linkapps\fR\.
|
\fBunlinkapps\fR [\fB\-\-local\fR] [\fIformulae\fR]
|
||||||
|
Removes links created by \fBbrew linkapps\fR\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
If no \fIformulae\fR are provided, all linked app will be removed\.
|
If no \fIformulae\fR are provided, all linked app will be removed\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBunpack\fR [\fB\-\-git\fR|\fB\-\-patch\fR] [\fB\-\-destdir=\fR\fIpath\fR] \fIformulae\fR: Unpack the source files for \fIformulae\fR into subdirectories of the current working directory\. If \fB\-\-destdir=\fR\fIpath\fR is given, the subdirectories will be created in the directory named by \fB<path>\fR instead\.
|
\fBunpack\fR [\fB\-\-git\fR|\fB\-\-patch\fR] [\fB\-\-destdir=\fR\fIpath\fR] \fIformulae\fR
|
||||||
|
Unpack the source files for \fIformulae\fR into subdirectories of the current working directory\. If \fB\-\-destdir=\fR\fIpath\fR is given, the subdirectories will be created in the directory named by \fB<path>\fR instead\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
If \fB\-\-patch\fR is passed, patches for \fIformulae\fR will be applied to the unpacked source\.
|
If \fB\-\-patch\fR is passed, patches for \fIformulae\fR will be applied to the unpacked source\.
|
||||||
@ -435,20 +489,24 @@ If \fB\-\-patch\fR is passed, patches for \fIformulae\fR will be applied to the
|
|||||||
.IP
|
.IP
|
||||||
If \fB\-\-git\fR is passed, a Git repository will be initalized in the unpacked source\. This is useful for creating patches for the software\.
|
If \fB\-\-git\fR is passed, a Git repository will be initalized in the unpacked source\. This is useful for creating patches for the software\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBunpin\fR \fIformulae\fR: Unpin \fIformulae\fR, allowing them to be upgraded by \fBbrew upgrade\fR\. See also \fBpin\fR\.
|
\fBunpin\fR \fIformulae\fR
|
||||||
|
Unpin \fIformulae\fR, allowing them to be upgraded by \fBbrew upgrade\fR\. See also \fBpin\fR\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBuntap\fR \fItap\fR: Remove a tapped repository\.
|
\fBuntap\fR \fItap\fR
|
||||||
|
Remove a tapped repository\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBupdate\fR [\fB\-\-rebase\fR]: Fetch the newest version of Homebrew and all formulae from GitHub using \fBgit\fR(1)\.
|
\fBupdate\fR [\fB\-\-rebase\fR]
|
||||||
|
Fetch the newest version of Homebrew and all formulae from GitHub using \fBgit\fR(1)\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
If \fB\-\-rebase\fR is specified then \fBgit pull \-\-rebase\fR is used\.
|
If \fB\-\-rebase\fR is specified then \fBgit pull \-\-rebase\fR is used\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBupgrade\fR [\fIinstall\-options\fR] [\fB\-\-cleanup\fR] [\fIformulae\fR]: Upgrade outdated, unpinned brews\.
|
\fBupgrade\fR [\fIinstall\-options\fR] [\fB\-\-cleanup\fR] [\fIformulae\fR]
|
||||||
|
Upgrade outdated, unpinned brews\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
Options for the \fBinstall\fR command are also valid here\.
|
Options for the \fBinstall\fR command are also valid here\.
|
||||||
@ -459,8 +517,9 @@ If \fB\-\-cleanup\fR is specified then remove previously installed \fIformula\fR
|
|||||||
.IP
|
.IP
|
||||||
If \fIformulae\fR are given, upgrade only the specified brews (but do so even if they are pinned; see \fBpin\fR, \fBunpin\fR)\.
|
If \fIformulae\fR are given, upgrade only the specified brews (but do so even if they are pinned; see \fBpin\fR, \fBunpin\fR)\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fBuses\fR [\fB\-\-installed\fR] [\fB\-\-recursive\fR] [\fB\-\-skip\-build\fR] [\fB\-\-skip\-optional\fR] [\fB\-\-devel\fR|\fB\-\-HEAD\fR] \fIformulae\fR: Show the formulae that specify \fIformulae\fR as a dependency\. When given multiple formula arguments, show the intersection of formulae that use \fIformulae\fR\.
|
\fBuses\fR [\fB\-\-installed\fR] [\fB\-\-recursive\fR] [\fB\-\-skip\-build\fR] [\fB\-\-skip\-optional\fR] [\fB\-\-devel\fR|\fB\-\-HEAD\fR] \fIformulae\fR
|
||||||
|
Show the formulae that specify \fIformulae\fR as a dependency\. When given multiple formula arguments, show the intersection of formulae that use \fIformulae\fR\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
Use \fB\-\-recursive\fR to resolve more than one level of dependencies\.
|
Use \fB\-\-recursive\fR to resolve more than one level of dependencies\.
|
||||||
@ -474,34 +533,41 @@ By default, \fBuses\fR shows all formulae that specify \fIformulae\fR as a depen
|
|||||||
.IP
|
.IP
|
||||||
By default, \fBuses\fR shows usages of \fBformula\fR by stable builds\. To find cases where \fBformula\fR is used by development or HEAD build, pass \fB\-\-devel\fR or \fB\-\-HEAD\fR\.
|
By default, \fBuses\fR shows usages of \fBformula\fR by stable builds\. To find cases where \fBformula\fR is used by development or HEAD build, pass \fB\-\-devel\fR or \fB\-\-HEAD\fR\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fB\-\-cache\fR: Display Homebrew\'s download cache\. See also \fBHOMEBREW_CACHE\fR\.
|
\fB\-\-cache\fR
|
||||||
|
Display Homebrew\'s download cache\. See also \fBHOMEBREW_CACHE\fR\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fB\-\-cache\fR \fIformula\fR: Display the file or directory used to cache \fIformula\fR\.
|
\fB\-\-cache\fR \fIformula\fR
|
||||||
|
Display the file or directory used to cache \fIformula\fR\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fB\-\-cellar\fR: Display Homebrew\'s Cellar path\. \fIDefault:\fR \fB$(brew \-\-prefix)/Cellar\fR, or if that directory doesn\'t exist, \fB$(brew \-\-repository)/Cellar\fR\.
|
\fB\-\-cellar\fR
|
||||||
|
Display Homebrew\'s Cellar path\. \fIDefault:\fR \fB$(brew \-\-prefix)/Cellar\fR, or if that directory doesn\'t exist, \fB$(brew \-\-repository)/Cellar\fR\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fB\-\-cellar\fR \fIformula\fR: Display the location in the cellar where \fIformula\fR would be installed, without any sort of versioned directory as the last path\.
|
\fB\-\-cellar\fR \fIformula\fR
|
||||||
|
Display the location in the cellar where \fIformula\fR would be installed, without any sort of versioned directory as the last path\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fB\-\-env\fR: Show a summary of the Homebrew build environment\.
|
\fB\-\-env\fR
|
||||||
|
Show a summary of the Homebrew build environment\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fB\-\-prefix\fR: Display Homebrew\'s install path\. \fIDefault:\fR \fB/usr/local\fR
|
\fB\-\-prefix\fR
|
||||||
|
Display Homebrew\'s install path\. \fIDefault:\fR \fB/usr/local\fR
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fB\-\-prefix\fR \fIformula\fR: Display the location in the cellar where \fIformula\fR is or would be installed\.
|
\fB\-\-prefix\fR \fIformula\fR
|
||||||
|
Display the location in the cellar where \fIformula\fR is or would be installed\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fB\-\-repository\fR: Display where Homebrew\'s \fB\.git\fR directory is located\. For standard installs, the \fBprefix\fR and \fBrepository\fR are the same directory\.
|
\fB\-\-repository\fR
|
||||||
|
Display where Homebrew\'s \fB\.git\fR directory is located\. For standard installs, the \fBprefix\fR and \fBrepository\fR are the same directory\.
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.TP
|
||||||
\fB\-\-version\fR: Print the version number of brew to standard error and exit\.
|
\fB\-\-version\fR
|
||||||
.
|
Print the version number of brew to standard error and exit\.
|
||||||
.IP "" 0
|
|
||||||
.
|
.
|
||||||
.SH "EXTERNAL COMMANDS"
|
.SH "EXTERNAL COMMANDS"
|
||||||
Homebrew, like \fBgit\fR(1), supports external commands\. These are executable scripts that reside somewhere in the \fBPATH\fR, named \fBbrew\-\fR\fIcmdname\fR or \fBbrew\-\fR\fIcmdname\fR\fB\.rb\fR, which can be invoked like \fBbrew\fR \fIcmdname\fR\. This allows you to create your own commands without modifying Homebrew\'s internals\.
|
Homebrew, like \fBgit\fR(1), supports external commands\. These are executable scripts that reside somewhere in the \fBPATH\fR, named \fBbrew\-\fR\fIcmdname\fR or \fBbrew\-\fR\fIcmdname\fR\fB\.rb\fR, which can be invoked like \fBbrew\fR \fIcmdname\fR\. This allows you to create your own commands without modifying Homebrew\'s internals\.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user