Stellar CLI
stellar-cliCommand-line interface for interacting with the Stellar network
Command-line interface for interacting with the Stellar network
Build and deploy Soroban smart contracts with the Stellar CLI. Other subcommands (keys, tx, invoke, network) are not covered; signing options other than the source account are left out.
stellar contract buildBuild every cdylib crate in the Cargo manifest for the wasm32 target.
packageout_dirpackageprint_onlypath--manifest-pathstring--packagestring--profilepath--out-dirstring--featuresboolean--all-featuresboolean--lockedboolean--print-commands-onlystellar contract deployDeploy a wasm contract to a network. Sends a signed transaction using the source account.
wasmsource_accountnetworkaliaswasmsource_accountnetworkbuild_onlypath--wasmstring--wasm-hashstring--source-account-sstring--network-ntestnetmainnetstring--aliasurl--rpc-urlstring--network-passphraseboolean--build-onlyboolean--ignore-checks-idocsmanual2026-10-27docsmanual2026-10-27Before it fills your prompt, Otty checks the installed stellar against its version. A form that does not match your version is not offered.