homebrew-cask README

The project's README from github.com/Homebrew/homebrew-cask. As one markdown file: README.md.

Homebrew Cask

“To install, drag this icon…” no more!

Homebrew Cask extends Homebrew and brings its elegance, simplicity, and speed to the installation and management of prebuilt software artifacts distributed by upstream vendors, including GUI applications, CLI tools, fonts, plugins, and other packaged software.

We do this by providing a friendly CLI workflow for the administration of these artifacts on macOS and Linux.

Join us on GitHub discussions

Let’s try it!

To start using Homebrew Cask, you just need Homebrew installed.

Installing and uninstalling Alfred (animated gif)

Slower, now:

% brew install alfred
==> Fetching downloads for: alfred
✔︎ Cask alfred (5.7.2,2312)                                           Verified      5.6MB/  5.6MB
==> Installing Cask alfred
==> Moving App 'Alfred 5.app' to '/Applications/Alfred 5.app'
🍺  alfred was successfully installed!

And there we have it. An application installed with one quick command: no clicking, no dragging, no dropping.

Learn More

Reporting Bugs

If you ignore this guide, your issue may be closed without review

Before reporting a bug, run brew update-reset && brew update and try your command again. This is a fix-all that will reset the state of all your taps, ensuring the problem isn’t an outdated setup on your side.

If your issue persists, search for it before opening a new one. If you find an open issue and have any new information, add it in a comment. If you find a closed issue, try the solutions there.

If the issue is still not solved, see the guides for common problems:

Requests

Questions? Wanna chat?

We’re really rather friendly! Here are the best places to talk about the project:

License

Code is under the BSD 2 Clause (NetBSD) license.

homebrew-cask (Homebrew/homebrew-cask)

Searching Database…

这是干什么的?Homebrew Cask 扩展了 Homebrew,让你可以用简短的终端命令安装和管理厂商提供的预编译软件——图形界面应用、命令行工具、字体、插件等——不用再手动把图标拖进“应用程序”文件夹。
那它是一个独立的软件,还是 Homebrew 的一部分?它不是独立的软件,而是插入 Homebrew 使用的,这个仓库存放的是默认的 cask(针对打包软件的安装配方)。所有操作都通过常用的 brew 命令行完成。
怎么用它安装第一个软件?先安装 Homebrew,这是你唯一需要的前置步骤。之后一条简短的命令就能装好软件:不用点鼠标,不用拖拖放放,也不用走厂商的安装向导。
除了 Homebrew 之外还需要别的吗?不需要。Homebrew 是唯一提到的先决条件,而且 cask 里都是上游厂商打包好的预编译二进制文件,无需自己编译。
安装出错了该怎么办?先运行 brew update-reset && brew update 再重试——这会重置你所有的 taps,排除本地环境过时的问题。如果问题仍然存在,先查看 README 里的常见错误指南,再提交 issue,否则可能不经审阅就被关闭。
它只能在 Mac 上用,还是 Linux 也行?macOS 和 Linux 是两个受支持的系统——Homebrew Cask 在两者上都提供其命令行工作流。Windows 则没有提及。
我可以用它安装哪些类型的软件?上游厂商分发的预编译制品:图形界面应用、命令行工具、字体、插件以及其他打包软件——每一种都通过对应的 cask 配方安装。
为什么用它,而不是自己手动下载安装包?一条命令搞定全部——不用点击安装向导,也不用拖图标。同样的 brew 工作流还能在之后对这些制品进行管理,不只是安装。
我想要的软件不在目录里,可以提出申请吗?不可以——请求新增 cask 的 issue 已经关闭。想让自己的 cask 进入主仓库,你需要提交 pull request;功能请求有专门的 issue 模板。
它是免费的吗?是的。代码采用 BSD 2 Clause (NetBSD) 许可证,工具本身和它的 cask 目录都可以免费使用。
What are similar projects?brew, veet, bashka, hexyl, zerobrew, ripgrep, pipx, tmuxinator
Creator
Homebrew
Size
513.2 MB
Stars
22.3K
Age
14y
Commits · 90 Days