1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/brew-cask.md

38 lines
878 B
Markdown
Raw Normal View History

2022-10-18 21:06:23 +05:30
# brew --cask
2017-05-22 14:49:40 +01:00
2022-10-18 21:06:23 +05:30
> 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 12:59:15 +02:00
- Search for formulas and casks:
`brew search {{text}}`
2017-05-22 14:49:40 +01:00
- Install a cask:
2022-10-18 21:06:23 +05:30
`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 21:06:23 +05:30
`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 21:06:23 +05:30
`brew zap --cask {{cask_name}}`
2017-05-22 14:49:40 +01:00
- Display information about a given cask:
2022-10-18 21:06:23 +05:30
`brew info --cask {{cask_name}}`