Sui.

Post

Share your knowledge.

article banner.
Bahador.
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.

206Posts304Answers
Sui.X.Peera.

Earn Your Share of 1000 Sui

Gain Reputation Points & Get Rewards for Helping the Sui Community Grow.

We use cookies to ensure you get the best experience on our website.
More info