2017-01-07 17:40:50 +00:00
|
|
|
# brew
|
|
|
|
|
|
|
|
> The Homebrew package manager for Linux.
|
|
|
|
|
2017-05-24 21:31:16 +01:00
|
|
|
- Search for available formulas:
|
2017-01-07 17:40:50 +00:00
|
|
|
|
|
|
|
`brew search {{text}}`
|
|
|
|
|
2017-05-24 21:31:16 +01:00
|
|
|
- Install the latest stable version of a formula (use `--devel` for development versions):
|
2017-01-07 17:40:50 +00:00
|
|
|
|
|
|
|
`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
|
|
|
|
2019-01-07 23:40:50 +00:00
|
|
|
- Upgrade an installed formula (if no formula name is given, all installed formulae are upgraded):
|
2017-01-07 17:40:50 +00:00
|
|
|
|
2017-01-15 05:58:18 +00:00
|
|
|
`brew upgrade {{formula}}`
|
2017-01-07 17:40:50 +00:00
|
|
|
|
2019-01-07 23:40:50 +00:00
|
|
|
- Fetch the newest version of Linuxbrew and of all formulae from GitHub:
|
2017-01-07 17:40:50 +00:00
|
|
|
|
|
|
|
`brew update`
|
|
|
|
|
2017-09-16 16:55:11 +01:00
|
|
|
- Show formulae that have a more recent version available:
|
2017-08-23 10:05:50 +01:00
|
|
|
|
|
|
|
`brew outdated`
|
|
|
|
|
2017-05-24 21:31:16 +01:00
|
|
|
- Display information about a formula (version, installation path, dependencies, etc.):
|
2017-01-15 05:58:18 +00:00
|
|
|
|
|
|
|
`brew info {{formula}}`
|
2017-01-23 16:43:15 +00:00
|
|
|
|
2019-01-07 23:40:50 +00:00
|
|
|
- Check the local Linuxbrew installation for potential problems:
|
2017-01-23 16:43:15 +00:00
|
|
|
|
|
|
|
`brew doctor`
|