Merge pull request #4372 from reitermarkus/cask-search
Readd functionality to list all casks.
This commit is contained in:
commit
e3bb004ad7
@ -56,7 +56,7 @@ module Hbc
|
||||
end
|
||||
|
||||
def full_name
|
||||
return token if tap == Tap.default_cask_tap
|
||||
return token if tap.user == "Homebrew"
|
||||
qualified_token
|
||||
end
|
||||
|
||||
|
||||
@ -1,10 +1,14 @@
|
||||
#: * `search`, `-S`:
|
||||
#: Display all locally available formulae for brewing (including tapped ones).
|
||||
#: No online search is performed if called without arguments.
|
||||
#: Display all locally available formulae (including tapped ones).
|
||||
#: No online search is performed.
|
||||
#:
|
||||
#: * `search` `--casks`
|
||||
#: Display all locally available casks (including tapped ones).
|
||||
#: No online search is performed.
|
||||
#:
|
||||
#: * `search` [`--desc`] (<text>|`/`<text>`/`):
|
||||
#: Perform a substring search of formula names for <text>. If <text> is
|
||||
#: surrounded with slashes, then it is interpreted as a regular expression.
|
||||
#: Perform a substring search of cask tokens and formula names for <text>. If <text>
|
||||
#: is surrounded with slashes, then it is interpreted as a regular expression.
|
||||
#: The search for <text> is extended online to official taps.
|
||||
#:
|
||||
#: If `--desc` is passed, search formulae with a description matching <text> and
|
||||
@ -43,6 +47,8 @@ module Homebrew
|
||||
switch s
|
||||
end
|
||||
|
||||
switch "--casks"
|
||||
|
||||
conflicts(*package_manager_switches)
|
||||
end
|
||||
|
||||
@ -52,8 +58,13 @@ module Homebrew
|
||||
return
|
||||
end
|
||||
|
||||
if args.remaining.empty? && !args.desc?
|
||||
if args.remaining.empty?
|
||||
if args.casks?
|
||||
puts Formatter.columns(Hbc::Cask.to_a.map(&:full_name).sort)
|
||||
else
|
||||
puts Formatter.columns(Formula.full_names.sort)
|
||||
end
|
||||
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
@ -7,7 +7,7 @@ module Hbc
|
||||
class Search < AbstractCommand
|
||||
def run
|
||||
odeprecated "`brew cask search`", "`brew search`"
|
||||
Homebrew.search(args)
|
||||
Homebrew.search(args.empty? ? "--casks" : args)
|
||||
end
|
||||
|
||||
def self.visible
|
||||
|
||||
@ -400,12 +400,16 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note
|
||||
Uninstall and then install `formula` (with existing install options).
|
||||
|
||||
* `search`, `-S`:
|
||||
Display all locally available formulae for brewing (including tapped ones).
|
||||
No online search is performed if called without arguments.
|
||||
Display all locally available formulae (including tapped ones).
|
||||
No online search is performed.
|
||||
|
||||
* `search` `--casks`
|
||||
Display all locally available casks (including tapped ones).
|
||||
No online search is performed.
|
||||
|
||||
* `search` [`--desc`] (`text`|`/``text``/`):
|
||||
Perform a substring search of formula names for `text`. If `text` is
|
||||
surrounded with slashes, then it is interpreted as a regular expression.
|
||||
Perform a substring search of cask tokens and formula names for `text`. If `text`
|
||||
is surrounded with slashes, then it is interpreted as a regular expression.
|
||||
The search for `text` is extended online to official taps.
|
||||
|
||||
If `--desc` is passed, search formulae with a description matching `text` and
|
||||
|
||||
375
manpages/brew.1
375
manpages/brew.1
@ -43,25 +43,20 @@ Perform a substring search of formula names for \fItext\fR\. If \fItext\fR is su
|
||||
.
|
||||
.SH "COMMANDS"
|
||||
.
|
||||
.TP
|
||||
\fBanalytics\fR [\fBstate\fR]
|
||||
Display anonymous user behaviour analytics state\. Read more at \fIhttps://docs\.brew\.sh/Analytics\fR\.
|
||||
.IP "\(bu" 4
|
||||
\fBanalytics\fR [\fBstate\fR]: Display anonymous user behaviour analytics state\. Read more at \fIhttps://docs\.brew\.sh/Analytics\fR\.
|
||||
.
|
||||
.TP
|
||||
\fBanalytics\fR (\fBon\fR|\fBoff\fR)
|
||||
Turn on/off Homebrew\'s analytics\.
|
||||
.IP "\(bu" 4
|
||||
\fBanalytics\fR (\fBon\fR|\fBoff\fR): Turn on/off Homebrew\'s analytics\.
|
||||
.
|
||||
.TP
|
||||
\fBanalytics\fR \fBregenerate\-uuid\fR
|
||||
Regenerate UUID used in Homebrew\'s analytics\.
|
||||
.IP "\(bu" 4
|
||||
\fBanalytics\fR \fBregenerate\-uuid\fR: Regenerate UUID used in Homebrew\'s analytics\.
|
||||
.
|
||||
.TP
|
||||
\fBcat\fR \fIformula\fR
|
||||
Display the source to \fIformula\fR\.
|
||||
.IP "\(bu" 4
|
||||
\fBcat\fR \fIformula\fR: Display the source to \fIformula\fR\.
|
||||
.
|
||||
.TP
|
||||
\fBcleanup\fR [\fB\-\-prune=\fR\fIdays\fR] [\fB\-\-dry\-run\fR] [\fB\-s\fR] [\fIformulae\fR]
|
||||
For all installed or specific formulae, remove any older versions from the cellar\. In addition, old downloads from the Homebrew download\-cache are deleted\.
|
||||
.IP "\(bu" 4
|
||||
\fBcleanup\fR [\fB\-\-prune=\fR\fIdays\fR] [\fB\-\-dry\-run\fR] [\fB\-s\fR] [\fIformulae\fR]: For all installed or specific formulae, remove any older versions from the cellar\. In addition, old downloads from the Homebrew download\-cache are deleted\.
|
||||
.
|
||||
.IP
|
||||
If \fB\-\-prune=\fR\fIdays\fR is specified, remove all cache files older than \fIdays\fR\.
|
||||
@ -72,24 +67,20 @@ If \fB\-\-dry\-run\fR or \fB\-n\fR is passed, show what would be removed, but do
|
||||
.IP
|
||||
If \fB\-s\fR is passed, scrub 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
|
||||
.
|
||||
.TP
|
||||
\fBcommand\fR \fIcmd\fR
|
||||
Display the path to the file which is used when invoking \fBbrew\fR \fIcmd\fR\.
|
||||
.IP "\(bu" 4
|
||||
\fBcommand\fR \fIcmd\fR: Display the path to the file which is used when invoking \fBbrew\fR \fIcmd\fR\.
|
||||
.
|
||||
.TP
|
||||
\fBcommands\fR [\fB\-\-quiet\fR [\fB\-\-include\-aliases\fR]]
|
||||
Show a list of built\-in and external commands\.
|
||||
.IP "\(bu" 4
|
||||
\fBcommands\fR [\fB\-\-quiet\fR [\fB\-\-include\-aliases\fR]]: Show a list of built\-in and external commands\.
|
||||
.
|
||||
.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\.
|
||||
.
|
||||
.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\.
|
||||
.IP "\(bu" 4
|
||||
\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\.
|
||||
.
|
||||
.TP
|
||||
\fBdeps\fR [\fB\-\-1\fR] [\fB\-n\fR] [\fB\-\-union\fR] [\fB\-\-full\-name\fR] [\fB\-\-installed\fR] [\fB\-\-include\-build\fR] [\fB\-\-include\-optional\fR] [\fB\-\-skip\-recommended\fR] [\fB\-\-include\-requirements\fR] \fIformulae\fR
|
||||
Show dependencies for \fIformulae\fR\. When given multiple formula arguments, show the intersection of dependencies for \fIformulae\fR\.
|
||||
.IP "\(bu" 4
|
||||
\fBdeps\fR [\fB\-\-1\fR] [\fB\-n\fR] [\fB\-\-union\fR] [\fB\-\-full\-name\fR] [\fB\-\-installed\fR] [\fB\-\-include\-build\fR] [\fB\-\-include\-optional\fR] [\fB\-\-skip\-recommended\fR] [\fB\-\-include\-requirements\fR] \fIformulae\fR: Show dependencies for \fIformulae\fR\. When given multiple formula arguments, show the intersection of dependencies for \fIformulae\fR\.
|
||||
.
|
||||
.IP
|
||||
If \fB\-\-1\fR is passed, only show dependencies one level down, instead of recursing\.
|
||||
@ -109,9 +100,8 @@ If \fB\-\-installed\fR is passed, only list those dependencies that are currentl
|
||||
.IP
|
||||
By default, \fBdeps\fR shows required and recommended dependencies for \fIformulae\fR\. To include the \fB:build\fR type dependencies, pass \fB\-\-include\-build\fR\. Similarly, pass \fB\-\-include\-optional\fR to include \fB:optional\fR dependencies or \fB\-\-include\-test\fR to include (non\-recursive) \fB:test\fR dependencies\. To skip \fB:recommended\fR type dependencies, pass \fB\-\-skip\-recommended\fR\. To include requirements in addition to dependencies, pass \fB\-\-include\-requirements\fR\.
|
||||
.
|
||||
.TP
|
||||
\fBdeps\fR \fB\-\-tree\fR [\fB\-\-1\fR] [\fIfilters\fR] [\fB\-\-annotate\fR] (\fIformulae\fR|\fB\-\-installed\fR)
|
||||
Show dependencies as a tree\. When given multiple formula arguments, output individual trees for every formula\.
|
||||
.IP "\(bu" 4
|
||||
\fBdeps\fR \fB\-\-tree\fR [\fB\-\-1\fR] [\fIfilters\fR] [\fB\-\-annotate\fR] (\fIformulae\fR|\fB\-\-installed\fR): Show dependencies as a tree\. When given multiple formula arguments, output individual trees for every formula\.
|
||||
.
|
||||
.IP
|
||||
If \fB\-\-1\fR is passed, only one level of children is displayed\.
|
||||
@ -125,24 +115,20 @@ The \fIfilters\fR placeholder is any combination of options \fB\-\-include\-buil
|
||||
.IP
|
||||
If \fB\-\-annotate\fR is passed, the build, optional, and recommended dependencies are marked as such in the output\.
|
||||
.
|
||||
.TP
|
||||
\fBdeps\fR [\fIfilters\fR] (\fB\-\-installed\fR|\fB\-\-all\fR)
|
||||
Show dependencies for installed or all available formulae\. Every line of output starts with the formula name, followed by a colon and all direct dependencies of that formula\.
|
||||
.IP "\(bu" 4
|
||||
\fBdeps\fR [\fIfilters\fR] (\fB\-\-installed\fR|\fB\-\-all\fR): Show dependencies for installed or all available formulae\. Every line of output starts with the formula name, followed by a colon and all direct dependencies of that formula\.
|
||||
.
|
||||
.IP
|
||||
The \fIfilters\fR placeholder is any combination of options \fB\-\-include\-build\fR, \fB\-\-include\-optional\fR, \fB\-\-include\-test\fR, and \fB\-\-skip\-recommended\fR as documented above\.
|
||||
.
|
||||
.TP
|
||||
\fBdesc\fR \fIformula\fR
|
||||
Display \fIformula\fR\'s name and one\-line description\.
|
||||
.IP "\(bu" 4
|
||||
\fBdesc\fR \fIformula\fR: Display \fIformula\fR\'s name and one\-line description\.
|
||||
.
|
||||
.TP
|
||||
\fBdesc\fR [\fB\-\-search\fR|\fB\-\-name\fR|\fB\-\-description\fR] (\fItext\fR|\fB/\fR\fItext\fR\fB/\fR)
|
||||
Search both name and description (\fB\-\-search\fR or \fB\-s\fR), just the names (\fB\-\-name\fR or \fB\-n\fR), or just the descriptions (\fB\-\-description\fR or \fB\-d\fR) for \fItext\fR\. If \fItext\fR is flanked by slashes, it is 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
|
||||
\fBdesc\fR [\fB\-\-search\fR|\fB\-\-name\fR|\fB\-\-description\fR] (\fItext\fR|\fB/\fR\fItext\fR\fB/\fR): Search both name and description (\fB\-\-search\fR or \fB\-s\fR), just the names (\fB\-\-name\fR or \fB\-n\fR), or just the descriptions (\fB\-\-description\fR or \fB\-d\fR) for \fItext\fR\. If \fItext\fR is flanked by slashes, it is interpreted as a regular expression\. Formula descriptions are cached; the cache is created on the first search, making that search slower than subsequent ones\.
|
||||
.
|
||||
.TP
|
||||
\fBdiy\fR [\fB\-\-name=\fR\fIname\fR] [\fB\-\-version=\fR\fIversion\fR]
|
||||
Automatically determine the installation prefix for non\-Homebrew software\.
|
||||
.IP "\(bu" 4
|
||||
\fBdiy\fR [\fB\-\-name=\fR\fIname\fR] [\fB\-\-version=\fR\fIversion\fR]: Automatically determine the installation prefix for non\-Homebrew software\.
|
||||
.
|
||||
.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\.
|
||||
@ -150,13 +136,11 @@ Using the output from this command, you can install your own software into the C
|
||||
.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\.
|
||||
.
|
||||
.TP
|
||||
\fBdoctor\fR
|
||||
Check your system for potential problems\. Doctor exits with a non\-zero status if any potential problems are found\. Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue\. If everything you use Homebrew for is working fine: please don\'t worry or file an issue; just ignore this\.
|
||||
.IP "\(bu" 4
|
||||
\fBdoctor\fR: Check your system for potential problems\. Doctor exits with a non\-zero status if any potential problems are found\. Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue\. If everything you use Homebrew for is working fine: please don\'t worry or file an issue; just ignore this\.
|
||||
.
|
||||
.TP
|
||||
\fBfetch\fR [\fB\-\-force\fR] [\fB\-\-retry\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\-256 checksums\.
|
||||
.IP "\(bu" 4
|
||||
\fBfetch\fR [\fB\-\-force\fR] [\fB\-\-retry\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\-256 checksums\.
|
||||
.
|
||||
.IP
|
||||
If \fB\-\-HEAD\fR or \fB\-\-devel\fR is passed, fetch that version instead of the stable version\.
|
||||
@ -179,9 +163,8 @@ If \fB\-\-build\-from\-source\fR (or \fB\-s\fR) is passed, download the source r
|
||||
.IP
|
||||
If \fB\-\-force\-bottle\fR is passed, download a bottle if it exists for the current or newest version of macOS, even if it would not be used during installation\.
|
||||
.
|
||||
.TP
|
||||
\fBgist\-logs\fR [\fB\-\-new\-issue\fR|\fB\-n\fR] \fIformula\fR
|
||||
Upload logs for a failed build of \fIformula\fR to a new Gist\.
|
||||
.IP "\(bu" 4
|
||||
\fBgist\-logs\fR [\fB\-\-new\-issue\fR|\fB\-n\fR] \fIformula\fR: Upload logs for a failed build of \fIformula\fR to a new Gist\.
|
||||
.
|
||||
.IP
|
||||
\fIformula\fR is usually the name of the formula to install, but it can be specified in several different ways\. See \fISPECIFYING FORMULAE\fR\.
|
||||
@ -195,32 +178,26 @@ If \fB\-\-new\-issue\fR is passed, automatically create a new issue in the appro
|
||||
.IP
|
||||
If no logs are found, an error message is presented\.
|
||||
.
|
||||
.TP
|
||||
\fBhome\fR
|
||||
Open Homebrew\'s own homepage in a browser\.
|
||||
.IP "\(bu" 4
|
||||
\fBhome\fR: Open Homebrew\'s own homepage in a browser\.
|
||||
.
|
||||
.TP
|
||||
\fBhome\fR \fIformula\fR
|
||||
Open \fIformula\fR\'s homepage in a browser\.
|
||||
.IP "\(bu" 4
|
||||
\fBhome\fR \fIformula\fR: Open \fIformula\fR\'s homepage in a browser\.
|
||||
.
|
||||
.TP
|
||||
\fBinfo\fR
|
||||
Display brief statistics for your Homebrew installation\.
|
||||
.IP "\(bu" 4
|
||||
\fBinfo\fR: Display brief statistics for your Homebrew installation\.
|
||||
.
|
||||
.TP
|
||||
\fBinfo\fR \fIformula\fR
|
||||
Display information about \fIformula\fR\.
|
||||
.IP "\(bu" 4
|
||||
\fBinfo\fR \fIformula\fR: Display information about \fIformula\fR\.
|
||||
.
|
||||
.TP
|
||||
\fBinfo\fR \fB\-\-github\fR \fIformula\fR
|
||||
Open a browser to the GitHub History page for \fIformula\fR\.
|
||||
.IP "\(bu" 4
|
||||
\fBinfo\fR \fB\-\-github\fR \fIformula\fR: Open a browser to the GitHub History page for \fIformula\fR\.
|
||||
.
|
||||
.IP
|
||||
To view formula history locally: \fBbrew log \-p <formula>\fR
|
||||
.
|
||||
.TP
|
||||
\fBinfo\fR \fB\-\-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 "\(bu" 4
|
||||
\fBinfo\fR \fB\-\-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
|
||||
Pass \fB\-\-all\fR to get information on all formulae, or \fB\-\-installed\fR to get information on all installed formulae\.
|
||||
@ -228,9 +205,8 @@ Pass \fB\-\-all\fR to get information on all formulae, or \fB\-\-installed\fR to
|
||||
.IP
|
||||
See the docs for examples of using the JSON output: \fIhttps://docs\.brew\.sh/Querying\-Brew\fR
|
||||
.
|
||||
.TP
|
||||
\fBinstall\fR [\fB\-\-debug\fR] [\fB\-\-env=\fR(\fBstd\fR|\fBsuper\fR)] [\fB\-\-ignore\-dependencies\fR|\fB\-\-only\-dependencies\fR] [\fB\-\-cc=\fR\fIcompiler\fR] [\fB\-\-build\-from\-source\fR|\fB\-\-force\-bottle\fR] [\fB\-\-include\-test\fR] [\fB\-\-devel\fR|\fB\-\-HEAD\fR] [\fB\-\-keep\-tmp\fR] [\fB\-\-build\-bottle\fR] [\fB\-\-force\fR] [\fB\-\-verbose\fR] \fIformula\fR [\fIoptions\fR \.\.\.]
|
||||
Install \fIformula\fR\.
|
||||
.IP "\(bu" 4
|
||||
\fBinstall\fR [\fB\-\-debug\fR] [\fB\-\-env=\fR(\fBstd\fR|\fBsuper\fR)] [\fB\-\-ignore\-dependencies\fR|\fB\-\-only\-dependencies\fR] [\fB\-\-cc=\fR\fIcompiler\fR] [\fB\-\-build\-from\-source\fR|\fB\-\-force\-bottle\fR] [\fB\-\-include\-test\fR] [\fB\-\-devel\fR|\fB\-\-HEAD\fR] [\fB\-\-keep\-tmp\fR] [\fB\-\-build\-bottle\fR] [\fB\-\-force\fR] [\fB\-\-verbose\fR] \fIformula\fR [\fIoptions\fR \.\.\.]: Install \fIformula\fR\.
|
||||
.
|
||||
.IP
|
||||
\fIformula\fR is usually the name of the formula to install, but it can be specified in several different ways\. See \fISPECIFYING FORMULAE\fR\.
|
||||
@ -286,20 +262,17 @@ If \fB\-\-verbose\fR (or \fB\-v\fR) is passed, print the verification and postin
|
||||
.IP
|
||||
Installation options specific to \fIformula\fR may be appended to the command, and can be listed with \fBbrew options\fR \fIformula\fR\.
|
||||
.
|
||||
.TP
|
||||
\fBinstall\fR \fB\-\-interactive\fR [\fB\-\-git\fR] \fIformula\fR
|
||||
If \fB\-\-interactive\fR (or \fB\-i\fR) is passed, 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 "\(bu" 4
|
||||
\fBinstall\fR \fB\-\-interactive\fR [\fB\-\-git\fR] \fIformula\fR: If \fB\-\-interactive\fR (or \fB\-i\fR) is passed, 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
|
||||
If \fB\-\-git\fR (or \fB\-g\fR) is passed, Homebrew will create a Git repository, useful for creating patches to the software\.
|
||||
.
|
||||
.TP
|
||||
\fBleaves\fR
|
||||
Show installed formulae that are not dependencies of another installed formula\.
|
||||
.IP "\(bu" 4
|
||||
\fBleaves\fR: Show installed formulae that are not dependencies of another installed formula\.
|
||||
.
|
||||
.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\.
|
||||
.IP "\(bu" 4
|
||||
\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
|
||||
If \fB\-\-overwrite\fR is passed, Homebrew will delete files which already exist in the prefix while linking\.
|
||||
@ -310,17 +283,14 @@ If \fB\-\-dry\-run\fR or \fB\-n\fR is passed, Homebrew will list all files which
|
||||
.IP
|
||||
If \fB\-\-force\fR (or \fB\-f\fR) is passed, Homebrew will allow keg\-only formulae to be linked\.
|
||||
.
|
||||
.TP
|
||||
\fBlist\fR, \fBls\fR [\fB\-\-full\-name\fR] [\fB\-1\fR] [\fB\-l\fR] [\fB\-t\fR] [\fB\-r\fR]
|
||||
List all installed formulae\. If \fB\-\-full\-name\fR is passed, print formulae with fully\-qualified names\. If \fB\-\-full\-name\fR is not passed, other options (i\.e\. \fB\-1\fR, \fB\-l\fR, \fB\-t\fR and \fB\-r\fR) are passed to \fBls\fR which produces the actual output\.
|
||||
.IP "\(bu" 4
|
||||
\fBlist\fR, \fBls\fR [\fB\-\-full\-name\fR] [\fB\-1\fR] [\fB\-l\fR] [\fB\-t\fR] [\fB\-r\fR]: List all installed formulae\. If \fB\-\-full\-name\fR is passed, print formulae with fully\-qualified names\. If \fB\-\-full\-name\fR is not passed, other options (i\.e\. \fB\-1\fR, \fB\-l\fR, \fB\-t\fR and \fB\-r\fR) are passed to \fBls\fR which produces the actual output\.
|
||||
.
|
||||
.TP
|
||||
\fBlist\fR, \fBls\fR \fB\-\-unbrewed\fR
|
||||
List all files in the Homebrew prefix not installed by Homebrew\.
|
||||
.IP "\(bu" 4
|
||||
\fBlist\fR, \fBls\fR \fB\-\-unbrewed\fR: List all files in the Homebrew prefix not installed by Homebrew\.
|
||||
.
|
||||
.TP
|
||||
\fBlist\fR, \fBls\fR [\fB\-\-verbose\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 "\(bu" 4
|
||||
\fBlist\fR, \fBls\fR [\fB\-\-verbose\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
|
||||
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\.
|
||||
@ -328,20 +298,17 @@ If \fB\-\-versions\fR is passed, show the version number for installed formulae,
|
||||
.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\.
|
||||
.
|
||||
.TP
|
||||
\fBlog\fR [\fIgit\-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
|
||||
\fBlog\fR [\fIgit\-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\.
|
||||
.
|
||||
.TP
|
||||
\fBmigrate\fR [\fB\-\-force\fR] \fIformulae\fR
|
||||
Migrate renamed packages to new name, where \fIformulae\fR are old names of packages\.
|
||||
.IP "\(bu" 4
|
||||
\fBmigrate\fR [\fB\-\-force\fR] \fIformulae\fR: Migrate renamed packages to new name, where \fIformulae\fR are old names of packages\.
|
||||
.
|
||||
.IP
|
||||
If \fB\-\-force\fR (or \fB\-f\fR) is passed, then treat installed \fIformulae\fR and passed \fIformulae\fR like if they are from same taps and migrate them anyway\.
|
||||
.
|
||||
.TP
|
||||
\fBmissing\fR [\fB\-\-hide=\fR\fIhidden\fR] [\fIformulae\fR]
|
||||
Check the given \fIformulae\fR for missing dependencies\. If no \fIformulae\fR are given, check all installed brews\.
|
||||
.IP "\(bu" 4
|
||||
\fBmissing\fR [\fB\-\-hide=\fR\fIhidden\fR] [\fIformulae\fR]: Check the given \fIformulae\fR for missing dependencies\. If no \fIformulae\fR are given, check all installed brews\.
|
||||
.
|
||||
.IP
|
||||
If \fB\-\-hide=\fR\fIhidden\fR is passed, act as if none of \fIhidden\fR are installed\. \fIhidden\fR should be a comma\-separated list of formulae\.
|
||||
@ -349,9 +316,8 @@ If \fB\-\-hide=\fR\fIhidden\fR is passed, act as if none of \fIhidden\fR are ins
|
||||
.IP
|
||||
\fBmissing\fR exits with a non\-zero status if any formulae are missing dependencies\.
|
||||
.
|
||||
.TP
|
||||
\fBoptions\fR [\fB\-\-compact\fR] (\fB\-\-all\fR|\fB\-\-installed\fR|\fIformulae\fR)
|
||||
Display install options specific to \fIformulae\fR\.
|
||||
.IP "\(bu" 4
|
||||
\fBoptions\fR [\fB\-\-compact\fR] (\fB\-\-all\fR|\fB\-\-installed\fR|\fIformulae\fR): Display install options specific to \fIformulae\fR\.
|
||||
.
|
||||
.IP
|
||||
If \fB\-\-compact\fR is passed, show all options on a single line separated by spaces\.
|
||||
@ -362,9 +328,8 @@ If \fB\-\-all\fR is passed, show options for all formulae\.
|
||||
.IP
|
||||
If \fB\-\-installed\fR is passed, show options for all installed formulae\.
|
||||
.
|
||||
.TP
|
||||
\fBoutdated\fR [\fB\-\-quiet\fR|\fB\-\-verbose\fR|\fB\-\-json=\fR\fIversion\fR] [\fB\-\-fetch\-HEAD\fR]
|
||||
Show formulae that have an updated version available\.
|
||||
.IP "\(bu" 4
|
||||
\fBoutdated\fR [\fB\-\-quiet\fR|\fB\-\-verbose\fR|\fB\-\-json=\fR\fIversion\fR] [\fB\-\-fetch\-HEAD\fR]: Show formulae that have an updated version available\.
|
||||
.
|
||||
.IP
|
||||
By default, version information is displayed in interactive shells, and suppressed otherwise\.
|
||||
@ -381,24 +346,20 @@ If \fB\-\-json=\fR\fIversion\fR is passed, the output will be in JSON format\. C
|
||||
.IP
|
||||
If \fB\-\-fetch\-HEAD\fR is passed, fetch the upstream repository to detect if the HEAD installation of the formula is outdated\. Otherwise, the repository\'s HEAD will be checked for updates when a new stable or devel version has been released\.
|
||||
.
|
||||
.TP
|
||||
\fBpin\fR \fIformulae\fR
|
||||
Pin the specified \fIformulae\fR, preventing them from being upgraded when issuing the \fBbrew upgrade <formulae>\fR command\. See also \fBunpin\fR\.
|
||||
.IP "\(bu" 4
|
||||
\fBpin\fR \fIformulae\fR: Pin the specified \fIformulae\fR, preventing them from being upgraded when issuing the \fBbrew upgrade <formulae>\fR command\. See also \fBunpin\fR\.
|
||||
.
|
||||
.TP
|
||||
\fBpostinstall\fR \fIformula\fR
|
||||
Rerun the post\-install steps for \fIformula\fR\.
|
||||
.IP "\(bu" 4
|
||||
\fBpostinstall\fR \fIformula\fR: Rerun the post\-install steps for \fIformula\fR\.
|
||||
.
|
||||
.TP
|
||||
\fBprune\fR [\fB\-\-dry\-run\fR]
|
||||
Remove dead symlinks from the Homebrew prefix\. This is generally not needed, but can be useful when doing DIY installations\.
|
||||
.IP "\(bu" 4
|
||||
\fBprune\fR [\fB\-\-dry\-run\fR]: Remove dead symlinks from the Homebrew prefix\. This is generally not needed, but can be useful when doing DIY installations\.
|
||||
.
|
||||
.IP
|
||||
If \fB\-\-dry\-run\fR or \fB\-n\fR is passed, show what would be removed, but do not actually remove anything\.
|
||||
.
|
||||
.TP
|
||||
\fBreadall\fR [\fB\-\-aliases\fR] [\fB\-\-syntax\fR] [\fItaps\fR]
|
||||
Import all formulae from specified \fItaps\fR (defaults to all installed taps)\.
|
||||
.IP "\(bu" 4
|
||||
\fBreadall\fR [\fB\-\-aliases\fR] [\fB\-\-syntax\fR] [\fItaps\fR]: Import all formulae from specified \fItaps\fR (defaults to all installed taps)\.
|
||||
.
|
||||
.IP
|
||||
This can be useful for debugging issues across all formulae when making significant changes to \fBformula\.rb\fR, testing the performance of loading all formulae or to determine if any current formulae have Ruby issues\.
|
||||
@ -409,35 +370,32 @@ If \fB\-\-aliases\fR is passed, also verify any alias symlinks in each tap\.
|
||||
.IP
|
||||
If \fB\-\-syntax\fR is passed, also syntax\-check all of Homebrew\'s Ruby files\.
|
||||
.
|
||||
.TP
|
||||
\fBreinstall\fR \fIformula\fR
|
||||
Uninstall and then install \fIformula\fR (with existing install options)\.
|
||||
.IP "\(bu" 4
|
||||
\fBreinstall\fR \fIformula\fR: Uninstall and then install \fIformula\fR (with existing install options)\.
|
||||
.
|
||||
.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\.
|
||||
.IP "\(bu" 4
|
||||
\fBsearch\fR, \fB\-S\fR: Display all locally available formulae (including tapped ones)\. No online search is performed\.
|
||||
.
|
||||
.TP
|
||||
\fBsearch\fR [\fB\-\-desc\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 official taps\.
|
||||
.IP "\(bu" 4
|
||||
\fBsearch\fR \fB\-\-casks\fR Display all locally available casks (including tapped ones)\. No online search is performed\.
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBsearch\fR [\fB\-\-desc\fR] (\fItext\fR|\fB/\fR\fItext\fR\fB/\fR): Perform a substring search of cask tokens and 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 official taps\.
|
||||
.
|
||||
.IP
|
||||
If \fB\-\-desc\fR is passed, search formulae with a description matching \fItext\fR and casks with a name matching \fItext\fR\.
|
||||
.
|
||||
.TP
|
||||
\fBsearch\fR (\fB\-\-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
|
||||
\fBsearch\fR (\fB\-\-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\.
|
||||
.
|
||||
.TP
|
||||
\fBsh\fR [\fB\-\-env=std\fR]
|
||||
Start a Homebrew build environment shell\. Uses our years\-battle\-hardened Homebrew build logic to help your \fB\./configure && make && make install\fR or even your \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
|
||||
\fBsh\fR [\fB\-\-env=std\fR]: Start a Homebrew build environment shell\. Uses our years\-battle\-hardened Homebrew build logic to help your \fB\./configure && make && make install\fR or even your \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
|
||||
If \fB\-\-env=std\fR is passed, use the standard \fBPATH\fR instead of superenv\'s\.
|
||||
.
|
||||
.TP
|
||||
\fBstyle\fR [\fB\-\-fix\fR] [\fB\-\-display\-cop\-names\fR] [\fB\-\-only\-cops=\fR\fIcops\fR|\fB\-\-except\-cops=\fR\fIcops\fR] [\fIfiles\fR|\fItaps\fR|\fIformulae\fR]
|
||||
Check formulae or files for conformance to Homebrew style guidelines\.
|
||||
.IP "\(bu" 4
|
||||
\fBstyle\fR [\fB\-\-fix\fR] [\fB\-\-display\-cop\-names\fR] [\fB\-\-only\-cops=\fR\fIcops\fR|\fB\-\-except\-cops=\fR\fIcops\fR] [\fIfiles\fR|\fItaps\fR|\fIformulae\fR]: Check formulae or files for conformance to Homebrew style guidelines\.
|
||||
.
|
||||
.IP
|
||||
Lists of \fIfiles\fR, \fItaps\fR and \fIformulae\fR may not be combined\. If none are provided, \fBstyle\fR will run style checks on the whole Homebrew library, including core code and all formulae\.
|
||||
@ -457,17 +415,14 @@ Passing \fB\-\-only\-cops=\fR\fIcops\fR will check for violations of only the li
|
||||
.IP
|
||||
Exits with a non\-zero status if any style violations are found\.
|
||||
.
|
||||
.TP
|
||||
\fBswitch\fR \fIformula\fR \fIversion\fR
|
||||
Symlink all of the specific \fIversion\fR of \fIformula\fR\'s install to Homebrew prefix\.
|
||||
.IP "\(bu" 4
|
||||
\fBswitch\fR \fIformula\fR \fIversion\fR: Symlink all of the specific \fIversion\fR of \fIformula\fR\'s install to Homebrew prefix\.
|
||||
.
|
||||
.TP
|
||||
\fBtap\fR
|
||||
List all installed taps\.
|
||||
.IP "\(bu" 4
|
||||
\fBtap\fR: List all installed taps\.
|
||||
.
|
||||
.TP
|
||||
\fBtap\fR [\fB\-\-full\fR] [\fB\-\-force\-auto\-update\fR] \fIuser\fR\fB/\fR\fIrepo\fR [\fIURL\fR]
|
||||
Tap a formula repository\.
|
||||
.IP "\(bu" 4
|
||||
\fBtap\fR [\fB\-\-full\fR] [\fB\-\-force\-auto\-update\fR] \fIuser\fR\fB/\fR\fIrepo\fR [\fIURL\fR]: Tap a formula repository\.
|
||||
.
|
||||
.IP
|
||||
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\.
|
||||
@ -484,28 +439,23 @@ By default, only taps hosted on GitHub are auto\-updated (for performance reason
|
||||
.IP
|
||||
\fBtap\fR is re\-runnable and exits successfully if there\'s nothing to do\. However, retapping with a different \fIURL\fR will cause an exception, so first \fBuntap\fR if you need to modify the \fIURL\fR\.
|
||||
.
|
||||
.TP
|
||||
\fBtap\fR \fB\-\-repair\fR
|
||||
Migrate tapped formulae from symlink\-based to directory\-based structure\.
|
||||
.IP "\(bu" 4
|
||||
\fBtap\fR \fB\-\-repair\fR: Migrate tapped formulae from symlink\-based to directory\-based structure\.
|
||||
.
|
||||
.TP
|
||||
\fBtap\fR \fB\-\-list\-pinned\fR
|
||||
List all pinned taps\.
|
||||
.IP "\(bu" 4
|
||||
\fBtap\fR \fB\-\-list\-pinned\fR: List all pinned taps\.
|
||||
.
|
||||
.TP
|
||||
\fBtap\-info\fR
|
||||
Display a brief summary of all installed taps\.
|
||||
.IP "\(bu" 4
|
||||
\fBtap\-info\fR: Display a brief summary of all installed taps\.
|
||||
.
|
||||
.TP
|
||||
\fBtap\-info\fR (\fB\-\-installed\fR|\fItaps\fR)
|
||||
Display detailed information about one or more \fItaps\fR\.
|
||||
.IP "\(bu" 4
|
||||
\fBtap\-info\fR (\fB\-\-installed\fR|\fItaps\fR): Display detailed information about one or more \fItaps\fR\.
|
||||
.
|
||||
.IP
|
||||
Pass \fB\-\-installed\fR to display information on all installed taps\.
|
||||
.
|
||||
.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\.
|
||||
.IP "\(bu" 4
|
||||
\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
|
||||
Pass \fB\-\-installed\fR to get information on installed taps\.
|
||||
@ -513,17 +463,14 @@ Pass \fB\-\-installed\fR to get information on installed taps\.
|
||||
.IP
|
||||
See the docs for examples of using the JSON output: \fIhttps://docs\.brew\.sh/Querying\-Brew\fR
|
||||
.
|
||||
.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\.
|
||||
.IP "\(bu" 4
|
||||
\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\.
|
||||
.
|
||||
.TP
|
||||
\fBtap\-unpin\fR \fItap\fR
|
||||
Unpin \fItap\fR so its formulae are no longer prioritized\. See also \fBtap\-pin\fR\.
|
||||
.IP "\(bu" 4
|
||||
\fBtap\-unpin\fR \fItap\fR: Unpin \fItap\fR so its formulae are no longer prioritized\. See also \fBtap\-pin\fR\.
|
||||
.
|
||||
.TP
|
||||
\fBuninstall\fR, \fBrm\fR, \fBremove\fR [\fB\-\-force\fR] [\fB\-\-ignore\-dependencies\fR] \fIformula\fR
|
||||
Uninstall \fIformula\fR\.
|
||||
.IP "\(bu" 4
|
||||
\fBuninstall\fR, \fBrm\fR, \fBremove\fR [\fB\-\-force\fR] [\fB\-\-ignore\-dependencies\fR] \fIformula\fR: Uninstall \fIformula\fR\.
|
||||
.
|
||||
.IP
|
||||
If \fB\-\-force\fR (or \fB\-f\fR) is passed, and there are multiple versions of \fIformula\fR installed, delete all installed versions\.
|
||||
@ -531,16 +478,14 @@ If \fB\-\-force\fR (or \fB\-f\fR) is passed, and there are multiple versions of
|
||||
.IP
|
||||
If \fB\-\-ignore\-dependencies\fR is passed, uninstalling won\'t fail, even if formulae depending on \fIformula\fR would still be installed\.
|
||||
.
|
||||
.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 <formula> && <commands> && brew link <formula>\fR
|
||||
.IP "\(bu" 4
|
||||
\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 <formula> && <commands> && brew link <formula>\fR
|
||||
.
|
||||
.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\.
|
||||
.
|
||||
.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 \fIpath\fR instead\.
|
||||
.IP "\(bu" 4
|
||||
\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 \fIpath\fR instead\.
|
||||
.
|
||||
.IP
|
||||
If \fB\-\-patch\fR is passed, patches for \fIformulae\fR will be applied to the unpacked source\.
|
||||
@ -548,17 +493,14 @@ If \fB\-\-patch\fR is passed, patches for \fIformulae\fR will be applied to the
|
||||
.IP
|
||||
If \fB\-\-git\fR (or \fB\-g\fR) is passed, a Git repository will be initialized in the unpacked source\. This is useful for creating patches for the software\.
|
||||
.
|
||||
.TP
|
||||
\fBunpin\fR \fIformulae\fR
|
||||
Unpin \fIformulae\fR, allowing them to be upgraded by \fBbrew upgrade <formulae>\fR\. See also \fBpin\fR\.
|
||||
.IP "\(bu" 4
|
||||
\fBunpin\fR \fIformulae\fR: Unpin \fIformulae\fR, allowing them to be upgraded by \fBbrew upgrade <formulae>\fR\. See also \fBpin\fR\.
|
||||
.
|
||||
.TP
|
||||
\fBuntap\fR \fItap\fR
|
||||
Remove a tapped repository\.
|
||||
.IP "\(bu" 4
|
||||
\fBuntap\fR \fItap\fR: Remove a tapped repository\.
|
||||
.
|
||||
.TP
|
||||
\fBupdate\fR [\fB\-\-merge\fR] [\fB\-\-force\fR]
|
||||
Fetch the newest version of Homebrew and all formulae from GitHub using \fBgit\fR(1) and perform any necessary migrations\.
|
||||
.IP "\(bu" 4
|
||||
\fBupdate\fR [\fB\-\-merge\fR] [\fB\-\-force\fR]: Fetch the newest version of Homebrew and all formulae from GitHub using \fBgit\fR(1) and perform any necessary migrations\.
|
||||
.
|
||||
.IP
|
||||
If \fB\-\-merge\fR is specified then \fBgit merge\fR is used to include updates (rather than \fBgit rebase\fR)\.
|
||||
@ -566,13 +508,11 @@ If \fB\-\-merge\fR is specified then \fBgit merge\fR is used to include updates
|
||||
.IP
|
||||
If \fB\-\-force\fR (or \fB\-f\fR) is specified then always do a slower, full update check even if unnecessary\.
|
||||
.
|
||||
.TP
|
||||
\fBupdate\-reset\fR
|
||||
Fetches and resets Homebrew and all tap repositories using \fBgit\fR(1) to their latest \fBorigin/master\fR\. Note this will destroy all your uncommitted or committed changes\.
|
||||
.IP "\(bu" 4
|
||||
\fBupdate\-reset\fR: Fetches and resets Homebrew and all tap repositories using \fBgit\fR(1) to their latest \fBorigin/master\fR\. Note this will destroy all your uncommitted or committed changes\.
|
||||
.
|
||||
.TP
|
||||
\fBupgrade\fR [\fIinstall\-options\fR] [\fB\-\-cleanup\fR] [\fB\-\-fetch\-HEAD\fR] [\fB\-\-ignore\-pinned\fR] [\fIformulae\fR]
|
||||
Upgrade outdated, unpinned brews (with existing install options)\.
|
||||
.IP "\(bu" 4
|
||||
\fBupgrade\fR [\fIinstall\-options\fR] [\fB\-\-cleanup\fR] [\fB\-\-fetch\-HEAD\fR] [\fB\-\-ignore\-pinned\fR] [\fIformulae\fR]: Upgrade outdated, unpinned brews (with existing install options)\.
|
||||
.
|
||||
.IP
|
||||
Options for the \fBinstall\fR command are also valid here\.
|
||||
@ -589,9 +529,8 @@ If \fB\-\-ignore\-pinned\fR is passed, set a 0 exit code even if pinned formulae
|
||||
.IP
|
||||
If \fIformulae\fR are given, upgrade only the specified brews (unless they are pinned; see \fBpin\fR, \fBunpin\fR)\.
|
||||
.
|
||||
.TP
|
||||
\fBuses\fR [\fB\-\-installed\fR] [\fB\-\-recursive\fR] [\fB\-\-include\-build\fR] [\fB\-\-include\-test\fR] [\fB\-\-include\-optional\fR] [\fB\-\-skip\-recommended\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 "\(bu" 4
|
||||
\fBuses\fR [\fB\-\-installed\fR] [\fB\-\-recursive\fR] [\fB\-\-include\-build\fR] [\fB\-\-include\-test\fR] [\fB\-\-include\-optional\fR] [\fB\-\-skip\-recommended\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
|
||||
Use \fB\-\-recursive\fR to resolve more than one level of dependencies\.
|
||||
@ -605,25 +544,20 @@ By default, \fBuses\fR shows all formulae that specify \fIformulae\fR as a requi
|
||||
.IP
|
||||
By default, \fBuses\fR shows usage of \fIformulae\fR by stable builds\. To find cases where \fIformulae\fR is used by development or HEAD build, pass \fB\-\-devel\fR or \fB\-\-HEAD\fR\.
|
||||
.
|
||||
.TP
|
||||
\fB\-\-cache\fR
|
||||
Display Homebrew\'s download cache\. See also \fBHOMEBREW_CACHE\fR\.
|
||||
.IP "\(bu" 4
|
||||
\fB\-\-cache\fR: Display Homebrew\'s download cache\. See also \fBHOMEBREW_CACHE\fR\.
|
||||
.
|
||||
.TP
|
||||
\fB\-\-cache\fR [\fB\-\-build\-from\-source\fR|\fB\-s\fR] [\fB\-\-force\-bottle\fR] \fIformula\fR
|
||||
Display the file or directory used to cache \fIformula\fR\.
|
||||
.IP "\(bu" 4
|
||||
\fB\-\-cache\fR [\fB\-\-build\-from\-source\fR|\fB\-s\fR] [\fB\-\-force\-bottle\fR] \fIformula\fR: Display the file or directory used to cache \fIformula\fR\.
|
||||
.
|
||||
.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\.
|
||||
.IP "\(bu" 4
|
||||
\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\.
|
||||
.
|
||||
.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\.
|
||||
.IP "\(bu" 4
|
||||
\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\.
|
||||
.
|
||||
.TP
|
||||
\fB\-\-env\fR [\fB\-\-shell=\fR(\fIshell\fR|\fBauto\fR)|\fB\-\-plain\fR]
|
||||
Show a summary of the Homebrew build environment as a plain list\.
|
||||
.IP "\(bu" 4
|
||||
\fB\-\-env\fR [\fB\-\-shell=\fR(\fIshell\fR|\fBauto\fR)|\fB\-\-plain\fR]: Show a summary of the Homebrew build environment as a plain list\.
|
||||
.
|
||||
.IP
|
||||
Pass \fB\-\-shell=\fR\fIshell\fR to generate a list of environment variables for the specified shell, or \fB\-\-shell=auto\fR to detect the current shell\.
|
||||
@ -631,25 +565,22 @@ Pass \fB\-\-shell=\fR\fIshell\fR to generate a list of environment variables for
|
||||
.IP
|
||||
If the command\'s output is sent through a pipe and no shell is specified, the list is formatted for export to \fBbash\fR(1) unless \fB\-\-plain\fR is passed\.
|
||||
.
|
||||
.TP
|
||||
\fB\-\-prefix\fR
|
||||
Display Homebrew\'s install path\. \fIDefault:\fR \fB/usr/local\fR
|
||||
.IP "\(bu" 4
|
||||
\fB\-\-prefix\fR: Display Homebrew\'s install path\. \fIDefault:\fR \fB/usr/local\fR
|
||||
.
|
||||
.TP
|
||||
\fB\-\-prefix\fR \fIformula\fR
|
||||
Display the location in the cellar where \fIformula\fR is or would be installed\.
|
||||
.IP "\(bu" 4
|
||||
\fB\-\-prefix\fR \fIformula\fR: Display the location in the cellar where \fIformula\fR is or would be installed\.
|
||||
.
|
||||
.TP
|
||||
\fB\-\-repository\fR
|
||||
Display where Homebrew\'s \fB\.git\fR directory is located\.
|
||||
.IP "\(bu" 4
|
||||
\fB\-\-repository\fR: Display where Homebrew\'s \fB\.git\fR directory is located\.
|
||||
.
|
||||
.TP
|
||||
\fB\-\-repository\fR \fIuser\fR\fB/\fR\fIrepo\fR
|
||||
Display where tap \fIuser\fR\fB/\fR\fIrepo\fR\'s directory is located\.
|
||||
.IP "\(bu" 4
|
||||
\fB\-\-repository\fR \fIuser\fR\fB/\fR\fIrepo\fR: Display where tap \fIuser\fR\fB/\fR\fIrepo\fR\'s directory is located\.
|
||||
.
|
||||
.TP
|
||||
\fB\-\-version\fR
|
||||
Print the version number of Homebrew to standard output and exit\.
|
||||
.IP "\(bu" 4
|
||||
\fB\-\-version\fR: Print the version number of Homebrew to standard output and exit\.
|
||||
.
|
||||
.IP "" 0
|
||||
.
|
||||
.SH "DEVELOPER COMMANDS"
|
||||
.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user