Global Commands
Command | Description |
---|---|
brew update | update brew and cask |
brew list | list installed |
brew outdated | list formula for which a newer version is available |
brew doctor | check your system for potential problems |
Common Commands
Command | Description |
---|---|
brew install [Formula] | install a formula |
brew upgrade [Formula] | upgrade a formula |
brew uninstall [Formula] | uninstall the formula |
brew link [Formula] | link the formula |
brew unlink [Formula] | unlik the formula |
brew switch [Formula] [version] | change versions |
brew list --versions [Formula] | list versions the formula have |
brew info [Formula] | list the formula information |
brew cleanup [Formula] | remove old versions |
brew edit [Formula] | edit the Formula |
brew home [Formula] | open formula homepage |
brew search [Text/Regex] | search formula, support text and regex |