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.
|
2019-06-03 01:06:36 +01:00
|
|
|
> 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:
|
2018-08-25 11:57:52 +01:00
|
|
|
|
|
|
|
`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:
|
|
|
|
|
2020-10-07 21:13:47 +01:00
|
|
|
`brew list --cask`
|
2017-05-22 14:49:40 +01:00
|
|
|
|
|
|
|
- List installed casks that have newer versions available:
|
|
|
|
|
2020-10-07 21:13:47 +01:00
|
|
|
`brew outdated --cask`
|
2017-05-22 14:49:40 +01:00
|
|
|
|
2019-09-20 19:44:00 +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
|
|
|
|
2020-10-07 21:13:47 +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
|
|
|
|
2018-08-23 20:53:59 +01:00
|
|
|
- Uninstall a cask and remove related settings and files:
|
|
|
|
|
2022-10-18 16:36:23 +01:00
|
|
|
`brew zap --cask {{cask_name}}`
|
2018-08-23 20:53:59 +01:00
|
|
|
|
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}}`
|