LinuxCommandLibrary

brew-rm

Remove an installed Homebrew package

TLDR

Remove a formula

$ brew rm [formula]
copy
Remove a cask
$ brew rm --cask [cask]
copy
Force removal of all versions
$ brew rm --force [formula]
copy
Remove with zap (thorough cask removal)
$ brew rm --zap [cask]
copy

SYNOPSIS

brew rm [options] formula|cask [...]

DESCRIPTION

brew rm is an alias for brew uninstall and brew remove. It uninstalls a formula or cask from the system.
All three commands (rm, remove, uninstall) are functionally identical.

PARAMETERS

--cask

Treat all named arguments as casks.
--formula
Treat all named arguments as formulae.
--force -f
Delete all installed versions.
--zap
Remove all files associated with a cask.
--ignore-dependencies
Do not fail uninstall if dependent formulae exist.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community