← 返回命令列表

Linux command

zerobrew 命令

网络

复制后可按需替换文件名、目录或参数。

常用示例

Install one or more packages

zb install [ripgrep] [jq]

Uninstall a package

zb uninstall [ripgrep]

Install packages from a Brewfile

zb bundle

Dump installed packages to a Brewfile

zb bundle dump

Run a package without linking it

zbx [jq] --version

Garbage collect unreferenced store entries

zb gc

Uninstall all packages (reset)

zb reset

说明

zerobrew (`zb`) is a high-performance reimplementation of Homebrew that uses content-addressable storage and APFS clonefiles for zero-overhead copying, giving 5-20x faster installs than Homebrew on macOS. It leverages Homebrew's formula definitions and pre-built bottles, bringing a uv-style architecture to Homebrew packages.

参数

install _PACKAGE_...
Install one or more packages.
uninstall _PACKAGE_...
Remove packages.
bundle
Install packages listed in a Brewfile.
bundle dump
Export installed packages to a Brewfile.
gc
Garbage collect unused store entries.
reset
Uninstall all packages.
zbx
Run a package without creating system links.

FAQ

What is the zerobrew command used for?

zerobrew (`zb`) is a high-performance reimplementation of Homebrew that uses content-addressable storage and APFS clonefiles for zero-overhead copying, giving 5-20x faster installs than Homebrew on macOS. It leverages Homebrew's formula definitions and pre-built bottles, bringing a uv-style architecture to Homebrew packages.

How do I run a basic zerobrew example?

Run `zb install [ripgrep] [jq]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does install _PACKAGE_... do in zerobrew?

Install one or more packages.