10 | Command | Description |
12 | `brew install git` | Install a package |
13 | `brew uninstall git` | Remove/Uninstall a package |
14 | `brew upgrade git` | Upgrade a package |
16 | `brew unlink git` | Unlink |
17 | `brew link git` | Link |
18 | `brew switch git 2.5.0` | Change versions |
20 | `brew list --versions git` | See what versions you have |
22 ### More package commands
24 | Command | Description |
26 | `brew info git` | List versions, caveats, etc |
27 | `brew cleanup git` | Remove old versions |
28 | `brew edit git` | Edit this formula |
29 | `brew cat git` | Print this formula |
30 | `brew home git` | Open homepage |
31 | `brew search git` | Search for formulas |
35 | Command | Description |
37 | `brew update` | Update brew and cask |
38 | `brew upgrade` | Upgrade all packages |
39 | `brew list` | List installed |
40 | `brew outdated` | What's due for upgrades? |
41 | `brew doctor` | Diagnose brew issues |
43 ### Brew Cask commands
45 | Command | Description |
47 | `brew cask install firefox` | Install the Firefox browser |
48 | `brew cask list` | List installed applications |
50 Cask commands are used for interacting with graphical applications.
55 * [Homebrew homepage](https://brew.sh/) _brew.sh_
56 * [Homebrew docs](https://docs.brew.sh) _docs.brew.sh_