# 使用 Homebrew, apk, MacPorts 安装 zot

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

## 安装

```sh
sudo av install brew:zot
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install zot
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install zot
```

  证据: MacPorts ports tree: llm/zot/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add zot
```

  证据: Alpine Linux edge package indexes: zot from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

## 软件包事实

- **软件包键:** brew:zot
- **软件包管理器:** Homebrew
- **版本:** 0.3.31
- **来源摘要:** Lightweight coding agent harness written in Go
- **主页:** <https://www.zot.sh/>
- **仓库:** <https://github.com/patriceckhart/zot>
- **最后更新:** 2026-08-03T15:09:16Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- zot (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

zot is a young Go-based coding-agent harness packaged as a single command-line binary. Its niche is the post-Codex/Claude-Code generation of terminal agent tools: local TUI, print, JSON, and RPC modes wrapped around model providers and a small built-in tool set.

### 项目历史

The GitHub repository was created in April 2026 by Patrice Eckhart. The project README describes zot as a lightweight coding-agent harness written in Go, with one static binary, four built-in tools, and provider integrations for OpenAI/Codex, Anthropic, Gemini, Kimi, DeepSeek, Ollama/local models, and other API-compatible backends.

The public documentation emphasizes embeddability and extensibility rather than a large default plugin ecosystem: zot can run interactively, emit JSON events, serve an RPC protocol for external apps, load SKILL.md instruction packs, and install extensions that communicate over subprocess JSON-RPC.

### 采用历史

zot's adoption story is early-stage. GitHub repository metadata showed a few hundred stars and several dozen forks by July 2026, and the batch package metadata already lists Homebrew, Alpine, and MacPorts package names, which is notable for a project created only months earlier.

Its practical audience is developers experimenting with local coding-agent harnesses who want a single binary rather than a Node, Python, or Docker-shaped stack.

### 使用方式

Typical use is to run `zot` for the terminal UI, pass a prompt directly, use `-p` for print mode, use `--json` for newline-delimited events, or run `zot rpc` when embedding it in another program. Authentication is handled through provider API keys or supported subscription login flows, with state under `$ZOT_HOME`.

For package users, the important behavior is that zot installs like a normal CLI while still exposing agent-specific features such as session resume, model/provider selection, extension loading, skills, and a Telegram bridge.

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

zot is package-nerd interesting because it turns a fast-moving AI-agent pattern into the old reliable artifact shape: one binary on `$PATH`. That makes it easy to compare with Codex CLI, Claude Code-style tools, OpenCode, and other terminal harnesses without first adopting their runtime stack.

### 时间线

- 2026-04-17: The public `patriceckhart/zot` GitHub repository is created.
- 2026: The README documents a single-binary Go harness with TUI, print, JSON, and RPC modes.
- 2026: Package metadata in this batch records zot in Homebrew, Alpine, and MacPorts.

### Related projects

- OpenAI Codex CLI and Anthropic Claude Code are upstream workflow reference points because zot documents subscription login flows and provider behavior related to them.
- OpenCode, Ollama, Gemini, Kimi, DeepSeek, OpenRouter, and other provider backends are adjacent surfaces in zot's model-provider layer.

### 来源

- <https://api.github.com/repos/patriceckhart/zot>
- <https://github.com/patriceckhart/zot>
- <https://www.zot.sh/>
- input.json source_facts.package-manager


## 安全说明

没有找到 zot 的匹配本地密钥处理 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: $ZOT_HOME/config.json

## Credential files

- Unix: $ZOT_HOME/config.json
## 其他软件包管理器记录

- apk - zot - 2.1.17-r1: normalized package name match | Alpine Linux edge package indexes: zot from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Vendor-neutral OCI-native container image registry | https://zotregistry.dev/
- apk - zot-cli - 2.1.17-r1: normalized package name match | Alpine Linux edge package indexes: zot-cli from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Vendor-neutral OCI-native container image registry - CLI tools | https://zotregistry.dev/
- apk - zot-cli-bash-completion - 2.1.17-r1: normalized package name match | Alpine Linux edge package indexes: zot-cli-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for zot-cli | https://zotregistry.dev/
- apk - zot-cli-fish-completion - 2.1.17-r1: normalized package name match | Alpine Linux edge package indexes: zot-cli-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fish completions for zot-cli | https://zotregistry.dev/
- apk - zot-cli-zsh-completion - 2.1.17-r1: normalized package name match | Alpine Linux edge package indexes: zot-cli-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Zsh completions for zot-cli | https://zotregistry.dev/
- apk - zot-doc - 2.1.17-r1: normalized package name match | Alpine Linux edge package indexes: zot-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Vendor-neutral OCI-native container image registry (documentation) | https://zotregistry.dev/
- apk - zot-exporter - 2.1.17-r1: normalized package name match | Alpine Linux edge package indexes: zot-exporter from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Vendor-neutral OCI-native container image registry - metrics exporter | https://zotregistry.dev/
- apk - zot-openrc - 2.1.17-r1: normalized package name match | Alpine Linux edge package indexes: zot-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Vendor-neutral OCI-native container image registry (OpenRC init scripts) | https://zotregistry.dev/
- MacPorts - zot: normalized package name match | MacPorts ports tree: llm/zot/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/zot.yml](https://github.com/mxcl/pkgdb/blob/main/combined/zot.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
