# Install stellar-xdr with Homebrew

Stellar command-line tool for encoding/decoding XDR for the Stellar network. Version 28.0.0 via Homebrew; verified 2026-07-30.

## 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
- **Version:** 28.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>
- **Last updated:** 2026-07-30T22:47:57Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- stellar-xdr (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 28.0.0
## 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


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


## Sources

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