HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

brew autoremove — Remove unused formulae previously installed as dependencies. More information: <https://docs.brew.sh

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandbrew autoremoveunusedremovecliformulaepreviouslyinstalled

Problem

How to use the brew autoremove command: Remove unused formulae previously installed as dependencies. More information: <https://docs.brew.sh/Manpage#autoremove---dry-run>.

Solution

brew autoremove — Remove unused formulae previously installed as dependencies. More information: <https://docs.brew.sh/Manpage#autoremove---dry-run>.

Remove all unused formulae:
brew autoremove


Print what would be removed, but don't actually remove anything:
brew autoremove {{[-n|--dry-run]}}

Code Snippets

Remove all unused formulae

brew autoremove

Print what would be removed, but don't actually remove anything

brew autoremove {{[-n|--dry-run]}}

Context

tldr-pages: common/brew autoremove

Revisions (0)

No revisions yet.