mirror of https://github.com/CrimsonTome/tldr.git
28 lines
419 B
Markdown
28 lines
419 B
Markdown
# brew
|
|
|
|
> Package manager for OS X
|
|
|
|
- Search formula
|
|
|
|
`brew search {{text}}`
|
|
|
|
- Install formula
|
|
|
|
`brew install {{formula}}`
|
|
|
|
- List installed formulae [with matching name]
|
|
|
|
`brew list {{[text]}}`
|
|
|
|
- Get latest version of installed formula (passing no formula updates all installed formulae)
|
|
|
|
`brew upgrade {{[formula]}}`
|
|
|
|
- Update brew
|
|
|
|
`brew update`
|
|
|
|
- Switch version of formula
|
|
|
|
`brew switch {{formula}} {{version}}`
|