-
To list all the software/lib installed by brew
$ brew list
-
to update an app
$ brew upgrade appname
-
to see issues
$ brew doctor
-
to update brew
$ brew update
-
list outdated software/lib
$ brew outdated
-
update all the outdated software/lib
$ brew upgrade
-
to cleanup
$ brew cleanup
Last active
July 27, 2024 20:19
-
-
Save kdabir/6201840 to your computer and use it in GitHub Desktop.
HomeBrew Maintenance (Mac OS X)
to update an app
$ brew update appname
fix the error by revising to $ brew upgrade appname
ref: https://docs.brew.sh/FAQ#how-do-i-update-my-local-packages
there is a typo in cleanup :)
thanks @ihavenothingbettertodo and @marianabocoi, have updated the gist :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I use this one-line command:
brew update && brew upgrade && brew doctor && brew cleanup
it update formulae, upgrade reps, check for issues & fix em if possible.