2023-11-04 15:12:07 +01:00
|
|
|
# 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):
|
|
|
|
|
2025-07-23 19:09:10 +03:00
|
|
|
`brew install {{[-s|--build-from-source]}} {{formula}}`
|
2023-11-04 15:12:07 +01:00
|
|
|
|
|
|
|
- Download the manifest, print what would be installed but don't actually install anything:
|
|
|
|
|
2025-07-23 19:09:10 +03:00
|
|
|
`brew install {{[-n|--dry-run]}} {{formula|cask}}`
|