Skip to content

stellar/stellar-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a562309 · Mar 18, 2025
Feb 6, 2025
Jun 21, 2024
Mar 18, 2025
Mar 18, 2025
Mar 6, 2025
Feb 1, 2023
Jul 19, 2023
Feb 14, 2025
Jan 15, 2025
Mar 18, 2025
Mar 18, 2025
Mar 18, 2025
Nov 12, 2024
Mar 17, 2025
Mar 14, 2025
Sep 12, 2022
Mar 12, 2025
Mar 11, 2025
Mar 13, 2025
Mar 13, 2025
Jan 12, 2023
Nov 15, 2024
Jan 10, 2024
Nov 15, 2024

Stellar CLI (stellar-cli)

Apache 2.0 licensed Crates.io Version

This repo is home to the Stellar CLI, the command-line multi-tool for running and deploying Stellar contracts on the Stellar network.

Table of Contents

Documentation

For installation options see below, for usage instructions see the full help docs.

Cookbook

To understand how to get the most of the Stellar CLI, see the Stellar CLI Cookbook for recipes and a collection of resources to teach you how to use the CLI. Examples of recipes included in the CLI cookbook include: send payments, manage contract lifecycle, extend contract instance/storage/wasm, and more.

Install

Install with Homebrew (macOS, Linux):

brew install stellar-cli

Install the latest version from source:

cargo install --locked stellar-cli --features opt

Install or run the unreleased main branch with nix:

$ nix run 'github:stellar/stellar-cli' -- --help
or install
$ nix profile install github:stellar/stellar-cli

Use GitHub Action:

uses: stellar/stellar-cli@v22.5.0

Autocomplete

The Stellar CLI supports some autocompletion. To set up, run the following commands:

stellar completion --shell <SHELL>

Possible SHELL values are bash, elvish, fish, powershell, zsh, etc.

To enable autocomplete in the current bash shell, run:

source <(stellar completion --shell bash)

To enable autocomplete permanently, run:

echo "source <(stellar completion --shell bash)" >> ~/.bashrc

Latest Release

For the latest release, see releases.

Upcoming Features

For upcoming features, please see the project board.

To Contribute

Find issues to contribute to here and review CONTRIBUTING.md.

Additional Developer Resources