mirror of https://github.com/CrimsonTome/tldr.git
32 lines
541 B
Markdown
32 lines
541 B
Markdown
# brew
|
|
|
|
> The Homebrew package manager for Linux.
|
|
|
|
- Search formula:
|
|
|
|
`brew search {{text}}`
|
|
|
|
- Install formula:
|
|
|
|
`brew install {{formula}}`
|
|
|
|
- List all installed formulae:
|
|
|
|
`brew list`
|
|
|
|
- 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}}`
|
|
|
|
- Display information about formula, which contains formula version, installed path, dependencies, etc.:
|
|
|
|
`brew info {{formula}}`
|