All apps/Homebrew

Homebrew

homebrew

The missing package manager for macOS and Linux.

Runs as brew|macOS, Linux|brew.sh

Command form

ai-draft · 6 tasks · 19 fields

Install, upgrade, uninstall and search formulae and casks. Taps, services, cleanup and developer commands are left out, as are cask directory options.

Opens the form; the finished command lands at your prompt, unrun
otty gui homebrew

brew install

Install formulae or casks
Install formulae or casksExample values, fixed in this page — nothing here reaches a terminal
Basic
Formulae or casks*
string
Formulae only
--formula
Verbose
--verbose
TasksEach one presets the form for one job
Install a formula
namesformulaverbose
Install a cask
namescaskverbose
ParametersOnly these flags are editable in the form
Formulae or casks
One or more names to install.
string · positional 0 · repeatable
Formulae only
Treat all named arguments as formulae.
boolean
--formula
Casks only
Treat all named arguments as casks.
boolean
--cask
Build from source
Compile from source even if a bottle is provided.
boolean
--build-from-source-s
Install HEAD
Install the HEAD version if the formula defines it.
boolean
--HEAD
Only dependencies
Install the dependencies but not the formula itself.
boolean
--only-dependencies
Force
Install without checking for previously installed keg-only or non-migrated versions; for casks, overwrite existing files.
boolean
--force-f
Verbose
Print the verification and postinstall steps.
boolean
--verbose-v

brew upgrade

Upgrade outdated packages

Leave names empty to upgrade everything that is outdated.

Upgrade outdated packagesExample values, fixed in this page — nothing here reaches a terminal
Basic
Formulae or casks
string
Formulae only
--formula
Casks only
--cask
Advanced
Include auto-updating casks
--greedy
TasksEach one presets the form for one job
Preview upgrades
namesformulacaskgreedy
Upgrade everything
namesformulacaskgreedydry_run
ParametersOnly these flags are editable in the form
Formulae or casks
Names to upgrade; empty upgrades all outdated.
string · positional 0 · repeatable
Dry run
Show what would be upgraded without upgrading.
boolean
--dry-run-n
Formulae only
Treat all named arguments as formulae.
boolean
--formula--formulae
Casks only
Treat all named arguments as casks.
boolean
--cask--casks
Include auto-updating casks
Also include casks with auto_updates true or version :latest.
boolean
--greedy
Verbose
Print the verification and postinstall steps.
boolean
--verbose-v

brew uninstall

Uninstall a formula or cask
Uninstall a formula or caskExample values, fixed in this page — nothing here reaches a terminal
Basic
Formulae or casks*
string
TasksEach one presets the form for one job
Uninstall
names
ParametersOnly these flags are editable in the form
Formulae or casks
One or more installed names to remove.
string · positional 0 · repeatable

brew search

Search formulae and casks
Search formulae and casksExample values, fixed in this page — nothing here reaches a terminal
Basic
Search text*
string
Formulae only
--formula
Casks only
--cask
Search descriptions
--desc
TasksEach one presets the form for one job
Search
textformulacaskdesc
ParametersOnly these flags are editable in the form
Search text
Substring or /regex/ to look for.
string · positional 0
Formulae only
Search online and locally for formulae.
boolean
--formula
Casks only
Search online and locally for casks.
boolean
--cask
Search descriptions
Match descriptions of formulae and names of casks.
boolean
--desc
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed brew against its version. A form that does not match your version is not offered.