# 使用 Homebrew, winget 安装 zero

查看 zero 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:zero
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install zero
```

  证据: local Homebrew formula metadata

### Windows

- winget (92%):

```sh
winget install --id Vercel.Zero -e
```

  证据: Windows Package Manager source index: Vercel.Zero from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:zero
- **软件包管理器:** Homebrew
- **版本:** 0.6.0
- **来源摘要:** Terminal coding agent you own
- **主页:** <https://zero.gitlawb.com/>
- **仓库:** <https://github.com/Gitlawb/zero>
- **最后更新:** 2026-07-29T03:55:47Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- zero (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.6.0
## 项目历史与用法

Zero is a terminal AI coding agent from Gitlawb. It runs locally, can inspect and edit repositories, execute commands, use browser and terminal helpers, keep durable sessions, and let the user choose the model provider and permission level.

### 项目历史

Zero is part of Gitlawb's open-source agent tooling and is implemented as a Go-based command-line coding agent. The official README describes both an interactive TUI and a scriptable `zero exec` mode.

The 0.1.0 release on 2026-07-02 published Zero to npm and included TUI file-sidebar work. The 0.2.0 release on 2026-07-06 added provider, sandbox, update, TUI, and agent-behavior improvements.

### 采用历史

Zero is distributed through the `@gitlawb/zero` npm package, GitHub release archives, source builds, Homebrew, and winget according to the official repository metadata and the package facts supplied for this enrichment batch.

The project targets the current wave of terminal coding agents by emphasizing local sessions, provider choice, permission controls, MCP servers, skills, plugins, hooks, and specialist subagents.

### 使用方式

Users run `zero` for the interactive terminal UI or `zero exec` for scriptable tasks. First-run setup picks a provider and model; provider credentials can come from environment variables, API-key setup, or supported OAuth flows.

The documented config file can live at `~/.config/zero/config.json` or in a project at `./.zero/config.json`. Provider API keys are kept out of plaintext config when possible and moved into Zero's credential store.

### 为什么软件包爱好者会关心

Zero is package-nerd significant because it is a fast-moving terminal agent packaged across several installer surfaces: npm wrapper plus release binary, Homebrew formula, winget package, install scripts, and source builds.

It is also a useful example of modern CLI packaging complexity: one command installs a native binary, but the project still has to account for platform sandboxes, credential storage, OAuth flows, update channels, and local model providers.

### 时间线

- 2026-07-02: Zero 0.1.0 published to npm.
- 2026-07-06: Zero 0.2.0 released with provider, sandbox, update, TUI, and agent-behavior changes.
- 2026-07-07: GitHub repository and organization metadata show active development and public distribution.

### Related projects

- Related projects include Gitlawb, OpenClaude, Codex-style terminal agents, OpenCode-compatible tooling, MCP servers, and local model runtimes such as Ollama and LM Studio.

### 来源

- <https://github.com/Gitlawb/zero>
- <https://raw.githubusercontent.com/Gitlawb/zero/main/CHANGELOG.md>
- <https://raw.githubusercontent.com/Gitlawb/zero/main/README.md>
- <https://raw.githubusercontent.com/Gitlawb/zero/main/docs/INSTALL.md>
- <https://raw.githubusercontent.com/Gitlawb/zero/main/docs/oauth-subscriptions.md>
- <https://raw.githubusercontent.com/Gitlawb/zero/main/internal/config/paths.go>
- <https://raw.githubusercontent.com/Gitlawb/zero/main/internal/credstore/credstore.go>
- source_facts.package-manager


## 安全说明

没有找到 zero 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.config/zero/config.json, ./.zero/config.json

## Credential files

- Linux: ~/.config/zero/credentials.enc, ~/.config/zero/credentials.json when ZERO_CRED_STORAGE=file
- macOS: macOS Keychain service zero, account apikey:<provider> by default, ~/.config/zero/credentials.enc when ZERO_CRED_STORAGE=encrypted-file, ~/.config/zero/credentials.json when ZERO_CRED_STORAGE=file
## 其他软件包管理器记录

- winget - Vercel.Zero: normalized package name match | Windows Package Manager source index: Vercel.Zero from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/zero.yml](https://github.com/mxcl/pkgdb/blob/main/combined/zero.yml)


## 来源

- pkg.so package database
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
