GitHub 热门项目:zerobrew

摘要

GitHub项目:zerobrew 仓库地址:https://github。

zerobrew https install lucasgelfond Homebrew
2026-05-22 1 阅读 GitHub Trending
GitHub 项目:zerobrew 仓库地址:https://github.com/lucasgelfond/zerobrew 星级:7288 | 作者:卢卡斯杰尔方德 项目描述:速度提高 5-20 倍的实验性自制软件替代品 =================================================== 自述文件内容:

零酿造

英语 · 中文

[![Lint](https://github.com/lucasgelfond/zerobrew/actions/workflows/ci.yml/badge.svg)](https://github.com/lucasgelfond/zerobrew/actions/workflows/ci.yml) [![测试](https://github.com/lucasgelfond/zerobrew/actions/workflows/test.yml/badge.svg)](https://github.com/lucasgelfond/zerobrew/actions/workflows/test.yml) [![发布](https://img.shields.io/github/v/release/lucasgelfond/zerobrew?display_name=tag)](https://github.com/lucasgelfond/zerobrew/releases) [![Discord](https://img.shields.io/badge/Discord-Join-5865F2?logo=discord&logoColor=white)](https://discord.gg/ZaPYwm9zaw) [![许可证:MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE-MIT.md) [![许可证:Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](./LICENSE-APACHE.md) zerobrew 演示

zerobrew 为 macOS 和 Linux 上的 Homebrew 软件包带来了 uv 风格的架构。

## 安装 ````bash 卷曲-fsSL https://zerobrew.rs/install |巴什 ```` 安装后,运行它打印的“export”命令(或重新启动终端)。 或者通过自制程序: ````bash 酿造安装卢卡斯格尔丰/zerobrew/zerobrew ```` ## 快速开始 ````bash zb install jq # 安装一个包 zb install wget git #安装多个 zb 包 # 从 Brewfile 安装 zb bundle install -f myfile # 从自定义文件安装 zb bundle dump # 将已安装的软件包导出到 Brewfile zb bundle dump -f out --force # 转储到自定义文件(覆盖) zb uninstall jq # 卸载一个包 zb Reset # 卸载所有内容 zb gc # 垃圾收集未使用的存储条目 zbx jq --version # 无需链接即可运行 ```` ## 性能快照 |套餐 |自制| ZB(冷)| ZB(温暖)|冷加速|热加速 | |--------|----------|------------|------------|----------------|------------| | **总体(前 100 名)** | 452s | 226s | 226s | 59 年代 | **2.0x** | **7.6x** | | ffmpeg| 3034 毫秒 | 3481 毫秒 | 688 毫秒 | 0.9 倍 | 4.4 倍 | |钠 | 2353 毫秒 | 392 毫秒 | 130 毫秒 | 6.0 倍 | 18.1 倍 | | sqlite | 2876 毫秒 | 625 毫秒 | 159 毫秒 | 4.6 倍 | 18.1 倍 | |超立方体 | 18950 毫秒 | 5536 毫秒 | 643 毫秒 | 3.4 倍 | 29.5 倍 |
## 与 Homebrew 的关系 Zerobrew 更像是 Homebrew 生态系统的性能优化客户端。我们依靠: - Homebrew 的公式定义(homebrew-core) - Homebrew 的预制瓶子(如有) - Homebrew 的包元数据和基础设施 我们的创新重点在于: - 用于重复数据删除的内容寻址存储 - 用于零开销复制的 APFS 克隆文件 - 使用 Homebrew 的 Ruby DSL 进行源代码构建回退 Zerobrew 是实验性的。我们建议与 Homebrew 一起运行它,而不是作为替代品,并且_不_ 建议清除自制程序并将其替换为
← 返回 开源推荐