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.
400Posts559Answers

Reward CampaignJuly
- 24p30p... SUI+78
1
- MoonBags... SUI+71
2
- Meaning.Sui... SUI+43
3
- ... SUIJojo+34
- ... SUIOpiiii+31
- ... SUI0xduckmove+20
- ... SUIHaGiang+20
- ... SUIfomo on Sui+16
- ... SUI
- ... SUI
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 Resolution43
- Sui Transaction Failing: Objects Reserved for Another Transaction25
- How do ability constraints interact with dynamic fields in heterogeneous collections?05