Post
Share your knowledge.

Bahador85
Mar 11, 2025
Article
How to fix the SUI installation error?
When I try to install and build the SUI binary on my local system with this command:
cargo install --git https://github.com/MystenLabs/sui.git --bin sui --branch devnet
I face this error:
Please specify a package, e.g. `cargo install --git https://github.com/MystenLabs/sui.git anemo-benchmark`.
After some digging, I found the solution and was able to install and build it error-free and completely using some modification in the above command:
For Devnet:
cargo install --locked --git https://github.com/MystenLabs/sui.git sui --branch devnet
For Testnet:
cargo install --locked --git https://github.com/MystenLabs/sui.git sui --branch devnet
This way, you can install and build SUI on your local machine and start on your way!
Best of luck.
- Sui
- Move
3
Share
Comments
Sui is a Layer 1 protocol blockchain designed as the first internet-scale programmable blockchain platform.
351Posts499Answers
Bounty Posts
- Why does BCS require exact field order for deserialization when Move structs have named fields?53
- Multiple Source Verification Errors" in Sui Move Module Publications - Automated Error Resolution42
- Sui Transaction Failing: Objects Reserved for Another Transaction24
- How do ability constraints interact with dynamic fields in heterogeneous collections?04