Skip to main content

Prune homebrew dependencies

TIL you can use brew autoremove to prune unused dependencies installed by Homebrew.

sh
# dry run to preview what will be removed
brew autoremove --dry-run

# removes the unused dependencies
brew autoremove