GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - stellar/stellar-cli: CLI for Stellar developers

BranchesTags
Open more actions menu

Latest commit

 

History

1,538 Commits
1,538 Commits

Folders and files

NameName
Last commit message
Last commit date
.cargo-husky/hooks
.cargo-husky/hooks
 
 
.cargo
.cargo
 
 
.github
.github
 
 
cmd
cmd
 
 
cookbook
cookbook
 
 
.dockerignore
.dockerignore
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.semgrepignore
.semgrepignore
 
 
.socket-basics.json
.socket-basics.json
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
FULL_HELP_DOCS.md
FULL_HELP_DOCS.md
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
RELEASING.md
RELEASING.md
 
 
action.yml
action.yml
 
 
deny.toml
deny.toml
 
 
flake.lock
flake.lock
 
 
flake.nix
flake.nix
 
 
install.sh
install.sh
 
 
install_githooks.sh
install_githooks.sh
 
 
installer.iss
installer.iss
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
prettier.config.js
prettier.config.js
 
 
rust-toolchain.toml
rust-toolchain.toml
 
 
stellar.ico
stellar.ico
 
 
test_install.rb
test_install.rb
 
 

Repository files navigation

Stellar CLI (stellar-cli)

Apache 2.0 licensed Crates.io Version Ask DeepWiki

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
  • Cookbook
  • Install
  • Autocomplete
  • Latest Release
  • Upcoming Features
  • To Contribute
  • Additional Developer Resources

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 the install script (macOS, Linux):

curl -fsSL https://github.com/stellar/stellar-cli/raw/main/install.sh | sh

For installation options, run the script with --help:

curl -fsSL https://github.com/stellar/stellar-cli/raw/main/install.sh | sh -s -- --help

Install with dependency setup (--install-deps) to attempt installing:

  • Linux development dependencies (libdbus/libudev development packages; Linux only, not required on macOS)
  • Rust toolchain and wasm32v1-none target (for contract build workflows)
curl -fsSL https://github.com/stellar/stellar-cli/raw/main/install.sh | sh -s -- --install-deps

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:

cargo install --locked stellar-cli --no-default-features

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

For additional information on how to install, see instructions here on the Developer Docs.

Use GitHub Action:

uses: stellar/[email protected]

Run with Docker:

docker run --rm -it -v "$(pwd)":/source stellar/stellar-cli version

Docker image distribution is handled by the stellar/stellar-cli-docker repository, with images published to Docker Hub.

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

  • Developer Docs CLI Examples: https://developers.stellar.org/docs/smart-contracts/guides/cli
  • Video Tutorial on network container, keys, and contract init: https://developers.stellar.org/meetings/2024/06/27
  • Video Tutorial on alias and snapshot: https://developers.stellar.org/meetings/2024/09/12

About

CLI for Stellar developers

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

129 stars

Watchers

19 watching

Forks

153 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.