Brew Package Manager for Mac

Homebrew, via the command brew, is a package manger for Mac like apt-get is for Debian.
brew installs packages to their own directory /usr/local/Cellar and then symlinks their files into /usr/local/bin.

Basic Usage:
Install brew
/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)”

Update Homebrew
brew update

Install an App
brew install wget

Uninstall an App
brew uninstall wget

Upgrade an App
brew update wget

Remove stale file and outdated downloads
brew cleanup

Analytics:
Recently brew has turned on analytics recording from your device to a google cloud server.  If you wish to disable this you can run
brew analytics off

Or you can enter the following in your environment, .bash_profile
export HOMEBREW_NO_ANALYTICS=1

Links:
https://brew.sh/
https://docs.brew.sh/Analytics

Leave a comment