Skip to main content
Version: Next

brew CLI reference

ModularPipelines.Homebrew provides strongly typed access to the brew CLI.

Executable prerequisite

This package does not install the brew executable. Install it separately and ensure brew is available on PATH.

Follow the executable's official documentation for installation instructions.

Package installation

dotnet add package ModularPipelines.Homebrew

Resolve the service with context.Tools.Brew. Projects using C# 13 or another .NET language can use context.Tools.Get<ModularPipelines.Homebrew.Services.IBrew>() instead.

Module example

Resolve the service in a module, then select a command from the table below. A runnable example is omitted when no command has complete safety metadata:

var brew = context.Tools.Brew;

Commands

CLI commandOptions record
brew aliasBrewAliasOptions
brew as-console-userBrewAsConsoleUserOptions
brew auditBrewAuditOptions
brew autoremoveBrewAutoremoveOptions
brew benchmarkBrewBenchmarkOptions
brew bottleBrewBottleOptions
brew bumpBrewBumpOptions
brew bump-cask-prBrewBumpCaskPrOptions
brew bump-compatibility-versionBrewBumpCompatibilityVersionOptions
brew bump-formula-prBrewBumpFormulaPrOptions
brew bump-revisionBrewBumpRevisionOptions
brew bump-unversioned-casksBrewBumpUnversionedCasksOptions
brew bundleBrewBundleOptions
brew bundle addBrewBundleAddOptions
brew bundle checkBrewBundleCheckOptions
brew bundle cleanupBrewBundleCleanupOptions
brew bundle dumpBrewBundleDumpOptions
brew bundle editBrewBundleEditOptions
brew bundle envBrewBundleEnvOptions
brew bundle execBrewBundleExecOptions
brew bundle installBrewBundleInstallOptions
brew bundle listBrewBundleListOptions
brew bundle removeBrewBundleRemoveOptions
brew bundle shBrewBundleShOptions
brew catBrewCatOptions
brew cleanupBrewCleanupOptions
brew commandBrewCommandOptions
brew command-not-found-initBrewCommandNotFoundInitOptions
brew completionsBrewCompletionsOptions
brew completions linkBrewCompletionsLinkOptions
brew completions stateBrewCompletionsStateOptions
brew completions unlinkBrewCompletionsUnlinkOptions
brew configBrewConfigOptions
brew contributionsBrewContributionsOptions
brew createBrewCreateOptions
brew debuggerBrewDebuggerOptions
brew depsBrewDepsOptions
brew descBrewDescOptions
brew developerBrewDeveloperOptions
brew developer offBrewDeveloperOffOptions
brew developer onBrewDeveloperOnOptions
brew developer stateBrewDeveloperStateOptions
brew docsBrewDocsOptions
brew doctorBrewDoctorOptions
brew editBrewEditOptions
brew execBrewExecOptions
brew extractBrewExtractOptions
brew fetchBrewFetchOptions
brew find-appcastBrewFindAppcastOptions
brew formulaBrewFormulaOptions
brew generate-cask-tokenBrewGenerateCaskTokenOptions
brew generate-man-completionsBrewGenerateManCompletionsOptions
brew generate-zapBrewGenerateZapOptions
brew gist-logsBrewGistLogsOptions
brew homeBrewHomeOptions
brew infoBrewInfoOptions
brew installBrewInstallOptions
brew install-bundler-gemsBrewInstallBundlerGemsOptions
brew irbBrewIrbOptions
brew leavesBrewLeavesOptions
brew lgtmBrewLgtmOptions
brew linkBrewLinkOptions
brew linkageBrewLinkageOptions
brew listBrewListOptions
brew livecheckBrewLivecheckOptions
brew logBrewLogOptions
brew migrateBrewMigrateOptions
brew missingBrewMissingOptions
brew nodenv-syncBrewNodenvSyncOptions
brew optionsBrewOptionsOptions
brew outdatedBrewOutdatedOptions
brew pinBrewPinOptions
brew postinstallBrewPostinstallOptions
brew profBrewProfOptions
brew pyenv-syncBrewPyenvSyncOptions
brew rbenv-syncBrewRbenvSyncOptions
brew readallBrewReadallOptions
brew reinstallBrewReinstallOptions
brew rubyBrewRubyOptions
brew rubydocBrewRubydocOptions
brew sandbox-execBrewSandboxExecOptions
brew searchBrewSearchOptions
brew servicesBrewServicesOptions
brew services cleanupBrewServicesCleanupOptions
brew services infoBrewServicesInfoOptions
brew services killBrewServicesKillOptions
brew services listBrewServicesListOptions
brew services restartBrewServicesRestartOptions
brew services runBrewServicesRunOptions
brew services startBrewServicesStartOptions
brew services stopBrewServicesStopOptions
brew shBrewShOptions
brew sourceBrewSourceOptions
brew styleBrewStyleOptions
brew tabBrewTabOptions
brew tapBrewTapOptions
brew tap-infoBrewTapInfoOptions
brew tap-newBrewTapNewOptions
brew testBrewTestOptions
brew test-botBrewTestBotOptions
brew testsBrewTestsOptions
brew trustBrewTrustOptions
brew typecheckBrewTypecheckOptions
brew unaliasBrewUnaliasOptions
brew unbottledBrewUnbottledOptions
brew uninstallBrewUninstallOptions
brew unlinkBrewUnlinkOptions
brew unpackBrewUnpackOptions
brew unpinBrewUnpinOptions
brew untapBrewUntapOptions
brew untrustBrewUntrustOptions
brew updateBrewUpdateOptions
brew update-perl-resourcesBrewUpdatePerlResourcesOptions
brew update-python-resourcesBrewUpdatePythonResourcesOptions
brew update-resetBrewUpdateResetOptions
brew update-testBrewUpdateTestOptions
brew upgradeBrewUpgradeOptions
brew usesBrewUsesOptions
brew vendor-gemsBrewVendorGemsOptions
brew verifyBrewVerifyOptions
brew version-installBrewVersionInstallOptions
brew vulnsBrewVulnsOptions
brew which-formulaBrewWhichFormulaOptions
brew which-updateBrewWhichUpdateOptions