tldr/pages/linux/brew.md

36 lines
762 B
Markdown
Raw Normal View History

# brew
> The Homebrew package manager for Linux.
- Search for available formulas:
`brew search {{text}}`
- Install the latest stable version of a formula (use `--devel` for development versions):
`brew install {{formula}}`
2017-01-15 05:58:18 +00:00
- List all installed formulae:
2017-01-15 05:58:18 +00:00
`brew list`
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-15 05:58:18 +00:00
`brew upgrade {{formula}}`
2019-01-07 23:40:50 +00:00
- Fetch the newest version of Linuxbrew and of all formulae from GitHub:
`brew update`
- Show formulae that have a more recent version available:
`brew outdated`
- 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`