# 使用 Homebrew, apk, MacPorts, Nix 安装 goat

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

## 安装

```sh
sudo av install brew:goat
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install goat
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install goat
```

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

### Linux

- apk (92%):

```sh
sudo apk add goat
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#goat
```

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

## 软件包事实

- **软件包键:** brew:goat
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/goat>
- **版本:** 0.2.3
- **来源摘要:** General purpose AT Protocol CLI in Go
- **主页:** <https://github.com/bluesky-social/goat>
- **仓库:** <https://github.com/bluesky-social/goat>
- **上游文档:** <https://github.com/bluesky-social/goat#readme>
- **许可证:** MIT OR Apache-2.0
- **源码归档:** <https://github.com/bluesky-social/goat.git>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- goat (cli)
- goat (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.2.3
- 本地数据: OK
- 上游仓库: https://github.com/bluesky-social/goat
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

goat is the Bluesky Social Go command-line tool for the AT Protocol, described by its README as a general-purpose atproto CLI similar in spirit to curl. It gives developers and operators a shell-native way to inspect records, stream the firehose, work with PLC identity data, migrate accounts, administer PDS instances, and call XRPC endpoints.

### 项目历史

The AT Protocol project emerged from Bluesky's protocol work: Bluesky described its spring 2022 ADX work as the first iteration, then announced the Authenticated Transfer Protocol on October 18, 2022. The protocol centers on portable identities, signed repositories, federation, Lexicon schemas, and HTTP/WebSocket synchronization.

goat was forked from the Bluesky indigo codebase in August 2025 and had its first tagged release, v0.1.0, on August 12, 2025. Subsequent releases added and reorganized account, PDS admin, lexicon, dependency, and XRPC capabilities while tracking the evolving indigo SDK.

### 采用历史

goat serves the AT Protocol developer and operations community rather than end users of the Bluesky app. The surrounding ecosystem had already encouraged third-party work: by October 2023, Bluesky documentation described developers building bots, clients, feed generators, and future applications on atproto.

The Homebrew formula packages goat as a direct CLI install path for users who want an atproto toolbox without building from source. Its README also documents prebuilt binaries, Debian/Ubuntu packages, and go install.

### 使用方式

goat is used to resolve identities, list and fetch at:// records, export repositories and blobs, inspect PLC history, tail PLC operations, subscribe to relay firehose events, post through Bluesky APIs, manage lexicons, and make XRPC query or procedure calls. Some commands are public; account-modifying commands require login with an app password.

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

goat is interesting to package maintainers because it turns a fast-moving protocol stack into a reproducible local executable. For developers exploring atproto, it is the low-friction bridge between shell workflows, jq pipelines, Go-based SDK code, and network services such as PDSes, relays, PLC, Lexicon, and XRPC.

Its presence in package managers is also a sign of the AT Protocol ecosystem maturing beyond one hosted application: protocol developers need inspection, migration, and admin tools just as much as client libraries.

### 时间线

- 2022: Bluesky announced ADX had become the Authenticated Transfer Protocol.
- 2023: Bluesky documentation invited developers to build bots, clients, feeds, and other projects on atproto.
- 2025: goat was forked from indigo and tagged v0.1.0.
- 2025: goat v0.2.0 added more lexicon management commands and required Go 1.25.
- 2026: goat v0.2.3 added the first version of the xrpc subcommand.

### Related projects

- goat is closely related to the AT Protocol, Bluesky, indigo, Personal Data Servers, relays, PLC identity infrastructure, Lexicon schemas, and the XRPC HTTP API model.

### 来源

- <https://atproto.com/guides/overview>
- <https://bsky.social/about/blog/10-18-2022-the-at-protocol>
- <https://docs.bsky.app/blog/building-on-atproto>
- <https://docs.bsky.app/docs/advanced-guides/atproto>
- <https://github.com/bluesky-social/goat>
- <https://raw.githubusercontent.com/bluesky-social/goat/main/CHANGELOG.md>
- <https://raw.githubusercontent.com/bluesky-social/goat/main/README.md>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## 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.


## Credential files

- Unix: $XDG_STATE_HOME/goat/auth-session.json, ~/.local/state/goat/auth-session.json
## 源数据库详情

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

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

- Nix - goat: normalized package name match | nixpkgs package indexes: pkgs/by-name/go/goat/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - goat - 0.2.3-r0: normalized package name match | Alpine Linux edge package indexes: goat from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Go AT protocol CLI tool | https://github.com/bluesky-social/goat
- apk - goat-doc - 0.2.3-r0: normalized package name match | Alpine Linux edge package indexes: goat-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Go AT protocol CLI tool (documentation) | https://github.com/bluesky-social/goat
- MacPorts - goat: normalized package name match | MacPorts ports tree: graphics/goat/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [gost](https://www.automicvault.com/zh-hans/pkg/brew/gost/) - Shares av.db curated category or tags: cli, go, networking.
- [libcoap](https://www.automicvault.com/zh-hans/pkg/brew/libcoap/) - Shares av.db curated category or tags: cli, networking, protocols.
- [liblo](https://www.automicvault.com/zh-hans/pkg/brew/liblo/) - Shares av.db curated category or tags: cli, networking, protocols.
- [mihomo](https://www.automicvault.com/zh-hans/pkg/brew/mihomo/) - Shares av.db curated category or tags: cli, go, networking.
- [nak](https://www.automicvault.com/zh-hans/pkg/brew/nak/) - Shares av.db curated category or tags: cli, go, networking.
- [trojan-go](https://www.automicvault.com/zh-hans/pkg/brew/trojan-go/) - Shares av.db curated category or tags: cli, go, networking.
- [usbredir](https://www.automicvault.com/zh-hans/pkg/brew/usbredir/) - Shares av.db curated category or tags: cli, networking, protocols.
- [zns](https://www.automicvault.com/zh-hans/pkg/brew/zns/) - Shares av.db curated category or tags: cli, go, networking.
- [mqtt](https://www.automicvault.com/zh-hans/pkg/npm/mqtt/) - Local package facts share a topical domain. Shared terms: cli, networking, protocol, protocols.
- [glider](https://www.automicvault.com/zh-hans/pkg/brew/glider/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, go, networking, protocols.

## Combined YAML source

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