brew-remove
Remove an installed Homebrew package
TLDR
Remove a formula
$ brew remove [formula]
Remove a cask$ brew remove --cask [cask]
Remove all files associated with a cask including preferences and caches$ brew remove --zap [cask]
Force removal even if other formulae depend on it$ brew remove --force [formula]
Remove and ignore dependencies$ brew remove --ignore-dependencies [formula]
SYNOPSIS
brew remove [options] formula|cask [...]
DESCRIPTION
brew remove uninstalls a formula or cask. This is an alias for brew uninstall. It removes the installed files but by default preserves configuration files and does not remove dependencies.For casks, use --zap to perform a more thorough removal including application preferences and caches.
PARAMETERS
--cask
Treat all named arguments as casks.--formula
Treat all named arguments as formulae.--force, -f
Delete all installed versions of a formula. For casks, uninstall even if not installed, overwrite existing files, and ignore errors.--zap
Remove all files associated with a cask. May remove files which are shared between applications.--ignore-dependencies
Do not fail uninstall if dependent formulae exist.
CAVEATS
Removing a formula that other formulae depend on will fail unless --ignore-dependencies is used. The --zap option for casks may remove user data.
SEE ALSO
brew(1), brew-uninstall(1), brew-rm(1), brew-autoremove(1), brew-cleanup(1)
