# Install stellar-xdr with Homebrew

Stellar command-line tool for encoding/decoding XDR for the Stellar network. Version 27.0.0 via Homebrew; verified 2026-06-01.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

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

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:stellar-xdr
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/stellar-xdr>
- **Version:** 27.0.0
- **Source summary:** Stellar command-line tool for encoding/decoding XDR for the Stellar network
- **Homepage:** <https://developers.stellar.org>
- **Repository:** <https://github.com/stellar/rs-stellar-xdr>
- **Upstream docs:** <https://developers.stellar.org/docs/data/apis/horizon/api-reference/structure/xdr>
- **License:** Apache-2.0
- **Source archive:** <https://static.crates.io/crates/stellar-xdr/stellar-xdr-27.0.0.crate>
- **Last updated:** 2026-06-01T22:34:11Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- stellar-xdr (cli)
- stellar-xdr (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 27.0.0
- Package-manager updated: 2026-06-01
- Local data: ok
- Upstream repository: https://developers.stellar.org
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

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

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** stellar-xdr
- **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


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [stellar-cli](https://www.automicvault.com/pkg/brew/stellar-cli/) - Shares the same upstream homepage.
- [hjson](https://www.automicvault.com/pkg/brew/hjson/) - Shares av.db curated category or tags: cli, data-format, developer-tools.
- [json5](https://www.automicvault.com/pkg/brew/json5/) - Shares av.db curated category or tags: cli, data-format, developer-tools.
- [libwbxml](https://www.automicvault.com/pkg/brew/libwbxml/) - Shares av.db curated category or tags: cli, data-format, developer-tools.
- [xmq](https://www.automicvault.com/pkg/brew/xmq/) - Shares av.db curated category or tags: cli, data-format, developer-tools.
- [yajl](https://www.automicvault.com/pkg/brew/yajl/) - Shares av.db curated category or tags: cli, data-format, developer-tools.
- [capnp](https://www.automicvault.com/pkg/brew/capnp/) - Shares av.db curated category or tags: cli, developer-tools, serialization.
- [dhall-toml](https://www.automicvault.com/pkg/brew/dhall-toml/) - Shares av.db curated category or tags: cli, developer-tools, serialization.
- [dhall-yaml](https://www.automicvault.com/pkg/brew/dhall-yaml/) - Shares av.db curated category or tags: cli, developer-tools, serialization.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
