Skip to main content

Stellar CLI

There are a few ways to install the latest released version of Stellar CLI. Install with script (macOS, Linux, WSL):
Install with Homebrew (macOS, Linux, WSL):
Install with winget (Windows):
Install with cargo from source (github.com/stellar/stellar-cli):
Installing from source requires Rust and C build systems.To install Rust, see:To install a C build system on Debian/Ubuntu, use:
Install in your GitHub action (this is a preferred option of installing cli in your GitHub actions)
You can also use the third-party tool SVM (Stellar Version Manager), a version manager for Stellar CLI that allows you to install and switch between different versions of stellar-cli.

Set up Autocomplete

The Stellar CLI supports some autocompletion. To set up, run the following commands:
Possible SHELL values are bash, elvish, fish, powershell, zsh, etc. To enable autocomplete in the current bash shell, run:
To enable autocomplete permanently, run:

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

Video Tutorials