Homebrew
From wikinotes
A Community-driven package manager for osx.
See also macports .
NOTE:
brew aims to reuse macos-provided libraries, instead of installing own copies. This can cause problems in updates
Documentation
official docs https://docs.brew.sh/
Install
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Usage
General
brew install caskroom/cask/brew-cask # brew install <package> # brew reinstall <package> # force reinstall brew uninstall <package> # list installed packages brew list brew cask list # brew update # update brew index brew upgrade # upgrade installed packagesLinking/Unlinking
Packages can be linked/unlinked from the
/usr/local
prefix.brew link mysql-client brew link --force mysql-client # force link brew-kegs (bundled with deps) brew unlink mysql-client