Homebrew/homebrew-cask
GitHub: Homebrew/homebrew-cask
Homebrew Cask 扩展了 Homebrew 的能力,使用户能够通过命令行安装和管理 macOS GUI 应用程序,告别手动拖拽安装的繁琐流程。
Stars: 21854 | Forks: 11345
# Homebrew Cask
_“从此告别‘拖动图标进行安装’!”_
Homebrew Cask 扩展了 [Homebrew](https://brew.sh),将其优雅、简洁和快速的特性带入到了 GUI macOS 应用程序(如 Visual Studio Code 和 Google Chrome)的安装与管理中。
我们通过为以二进制文件分发的 macOS 应用程序提供友好的 CLI 工作流来实现这一点。
[](https://github.com/orgs/Homebrew/discussions/categories/casks)
## 让我们试一试!
要开始使用 Homebrew Cask,您只需安装 [Homebrew](https://brew.sh)。
稍慢一点,现在开始:
```
$ brew install alfred
==> Downloading https://cachefly.alfredapp.com/Alfred_4.2.1_1187.dmg
######################################################################## 100.0%
==> Verifying SHA-256 checksum for Cask 'alfred'.
==> Installing Cask alfred
==> Moving App 'Alfred 4.app' to '/Applications/Alfred 4.app'.
🍺 alfred was successfully installed!
```
这就完成了。只需一个快速命令即可安装应用程序:无需点击,无需拖拽,无需放置。
## 了解更多
* 在 [USAGE.md](USAGE.md) 中查找有关使用 Homebrew Cask 的基础文档。
* 想要贡献一个 cask?太棒了!请参阅 [CONTRIBUTING.md](CONTRIBUTING.md)。
* 更多与项目相关的详细信息和讨论可在 [文档](https://docs.brew.sh/Adding-Software-to-Homebrew#casks) 中找到。
## 报告 Bug
[**如果您忽略本指南,您的 Issue 可能会在未经审查的情况下被关闭**](doc/faq/closing_issues_without_review.md)
在报告 Bug 之前,请运行 `brew update-reset && brew update` 并再次尝试您的命令。这是一个能重置所有 tap 状态的万能修复方法,可确保问题不是由您本地的设置过时引起的。
如果您的问题仍然存在,请在提交新 Issue 之前先[搜索一下](https://github.com/Homebrew/homebrew-cask/search?type=Issues)。如果您发现了一个开放的 Issue 并且有任何新信息,请在评论中添加。如果您发现了一个已关闭的 Issue,请尝试其中的解决方案。
如果问题仍未解决,请查阅常见问题指南:
* [常见错误示例及其解决方案](doc/reporting_bugs/error_examples.md)
* [`curl` 错误](doc/reporting_bugs/error_examples.md#curl-error)
* [`Permission denied` 错误](doc/reporting_bugs/error_examples.md#permission-denied-error)
* [`Checksum does not match` 错误](doc/reporting_bugs/error_examples.md#checksum-does-not-match-error)
* [`source is not there` 错误](doc/reporting_bugs/error_examples.md#source-is-not-there-error)
* [`wrong number of arguments` 错误](doc/reporting_bugs/error_examples.md#wrong-number-of-arguments-error)
* [应用未包含在 `upgrade` 中](https://docs.brew.sh/FAQ#why-arent-some-apps-included-during-brew-upgrade)
* [无法打开应用,因为它来自身份不明的开发者](https://docs.brew.sh/FAQ#why-cant-i-open-a-mac-app-from-an-unidentified-developer)
* [我的问题未列出](https://github.com/Homebrew/homebrew-cask/issues/new?template=01_bug_report.yml)
## 请求
* 请求新 cask 的 Issue 将被关闭。如果您希望将 cask 添加到主仓库,请[提交 pull request](https://github.com/Homebrew/homebrew-cask/blob/HEAD/CONTRIBUTING.md#adding-a-cask)。
* 如需功能请求,请[使用此模板](https://github.com/Homebrew/brew/issues/new?assignees=&labels=features&projects=&template=feature.yml)。
## 有问题?想聊聊?
我们非常友好!以下是讨论该项目的最佳场所:
* [打开一个 Issue](https://github.com/Homebrew/homebrew-cask/issues/new/choose)。
* 加入我们的 [GitHub discussions (论坛)](https://github.com/orgs/Homebrew/discussions/categories/casks)。
## 许可证
代码采用 [BSD 2 Clause (NetBSD) 许可证](LICENSE)。
稍慢一点,现在开始:
```
$ brew install alfred
==> Downloading https://cachefly.alfredapp.com/Alfred_4.2.1_1187.dmg
######################################################################## 100.0%
==> Verifying SHA-256 checksum for Cask 'alfred'.
==> Installing Cask alfred
==> Moving App 'Alfred 4.app' to '/Applications/Alfred 4.app'.
🍺 alfred was successfully installed!
```
这就完成了。只需一个快速命令即可安装应用程序:无需点击,无需拖拽,无需放置。
## 了解更多
* 在 [USAGE.md](USAGE.md) 中查找有关使用 Homebrew Cask 的基础文档。
* 想要贡献一个 cask?太棒了!请参阅 [CONTRIBUTING.md](CONTRIBUTING.md)。
* 更多与项目相关的详细信息和讨论可在 [文档](https://docs.brew.sh/Adding-Software-to-Homebrew#casks) 中找到。
## 报告 Bug
[**如果您忽略本指南,您的 Issue 可能会在未经审查的情况下被关闭**](doc/faq/closing_issues_without_review.md)
在报告 Bug 之前,请运行 `brew update-reset && brew update` 并再次尝试您的命令。这是一个能重置所有 tap 状态的万能修复方法,可确保问题不是由您本地的设置过时引起的。
如果您的问题仍然存在,请在提交新 Issue 之前先[搜索一下](https://github.com/Homebrew/homebrew-cask/search?type=Issues)。如果您发现了一个开放的 Issue 并且有任何新信息,请在评论中添加。如果您发现了一个已关闭的 Issue,请尝试其中的解决方案。
如果问题仍未解决,请查阅常见问题指南:
* [常见错误示例及其解决方案](doc/reporting_bugs/error_examples.md)
* [`curl` 错误](doc/reporting_bugs/error_examples.md#curl-error)
* [`Permission denied` 错误](doc/reporting_bugs/error_examples.md#permission-denied-error)
* [`Checksum does not match` 错误](doc/reporting_bugs/error_examples.md#checksum-does-not-match-error)
* [`source is not there` 错误](doc/reporting_bugs/error_examples.md#source-is-not-there-error)
* [`wrong number of arguments` 错误](doc/reporting_bugs/error_examples.md#wrong-number-of-arguments-error)
* [应用未包含在 `upgrade` 中](https://docs.brew.sh/FAQ#why-arent-some-apps-included-during-brew-upgrade)
* [无法打开应用,因为它来自身份不明的开发者](https://docs.brew.sh/FAQ#why-cant-i-open-a-mac-app-from-an-unidentified-developer)
* [我的问题未列出](https://github.com/Homebrew/homebrew-cask/issues/new?template=01_bug_report.yml)
## 请求
* 请求新 cask 的 Issue 将被关闭。如果您希望将 cask 添加到主仓库,请[提交 pull request](https://github.com/Homebrew/homebrew-cask/blob/HEAD/CONTRIBUTING.md#adding-a-cask)。
* 如需功能请求,请[使用此模板](https://github.com/Homebrew/brew/issues/new?assignees=&labels=features&projects=&template=feature.yml)。
## 有问题?想聊聊?
我们非常友好!以下是讨论该项目的最佳场所:
* [打开一个 Issue](https://github.com/Homebrew/homebrew-cask/issues/new/choose)。
* 加入我们的 [GitHub discussions (论坛)](https://github.com/orgs/Homebrew/discussions/categories/casks)。
## 许可证
代码采用 [BSD 2 Clause (NetBSD) 许可证](LICENSE)。标签:Awesome, Cutter, Desktop Application, DNS解析, GUI应用管理, Homebrew, Package Manager, SOC Prime, 二进制分发, 开发工具, 开源项目, 效率工具, 数据集, 特权提升, 系统管理, 网络信息收集, 自动化部署, 软件包管理, 软件安装器, 运维工具