Options (2)
-s, --build-from-sourcebooleanBuild and install a formula from source (dependencies will still be installed from bottles)
Example:
brew install {{[-s|--build-from-source]}} {{formula}}-n, --dry-runbooleanDownload the manifest, print what would be installed but don't actually install anything
Example:
brew install {{[-n|--dry-run]}} {{formula|cask}}Examples (3)
Install a formula/cask
brew install formula|caskBuild and install a formula from source (dependencies will still be installed from bottles)
brew install [-s|--build-from-source] formulaDownload the manifest, print what would be installed but don't actually install anything
brew install [-n|--dry-run] formula|caskmade by @shridhargupta | data from tldr-pages