When trying to install sui binaries using
cargo install --locked --git https://github.com/MystenLabs/sui.git --branch devnet sui
as suggested by the official docs,
gives the below error
Updating git repository `https://github.com/MystenLabs/sui.git`
error: could not find `sui` in https://github.com/MystenLabs/sui.git?branch=devnet with version `*`
What could be the possible reason?
I used the below command which includes the tag to install it
cargo install --locked --git https://github.com/MystenLabs/sui.git --branch devnet --tag devnet-<version> sui
where you can replace version as required (e.g v1.3.0)