2017-01-07 17:40:50 +00:00
|
|
|
# brew
|
|
|
|
|
|
|
|
> The Homebrew package manager for Linux.
|
|
|
|
|
|
|
|
- Search formula:
|
|
|
|
|
|
|
|
`brew search {{text}}`
|
|
|
|
|
|
|
|
- Install formula:
|
|
|
|
|
|
|
|
`brew install {{formula}}`
|
|
|
|
|
2017-01-15 05:58:18 +00:00
|
|
|
- List all installed formulae:
|
2017-01-07 17:40:50 +00:00
|
|
|
|
2017-01-15 05:58:18 +00:00
|
|
|
`brew list`
|
2017-01-07 17:40:50 +00:00
|
|
|
|
|
|
|
- Get latest version of installed formula (passing no formula updates all installed formulae):
|
|
|
|
|
2017-01-15 05:58:18 +00:00
|
|
|
`brew upgrade {{formula}}`
|
2017-01-07 17:40:50 +00:00
|
|
|
|
|
|
|
- Update brew:
|
|
|
|
|
|
|
|
`brew update`
|
|
|
|
|
2017-01-15 05:58:18 +00:00
|
|
|
- Display information about formula, which contains formula version, installed path, dependencies, etc.:
|
|
|
|
|
|
|
|
`brew info {{formula}}`
|
2017-01-23 16:43:15 +00:00
|
|
|
|
|
|
|
- Check your system for potential problems:
|
|
|
|
|
|
|
|
`brew doctor`
|