1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 02:18:01 +01:00
tldr/pages/osx/brew.md

36 lines
737 B
Markdown
Raw Normal View History

2014-02-02 19:35:06 +01:00
# brew
> Package manager for macOS.
2014-02-02 19:35:06 +01:00
- Search for available formulas:
2014-02-02 19:35:06 +01:00
`brew search {{text}}`
- Install the latest stable version of a formula (use `--devel` for development versions):
2014-02-02 19:35:06 +01:00
`brew install {{formula}}`
2017-01-15 06:58:18 +01:00
- List all installed formulae:
2014-02-02 19:35:06 +01:00
2017-01-15 06:58:18 +01:00
`brew list`
2014-02-02 19:35:06 +01:00
- Update an installed formula (if no formula name is given, all installed formulae are updated):
2014-02-02 19:35:06 +01:00
2017-01-15 06:58:18 +01:00
`brew upgrade {{formula}}`
2014-02-02 19:35:06 +01:00
- Fetch the newest version of Homebrew and all formulae from GitHub:
2014-02-02 19:35:06 +01:00
`brew update`
2014-02-03 11:48:48 +01:00
- Show formulae that have a more recent version available:
`brew outdated`
- Display information about a formula (version, installation path, dependencies, etc.):
2017-01-15 06:58:18 +01:00
`brew info {{formula}}`
2017-01-22 20:40:53 +01:00
- Check your Homebrew installation for potential problems:
2017-01-22 20:40:53 +01:00
`brew doctor`