Skip to content

Instantly share code, notes, and snippets.

@kdabir
Last active March 3, 2024 21:12
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kdabir/6201840 to your computer and use it in GitHub Desktop.
Save kdabir/6201840 to your computer and use it in GitHub Desktop.
HomeBrew Maintenance (Mac OS X)

HomeBrew Maintenance

  • 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

@ihavenothingbettertodo
Copy link

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

@marianabocoi
Copy link

there is a typo in cleanup :)

@kdabir
Copy link
Author

kdabir commented Jan 19, 2024

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