2019-02-26 03:07:39 +00:00
|
|
|
# brew cask
|
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
> macOS 上的应用程序包管理工具。
|
2019-02-26 03:07:39 +00:00
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
- 模糊搜索可用命令行工具和软件包:
|
2019-02-26 03:07:39 +00:00
|
|
|
|
|
|
|
`brew search {{软件名}}`
|
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
- 安装一个软件:
|
2019-02-26 03:07:39 +00:00
|
|
|
|
|
|
|
`brew cask install {{软件名}}`
|
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
- 列出全部已安装软件:
|
2019-02-26 03:07:39 +00:00
|
|
|
|
|
|
|
`brew cask list`
|
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
- 列出全部已安装的软件中,可以升级的:
|
2019-02-26 03:07:39 +00:00
|
|
|
|
|
|
|
`brew cask outdated`
|
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
- 将一个已安装的软件升级到最新的版本:
|
2019-02-26 03:07:39 +00:00
|
|
|
|
|
|
|
`brew cask upgrade {{软件名}}`
|
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
- 删除一个软件(仅通过 brew cask install 方式安装的):
|
2019-02-26 03:07:39 +00:00
|
|
|
|
|
|
|
`brew cask uninstall {{软件名}}`
|
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
- 卸载一个软件并删除相关的设置和文件:
|
2019-02-26 03:07:39 +00:00
|
|
|
|
|
|
|
`brew cask zap {{软件名}}`
|
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
- 显示指定软件的相关信息:
|
2019-02-26 03:07:39 +00:00
|
|
|
|
|
|
|
`brew cask info {{软件名}}`
|