# 使用 Homebrew, Nix, scoop, winget 安装 zeroclaw

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

## 安装

```sh
sudo av install brew:zeroclaw
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install zeroclaw
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#zeroclaw
```

  证据: nixpkgs package indexes: pkgs/by-name/ze/zeroclaw/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/zeroclaw
```

  证据: Scoop official bucket manifest trees: bucket/zeroclaw.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id ZeroClawLabs.ZeroClaw -e
```

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

## 软件包事实

- **软件包键:** brew:zeroclaw
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/zeroclaw>
- **版本:** 0.8.3
- **来源摘要:** Rust-first autonomous agent runtime
- **主页:** <https://www.zeroclawlabs.ai/>
- **仓库:** <https://github.com/zeroclaw-labs/zeroclaw>
- **上游文档:** <https://github.com/zeroclaw-labs/zeroclaw/blob/master/docs/README.md>
- **许可证:** Apache-2.0 OR MIT
- **源码归档:** <https://github.com/zeroclaw-labs/zeroclaw/archive/refs/tags/v0.8.3.tar.gz>
- **最后更新:** 2026-07-19T13:49:47Z
- **已生成:** 2026-07-25T07:20:51+00:00

## 可执行文件

- zeroclaw (cli)
- zeroclaw (别名)

## 构建依赖

- rust

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-25
- 管理器版本: 0.8.3
- 管理器更新时间: 2026-07-19
- 本地数据: OK
- 上游仓库: https://github.com/zeroclaw-labs/zeroclaw
- 检测到的最新版本: v0.8.3 (当前)
## 项目历史与用法

ZeroClaw is a Rust autonomous-agent runtime and CLI for personal AI assistant infrastructure, focused on providers, channels, tools, memory, gateways, and security policy in a deployable local or self-hosted stack.

### 项目历史

ZeroClaw's public repository describes it as fast, small, autonomous personal-assistant infrastructure that can run across operating systems and platforms. The README presents an architecture with channels, gateway, ACP/JSON-RPC, runtime, agent loop, security policy, SOP engine, providers, tools, and memory.

The project is new enough that most reliable history is in its own repository. By June 2026, the project had moved documentation out of the GitHub wiki to docs.zeroclawlabs.ai and the README identified the GitHub repository as the only official ZeroClaw repository, which is useful because the name appears in adjacent and unofficial pages.

Its security docs frame the core problem directly: an agent that can execute shell commands, open URLs, and write files is privileged, so every tool call and channel message is gated by risk/runtime profiles and security policy.

### 采用历史

The README shows a large public GitHub footprint by mid-2026, with many stars, forks, releases, discussions, issues, and pull requests. The supplied package data lists Homebrew, Nix, Scoop, and winget packaging, suggesting early cross-platform packaging for people evaluating agent runtimes outside a single language ecosystem.

The adoption story is still early and should be treated as active-project evidence rather than mature ecosystem history. Its relevance is strongest among users testing local AI assistants, multi-channel agent gateways, and Rust-native alternatives to heavier Node/Python assistant stacks.

### 使用方式

Operators use the `zeroclaw` CLI to onboard, configure providers and secrets, run local agents, expose gateway/API modes, and wire channels and tools into the runtime. The repository separates CLI commands for operators from tools that the agent can invoke mid-conversation.

Tools are treated as privileged capabilities, such as shell, HTTP, browser, file, PDF, or hardware access, and produce receipts while passing through security policy. That makes the package closer to an agent runtime than a simple chatbot CLI.

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

ZeroClaw matters as a package because it packages a whole agent runtime into a CLI: local state, provider configuration, secrets, tools, memory, channel adapters, gateway surfaces, and security policy. Installing it is not just adding a command; it is installing an operator entrypoint for autonomous actions.

The project also shows the 2026 packaging pressure around AI tools: users want Homebrew/Nix/Scoop/winget convenience, but maintainers need clear official-source identity, documentation location, and safe defaults for a tool that may execute commands and touch files.

### 时间线

- 2026-06-17: GitHub wiki page says ZeroClaw documentation moved to docs.zeroclawlabs.ai as the single source of truth.
- 2026-06-26: GitHub repository release listing shows v0.8.2 as latest.
- 2026: README identifies the GitHub repository as the only official ZeroClaw repository and documents architecture, contribution areas, and security policy.

### Related projects

- OpenClaw and other Claw-family agent projects are adjacent points of comparison for local assistant runtime design.
- Ollama and OpenAI-compatible providers are relevant integrations because ZeroClaw routes model providers through its runtime.
- MCP-style tool and agent protocols are adjacent to ZeroClaw's channel/tool/gateway architecture.

### 来源

- <https://github.com/zeroclaw-labs/zeroclaw#readme>
- <https://github.com/zeroclaw-labs/zeroclaw/blob/master/docs/book/src/security/overview.md>
- <https://github.com/zeroclaw-labs/zeroclaw/blob/master/docs/book/src/tools/overview.md>
- <https://github.com/zeroclaw-labs/zeroclaw/wiki>
- source_facts.package-manager


## 安全说明

formula declares a Homebrew service. generalized runtime or code generation signal.

- **Geiger 风险:** orange / 中
- formula declares a Homebrew service
- generalized runtime or code generation signal


## 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: ~/.zeroclaw/config.toml

## Credential files

- Unix: ~/.zeroclaw/secrets
## 源数据库详情

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

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

- Nix - zeroclaw: normalized package name match | nixpkgs package indexes: pkgs/by-name/ze/zeroclaw/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/zeroclaw: normalized package name match | Scoop official bucket manifest trees: bucket/zeroclaw.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - ZeroClawLabs.ZeroClaw: normalized package name match | Windows Package Manager source index: ZeroClawLabs.ZeroClaw 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.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [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.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [librefang](https://www.automicvault.com/zh-hans/pkg/brew/librefang/) - Shares av.db curated category or tags: agent-runtime, agents, ai, cli, rust.
- [agent-browser](https://www.automicvault.com/zh-hans/pkg/brew/agent-browser/) - Shares av.db curated category or tags: agents, ai, cli, rust.
- [block-goose-cli](https://www.automicvault.com/zh-hans/pkg/brew/block-goose-cli/) - Shares av.db curated category or tags: agents, ai, ai-agent, cli.
- [hermes-agent](https://www.automicvault.com/zh-hans/pkg/brew/hermes-agent/) - Shares av.db curated category or tags: agents, ai, ai-agent, cli.
- [zeptoclaw](https://www.automicvault.com/zh-hans/pkg/brew/zeptoclaw/) - Shares av.db curated category or tags: agents, ai, ai-agent, cli.
- [docker-agent](https://www.automicvault.com/zh-hans/pkg/brew/docker-agent/) - Shares av.db curated category or tags: agents, ai, cli.
- [e2b](https://www.automicvault.com/zh-hans/pkg/brew/e2b/) - Shares av.db curated category or tags: agents, ai, cli.
- [gbox](https://www.automicvault.com/zh-hans/pkg/brew/gbox/) - Shares av.db curated category or tags: agents, ai, cli.
- [nullclaw](https://www.automicvault.com/zh-hans/pkg/brew/nullclaw/) - Local package facts share a topical domain. Shared terms: agent, agents, ai, assistant, autonomous.

## Combined YAML source

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


## 来源

- Nucleus package database
- Geiger risk classifier
- 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
