Quick tip: MacOS Homebrew Cheatsheet


Homebrew is a open-source package manager for Apple MacOS not to different from the well known linux package manager like dpkg, rpm or the FreeBSD pkg.

Some commands which I need regularly even though not often are composed in the following list.

# search for a homebrew package
$ brew search <expression>

# get the newest version of homebrew package
$ brew update

# Show updated homebrew packages
$ brew outdated

# Upgrade all updated homebrew packages on your system
$ brew upgrade

# uninstall a homebrew package from your system
$ brew uninstall <package>

# remove all unused dependencies. Should be run after calling "brew uninstall"
$ brew upgrade

# show all installed packages with their dependencies in a tree format
$ brew deps --tree --installed 


↑ back to top ↑