HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

brew install — Install a Homebrew formula or cask. More information: <https://docs.brew.sh/Manpage#install-options-

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandbrew installcaskinstallformulaclimorehomebrew

Problem

How to use the brew install command: Install a Homebrew formula or cask. More information: <https://docs.brew.sh/Manpage#install-options-formulacask->.

Solution

brew install — Install a Homebrew formula or cask. More information: <https://docs.brew.sh/Manpage#install-options-formulacask->.

Install a formula/cask:
brew install {{formula|cask}}


Build and install a formula from source (dependencies will still be installed from bottles):
brew install {{[-s|--build-from-source]}} {{formula}}


Download the manifest, print what would be installed but don't actually install anything:
brew install {{[-n|--dry-run]}} {{formula|cask}}

Code Snippets

Install a formula/cask

brew install {{formula|cask}}

Build and install a formula from source (dependencies will still be installed from bottles)

brew install {{[-s|--build-from-source]}} {{formula}}

Download the manifest, print what would be installed but don't actually install anything

brew install {{[-n|--dry-run]}} {{formula|cask}}

Context

tldr-pages: common/brew install

Revisions (0)

No revisions yet.