# Install stellar-cli with Homebrew, winget

Stellar command-line tool for interacting with the Stellar network. Version 27.0.0 via Homebrew; verified 2026-06-18.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install stellar-cli
```

  Evidence: local Homebrew formula metadata

### Windows

- winget (92%):

```sh
winget install --id Stellar.StellarCLI -e
```

  Evidence: Windows Package Manager source index: Stellar.StellarCLI from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:stellar-cli
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/stellar-cli>
- **Version:** 27.0.0
- **Source summary:** Stellar command-line tool for interacting with the Stellar network
- **Homepage:** <https://developers.stellar.org>
- **Repository:** <https://github.com/stellar/stellar-cli>
- **Upstream docs:** <https://developers.stellar.org/docs/tools/cli/stellar-cli>
- **License:** Apache-2.0
- **Source archive:** <https://static.crates.io/crates/stellar-cli/stellar-cli-27.0.0.crate>
- **Last updated:** 2026-06-18T00:55:32Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- stellar (cli)
- stellar (alias)

## Dependencies

- openssl@3

## Build dependencies

- pkgconf
- 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-18
- Local data: ok
- Upstream repository: https://developers.stellar.org
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

Stellar CLI is the command-line tool for developers building on Stellar, especially for deploying and interacting with Stellar smart contracts. In package-manager culture it is the installable `stellar` binary that turns Stellar contract development into a local terminal workflow rather than only a web-console or SDK activity.

### Project history

The public GitHub repository was created in May 2022 and describes the project as a CLI for Stellar developers. Its README presents it as the command-line multi-tool for running and deploying Stellar contracts on the Stellar network, tying the tool to Stellar's Soroban-era smart-contract developer stack.

### Adoption history

Stellar smart contracts, formerly called Soroban, reached mainnet availability in March 2024 according to SDF's official announcement. That made the CLI more important as a packaged developer dependency because contract builders needed a repeatable way to create identities, configure networks, deploy contracts, and call them from scripts and CI.

### How it is used

The official manual documents commands for keys, networks, contracts, ledgers, events, and other Stellar workflows. It also documents a shared configuration directory, defaulting to `$XDG_CONFIG_HOME/stellar` or `~/.config/stellar`, which stores configuration files, aliases, and persistent settings.

### Why package nerds care

For package maintainers, Stellar CLI is the small binary surface area of a much larger blockchain toolchain: Rust, Wasm smart contracts, RPC endpoints, network passphrases, identities, and release compatibility all meet at one executable. Its presence in Homebrew and WinGet, recorded in the input package-manager facts, makes it a cross-platform CLI that developers can pin and upgrade outside language-specific package managers.

### Timeline

- 2022: Public GitHub repository created.
- 2022: Early v0 releases published on GitHub.
- 2024: Stellar smart contracts announced live on mainnet.
- 2026: GitHub releases continued through v27.0.0.

### Related projects

- The CLI is part of the broader Stellar developer stack alongside Stellar Core, the Stellar Rust XDR tooling, the Soroban SDK, and Stellar RPC services.

### Sources

- <https://api.github.com/repos/stellar/stellar-cli>
- <https://api.github.com/repos/stellar/stellar-cli/releases>
- <https://developers.stellar.org/docs/tools/cli/stellar-cli>
- <https://github.com/stellar/stellar-cli>
- <https://stellar.org/press/smart-contracts-launch-on-stellar>
- 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


## 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: $XDG_CONFIG_HOME/stellar, ~/.config/stellar

## Credential files

- Unix: $XDG_CONFIG_HOME/stellar, ~/.config/stellar
## Source Database Details

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

## Other Package-Manager Records

- winget - Stellar.StellarCLI: normalized package name match | Windows Package Manager source index: Stellar.StellarCLI from https://cdn.winget.microsoft.com/cache/source.msix


## 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.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [stellar-core](https://www.automicvault.com/pkg/brew/stellar-core/) - Package name indicates the same formula family.
- [stellar-xdr](https://www.automicvault.com/pkg/brew/stellar-xdr/) - Shares the same upstream homepage.
- [anchor](https://www.automicvault.com/pkg/brew/anchor/) - Shares av.db curated category or tags: blockchain, cli, developer-tools, smart-contracts.
- [clarinet](https://www.automicvault.com/pkg/brew/clarinet/) - Shares av.db curated category or tags: blockchain, cli, developer-tools, smart-contracts.
- [sui](https://www.automicvault.com/pkg/brew/sui/) - Shares av.db curated category or tags: blockchain, cli, developer-tools, smart-contracts.
- [aiken](https://www.automicvault.com/pkg/brew/aiken/) - Shares av.db curated category or tags: blockchain, cli, developer-tools, smart-contracts.
- [chainhook](https://www.automicvault.com/pkg/brew/chainhook/) - Shares av.db curated category or tags: blockchain, cli, developer-tools.
- [foundry](https://www.automicvault.com/pkg/brew/foundry/) - Shares av.db curated category or tags: blockchain, cli, developer-tools, smart-contracts.
- [ignite](https://www.automicvault.com/pkg/brew/ignite/) - Shares av.db curated category or tags: blockchain, cli, developer-tools.
- [solana](https://www.automicvault.com/pkg/brew/solana/) - Shares av.db curated category or tags: blockchain, cli, developer-tools.

## Combined YAML source

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


## Sources

- 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
