Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

42
brew Normal file
View File

@@ -0,0 +1,42 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# brew
> Homebrew - a package manager for macOS and Linux.
> Some subcommands such as `install` have their own usage documentation.
> More information: <https://docs.brew.sh/Manpage>.
- Install the latest stable version of a formula or cask (use `--devel` for development versions):
`brew install {{formula}}`
- List all installed formulae and casks:
`brew list`
- Upgrade an installed formula or cask (if none is given, all installed formulae/casks are upgraded):
`brew upgrade {{formula}}`
- Fetch the newest version of Homebrew and of all formulae and casks from the Homebrew source repository:
`brew update`
- Show formulae and casks that have a more recent version available:
`brew outdated`
- Search for available formulae (i.e. packages) and casks (i.e. native macOS `.app` packages):
`brew search {{text}}`
- Display information about a formula or a cask (version, installation path, dependencies, etc.):
`brew info {{formula}}`
- Check the local Homebrew installation for potential problems:
`brew doctor`