Install the Stellar CLI
Stellar CLI
There are a few ways to install the latest released version of Stellar CLI.
Install with Homebrew (macOS, Linux):
brew install stellar-cli
Install with cargo from source:
cargo install --locked stellar-cli --features opt
Set up 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
See Video Tutorial
Video Tutorial: https://developers.stellar.org/meetings/2024/06/27