mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
586 B
Plaintext
22 lines
586 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|