Stellar CLI is a command-line tool designed specifically for Stellar developers to manage and deploy smart contracts on the Stellar network efficiently.
Key features of Stellar CLI include installation via winget, Homebrew, or nix, making setup accessible across various platforms. The CLI comes with an extensive cookbook providing practical examples such as sending payments, managing contract lifecycles, and extending contract functionality. Additionally, it supports autocompletion for shells like bash, zsh, and fish, enhancing user experience by streamlining command input.
Ideal for developers engaged in building smart contracts on the Stellar network, Stellar CLI offers tools to streamline workflow, from initial deployment to updates and management. Its features empower users with efficiency, productivity, and support for best practices, such as managing snapshots and aliases, ensuring seamless contract lifecycle management.
README
Stellar CLI (stellar-cli)
This repo is home to the Stellar CLI, the command-line multi-tool for running and deploying Stellar contracts on the Stellar network.
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
Install without features that depend on additional libraries: