Skip to content

Stellar CLI failed to install/compile v23.0.0 / v22.8.2: No opt feature #1608

Description

@AuroraLantean

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

cargo install --locked stellar-cli@22.8.2 --features opt
cargo install --locked stellar-cli@23.0.0 --features opt

What did you expect to see?

Installation successful

What did you see instead?

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't workingdev-rel

Type

No type

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions