Skip to content
This repository has been archived by the owner on Feb 15, 2021. It is now read-only.

Latest commit

 

History

History
35 lines (23 loc) · 974 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 974 Bytes

DEPRECATED

This repository is now archived, since the command with the same name and functionality if now distributed with Homebrew by default.

brew autoremove

This repository provides a command for Homebrew to list and remove all formulae that were installed as dependencies at some point and are not needed anymore.

Usage

brew autoremove

It will show you the list of formuale to be removed and ask for confirmation.

Options:

  • -f|--force - do not ask for confirmation before running brew rm
  • -l|--list - do not remove anything, just print the list of formulae that are not depended on anymore.

If you see some formula in the output that you'd like to keep, run brew install on it and then re-run brew autoremove. brew install will tell you that the formula is already installed, but still update the metadata to state that you requested it to be installed.

Installing

brew tap gelraen/autoremove