User Tools

Site Tools


macos:admin:homebrew

This is an old revision of the document!


Table of Contents

Homebrew

Commands

  • add a tap (a kind of “repository”): brew tap <user>/<repo>
  • show all (additional) taps: brew tap
  • show tap information: brew tap-info -v <tap>
  • install formula/cask: brew install [--cask] <formula>
  • remove formula/cask: brew uninstall <formula>
  • remove unused formulas (may be as dry-run): brew autoremove [--dry-run]
  • list installed formula/cask: brew list --versions
  • list formula/cask which are not dependencies: brew leaves
  • show all out-dated formula/cask: brew outdated
  • update Homebrew itself: brew update
  • update all installed formula/cask: brew upgrade [--dry-run]
  • remove old downloads/formula/cask: brew cleanup [--dry-run]
  • check for potential problems: brew doctor
  • show formula/cask information: brew info <formula>
  • show dependencies of formula/cask: brew deps <formula>
  • show all formula/cask depending on formula: brew uses --installed <formula>
  • show Homebrew configuration: brew config
macos/admin/homebrew.1783493852.txt.gz · Last modified: by Ralf Hoppe