1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-15 06:15:43 +02:00

brew.md: Improve explanation (#1243)

This commit is contained in:
Marlowe W 2017-01-15 13:58:18 +08:00 committed by Agniva De Sarker
parent 7a2208f2ec
commit 3ad200b9d0
2 changed files with 14 additions and 6 deletions

View file

@ -10,13 +10,13 @@
`brew install {{formula}}` `brew install {{formula}}`
- List installed formulae [with matching name]: - List all installed formulae:
`brew list {{[text]}}` `brew list`
- Get latest version of installed formula (passing no formula updates all installed formulae): - Get latest version of installed formula (passing no formula updates all installed formulae):
`brew upgrade {{[formula]}}` `brew upgrade {{formula}}`
- Update brew: - Update brew:
@ -25,3 +25,7 @@
- Switch version of formula: - Switch version of formula:
`brew switch {{formula}} {{version}}` `brew switch {{formula}} {{version}}`
- Display information about formula, which contains formula version, installed path, dependencies, etc.:
`brew info {{formula}}`

View file

@ -10,13 +10,13 @@
`brew install {{formula}}` `brew install {{formula}}`
- List installed formulae [with matching name]: - List all installed formulae:
`brew list {{[text]}}` `brew list`
- Get latest version of installed formula (passing no formula updates all installed formulae): - Get latest version of installed formula (passing no formula updates all installed formulae):
`brew upgrade {{[formula]}}` `brew upgrade {{formula}}`
- Update brew: - Update brew:
@ -25,3 +25,7 @@
- Switch version of formula: - Switch version of formula:
`brew switch {{formula}} {{version}}` `brew switch {{formula}} {{version}}`
- Display information about formula, which contains formula version, installed path, dependencies, etc.:
`brew info {{formula}}`