Install a Homebrew formula or cask. More information: https://docs.brew.sh/Manpage#install-options-formulacask-.
brew install formula|cask
brew install --build-from-source formula
brew install --dry-run formula|cask