Brew
Homebrew is the easiest and most flexible way to install the UNIX tools Apple didn’t include with macOS. It can also install software not packaged for your Linux distribution to your home directory without requiring sudo.
Installation
Section titled “Installation”/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"brew search TEXT|/REGEX/
brew info [FORMULA|CASK...]
brew install FORMULA|CASK...
brew update
brew upgrade [FORMULA|CASK...]
brew uninstall FORMULA|CASK...
brew list [FORMULA|CASK...]Troubleshooting:
brew config
brew doctor
brew install --verbose --debug FORMULA|CASK
Further help:
brew commands
brew help [COMMAND]
man brew
https://docs.brew.shExamples
Section titled “Examples”Install formula
Section titled “Install formula”brew install [FORMULA]Uninstall formula
Section titled “Uninstall formula”brew uninstall [FORMULA]Fetch latest version of homebrew and formula
Section titled “Fetch latest version of homebrew and formula”brew updateUpgrade all outdated and unpinned brews
Section titled “Upgrade all outdated and unpinned brews”brew upgradeList installed formulas
Section titled “List installed formulas”brew listSearch formulas
Section titled “Search formulas”brew search [text|/text/]Change analytic settings
Section titled “Change analytic settings”crypt0rr@mba ~ % brew analytics
Analytics are enabled.
UUID: [REDACTED]Disable analytics
brew analytics off crypt0rr@mba ~ % brew analytics
Analytics are disabled.