LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

brew-uninstall

Remove an installed Homebrew package

TLDR

Uninstall a formula
$ brew uninstall [formula]
copy
Uninstall a cask
$ brew uninstall --cask [cask]
copy
Force remove all versions
$ brew uninstall --force [formula]
copy
Uninstall ignoring dependencies
$ brew uninstall --ignore-dependencies [formula]
copy
Remove with zapping additional files
$ brew uninstall --zap [cask]
copy

SYNOPSIS

brew uninstall [options] formula|cask ...

DESCRIPTION

brew uninstall removes an installed formula or cask. It checks Homebrew's database to locate the package and removes it along with associated files.Aliases: brew remove, brew rm

PARAMETERS

--force, -f

Force removal, delete all versions of the formula
--ignore-dependencies
Don't fail even if formula is a dependency of other packages
--formula
Treat all arguments as formulae
--cask
Treat all arguments as casks
--zap
Remove all files associated with cask (including preferences)

RELATED COMMANDS

brew autoremove

Remove unused dependencies after uninstall
brew deps formula
Check dependencies before uninstalling
brew uses formula
Check what depends on a formula

CLEANUP

After uninstalling, run brew autoremove to remove dependencies that are no longer needed by any installed package.

CAVEATS

Cannot uninstall packages not managed by Homebrew. Use --force carefully as it removes all versions. Check dependencies with brew uses before removing to avoid breaking other packages.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid