tldr/pages/common/brew-cask.md

38 lines
878 B
Markdown
Raw Normal View History

2022-10-18 16:36:23 +01:00
# brew --cask
2017-05-22 14:49:40 +01:00
2022-10-18 16:36:23 +01:00
> CLI workflow for the administration of macOS applications distributed as binaries.
> This command was previously called `brew cask`, it has been deprecated in favor of the `brew --cask` flag.
> More information: <https://github.com/Homebrew/homebrew-cask>.
2017-05-22 14:49:40 +01:00
2018-08-25 11:59:15 +01:00
- Search for formulas and casks:
`brew search {{text}}`
2017-05-22 14:49:40 +01:00
- Install a cask:
2022-10-18 16:36:23 +01:00
`brew install --cask {{cask_name}}`
2017-05-22 14:49:40 +01:00
- List all installed casks:
`brew list --cask`
2017-05-22 14:49:40 +01:00
- List installed casks that have newer versions available:
`brew outdated --cask`
2017-05-22 14:49:40 +01:00
- Upgrade an installed cask (if no cask name is given, all installed casks are upgraded):
2017-05-22 14:49:40 +01:00
`brew upgrade --cask {{cask_name}}`
2017-05-22 14:49:40 +01:00
- Uninstall a cask:
2022-10-18 16:36:23 +01:00
`brew uninstall --cask {{cask_name}}`
2017-05-22 14:49:40 +01:00
- Uninstall a cask and remove related settings and files:
2022-10-18 16:36:23 +01:00
`brew zap --cask {{cask_name}}`
2017-05-22 14:49:40 +01:00
- Display information about a given cask:
2022-10-18 16:36:23 +01:00
`brew info --cask {{cask_name}}`