# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/zero>
- **版本:** 0.5.0
- **来源摘要:** Terminal coding agent you own
- **主页:** <https://zero.gitlawb.com/>
- **仓库:** <https://github.com/Gitlawb/zero>
- **上游文档:** <https://github.com/Gitlawb/zero#readme>
- **许可证:** MIT
- **源码归档:** <https://github.com/Gitlawb/zero/archive/refs/tags/v0.5.0.tar.gz>
- **最后更新:** 2026-07-22T04:10:54Z
- **已生成:** 2026-07-25T07:20:51+00:00

## 可执行文件

- zero (cli)
- zero (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-25
- 管理器版本: 0.5.0
- 管理器更新时间: 2026-07-22
- 本地数据: OK
- 上游仓库: https://github.com/Gitlawb/zero
- 检测到的最新版本: v0.5.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
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** zero
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

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


## 相关链接

- [MCP tool packages](https://www.automicvault.com/zh-hans/pkg/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [AI and agent packages](https://www.automicvault.com/zh-hans/pkg/ai-agent-tools/) - Matched AI model, agent, coding-agent, orchestration, or MCP metadata.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [forgecode](https://www.automicvault.com/zh-hans/pkg/brew/forgecode/) - Shares av.db curated category or tags: ai, cli, coding-agent, coding-agents, developer-tools.
- [mimo-code](https://www.automicvault.com/zh-hans/pkg/brew/mimo-code/) - Shares av.db curated category or tags: ai, cli, coding-agent, coding-agents, developer-tools.
- [kimi-cli](https://www.automicvault.com/zh-hans/pkg/brew/kimi-cli/) - Shares av.db curated category or tags: ai, cli, coding-agent, coding-agents, terminal.
- [letta-code](https://www.automicvault.com/zh-hans/pkg/brew/letta-code/) - Shares av.db curated category or tags: ai, cli, coding-agent, coding-agents, developer-tools.
- [mistral-vibe](https://www.automicvault.com/zh-hans/pkg/brew/mistral-vibe/) - Shares av.db curated category or tags: ai, cli, coding-agent, coding-agents, developer-tools.
- [opencode](https://www.automicvault.com/zh-hans/pkg/brew/opencode/) - Shares av.db curated category or tags: ai, cli, coding-agents, developer-tools, terminal.
- [pixtuoid](https://www.automicvault.com/zh-hans/pkg/brew/pixtuoid/) - Shares av.db curated category or tags: ai, cli, coding-agents, developer-tools, terminal.
- [zot](https://www.automicvault.com/zh-hans/pkg/brew/zot/) - Shares av.db curated category or tags: ai, cli, coding-agent, coding-agents, go.
- [codex](https://www.automicvault.com/zh-hans/pkg/cask/codex/) - Local package facts share a topical domain. Shared terms: agent, agents, ai, cli, coding.

## Combined YAML source

View the package source record on GitHub. [combined/zero.yml](https://github.com/automic-vault/db/blob/main/combined/zero.yml)


## 来源

- Nucleus package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
