1

Homebrew seems to install new versions side by side with old versions when upgrading outdated versions (brew upgrade), at least I have a bunch of packages with multiple versions. How do I ensure that old versions are removed and not kept around when upgrading?

Is there support for auto-removal of outdated versions at all?

1 Answer 1

3

brew cleanup is your friend for this. Check out the answer I gave in a related question here.

brew install in and of itself doesn't appear to have options for this. This might be a useful feature so I requested it from the publisher.

4
  • I do know about cleanup; what I was really wondering is if brew can be made to remove outdated versions automatically when upgrading instead.
    – aknuds1
    Commented Sep 21, 2015 at 11:17
  • install in and of itself doesn't appear to have options for this. This might be a useful feature to request.
    – SaxDaddy
    Commented Sep 22, 2015 at 21:07
  • I'd add that to your answer :)
    – aknuds1
    Commented Sep 22, 2015 at 21:43
  • @aknuds1, it appears that this has been implemented! Check out github.com/Homebrew/homebrew/pull/44305.
    – SaxDaddy
    Commented Sep 30, 2015 at 0:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .