# 使用 Homebrew 安装 stellar-xdr

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

## 安装

```sh
sudo av install brew:stellar-xdr
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install stellar-xdr
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:stellar-xdr
- **软件包管理器:** Homebrew
- **版本:** 28.0.0
- **来源摘要:** Stellar command-line tool for encoding/decoding XDR for the Stellar network
- **主页:** <https://developers.stellar.org>
- **仓库:** <https://github.com/stellar/rs-stellar-xdr>
- **最后更新:** 2026-07-30T22:47:57Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- stellar-xdr (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Stellar XDR is the Rust library and CLI for working with Stellar's XDR data structures. Its package-manager role is narrower than Stellar CLI or Stellar Core: it gives developers a standalone executable for encoding and decoding the binary serialization format used throughout the Stellar protocol.

### 项目历史

The rs-stellar-xdr repository was created in April 2022. Its README says the library and CLI contain types and functionality for Stellar XDR, with types generated from XDR definitions hosted in the stellar/stellar-xdr repository using Stellar's Rust XDR generator.

### 采用历史

The official Horizon API documentation documents XDR as part of Stellar API responses and transaction data. That makes the tool useful for developers debugging transactions, inspecting ledger objects, or bridging low-level protocol data with higher-level SDK and CLI workflows.

### 使用方式

Common usage is decoding, encoding, and inspecting Stellar XDR values while developing integrations or smart-contract tooling. Because it has no documented persistent configuration or credential store, it behaves like a stateless developer utility.

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

Package nerds care because serialization tools often sit at protocol boundaries: they need to track network protocol changes, generated schemas, and language runtime compatibility. A packaged `stellar-xdr` binary lets maintainers expose that low-level inspection tool without requiring every user to build the Rust crate manually.

### 时间线

- 2022: Public rs-stellar-xdr GitHub repository created.
- 2022: First GitHub release v0.0.1 published.
- 2025: v25.0.0 release line published.
- 2026: GitHub releases continued through v27.0.0.

### Related projects

- The project relates to stellar/stellar-xdr, Stellar CLI, Stellar Core, Horizon API data, and the Rust Soroban/Stellar developer tooling stack.

### 来源

- <https://api.github.com/repos/stellar/rs-stellar-xdr>
- <https://api.github.com/repos/stellar/rs-stellar-xdr/releases>
- <https://developers.stellar.org/docs/data/apis/horizon/api-reference/structure/xdr>
- <https://github.com/stellar/rs-stellar-xdr>
- input.source_facts.package-manager


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
