cargo install --locked stellar-cli@22.8.2 --features opt
cargo install --locked stellar-cli@23.0.0 --features opt
error: failed to compile `stellar-cli v23.0.0`,
intermediate artifacts can be found at `/tmp/cargo-installFrHLRj`.
To reuse those artifacts with a future compilation,
set the environment variable `CARGO_TARGET_DIR` to that path.
Caused by:
the package 'stellar-cli' does not contain this feature: opt
What version are you using?
Rustc 1.88.0 (6b00bc388 2025-06-23)
OS: Linux Mint 22.1 Xia based on Ubuntu 24.04 noble
What did you do?
Tried to install Stellar CLI according to the Quick Start and Stellar CLI pages:
https://developers.stellar.org/docs/build/smart-contracts/getting-started/setup
https://developers.stellar.org/docs/tools/cli/install-cli
What did you expect to see?
Installation successful
What did you see instead?