Timeline for How can I remove outdated installed versions of Homebrew packages?
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 18, 2020 at 11:30 | comment | added | alper |
Unless HOMEBREW_NO_INSTALL_CLEANUP is set, brew cleanup will then be run for the upgraded formulae or, every 30 days, for all formulae. // Error: invalid option: --cleanup
|
|
Jan 20, 2019 at 12:02 | comment | added | Katrin Leinweber |
Would it make sense to run cleanup before upgrade ? Would that keep the least-outdated version remains? I'm guessing this could be useful for emergencies or something, while still ensuring that no old stuff accumulates?
|
|
May 3, 2018 at 12:41 | comment | added | MCCCS |
brew upgrade runs brew update before looking for package updates. Thus, brew update is unnecessary.
|
|
Mar 27, 2018 at 22:52 | comment | added | SaxDaddy |
As brew upgrade is a single command to upgrade all packages, it works well for automation. Optionally, you can pin package versions you want to keep and upgrade the rest all at once.
|
|
Mar 24, 2018 at 11:13 | comment | added | Pedro Luz |
I dont advise to use brew upgrade but instead to use brew outdated and then upgrade each one of the packages by brew upgrade PACKAGE that way you have more control
|
|
Jan 31, 2018 at 5:45 | comment | added | Zenexer |
brew upgrade --cleanup will remove old packages as new packages are installed.
|
|
Oct 5, 2016 at 22:13 | history | edited | SaxDaddy | CC BY-SA 3.0 |
added 330 characters in body
|
Aug 9, 2016 at 14:13 | history | edited | SaxDaddy | CC BY-SA 3.0 |
added 1530 characters in body
|
Jul 16, 2016 at 6:22 | history | edited | SaxDaddy | CC BY-SA 3.0 |
updated to remove brew cask commands
|
Jul 12, 2016 at 15:28 | comment | added | SaxDaddy | @Lantrix Thanks for that update. I've edited my answer to reflect this change. | |
Jul 12, 2016 at 15:27 | history | edited | SaxDaddy | CC BY-SA 3.0 |
deleted 24 characters in body
|
Jul 12, 2016 at 6:20 | comment | added | Lantrix |
You don't need to do brew upgrade brew-cask anymore as since this pull request brew update will also now upgrade homebrew-cask automatically.
|
|
Sep 21, 2015 at 7:44 | history | answered | SaxDaddy | CC BY-SA 3.0 |