Skip to content

Using brew update, brew upgrade, and brew cleanup when installing, uninstalling and updating packages #5146

Closed Answered by SMillerDev
jsx97 asked this question in Getting started
Discussion options

You must be logged in to vote

Is it really so?

Not really, a couple of notes:

it is best to use brew update, brew upgrade and brew cleanup as often as possible.

This, for the most part, is true. Homebrew works best when it is updated often. Personally I run brew upgrade once a day or so to make sure I have all the latest updates of software for security and possibly new features.
The brew cleanup isn't needed as often but it won't hurt to run to clean up some old files. The brew update is already run by brew upgrade in modern brew, so that one is redundant.

... the most safe and clean way to uninstall a package is

This one passes --ignore-dependencies which you probably don't want to do, since it will ignore any…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by jsx97
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@jsx97
Comment options

@SMillerDev
Comment options

@jsx97
Comment options

@gromgit
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants