Suiup is a version manager for Sui, enabling you to install Sui toolkits directly from GitHub releases. It allows for easy management of multiple Sui versions and will soon support downloading binaries from Walrus. You can run it on Linux/Windows/MacOS
-
Clone the repository
git clone https://github.com/MakiSonomura/suiup --depth 1
-
Build the project
cargo build --release
You can run the executable directly from
target/release/suiup
without adding it to your$PATH
. -
Install it to your binary crates directory
cd suiup cargo install --path .
- On Linux, the default directory for
suiup
is$HOME/.suiup
, and on Windows, it's%USERPROFILE%\.suiup
. - The
.tgz
file downloaded from the backend (currently GitHub) will be found in.suiup/download
. - The archive will be extracted to
.suiup/toolkites/${desc}
. - To use the
sui
command directly, make sure to add.suiup/bin
to your environment path.
Usage: suiup <COMMAND>
Commands:
list List all installed Sui toolkits
config Print the default configuration of Suiup
default Set the default toolkit
install Install a Sui toolkit
latest Install the latest toolkit
help Print this message or help for the given subcommand(s)
Options:
-h, --help Print help
-
Install the latest toolkit of mainnet and set it as the default one
suiup latest --network mainnet
-
Install a specific version of sui toolkit and set it as the default one
suiup install mainnet-v1.25.3
-
List all toolkits in your system
suiup list
-
Change the default toolkit
suiup default testnet-v1.34.1
-
Remove which you donot need
suiup remove mainnet-v1.25.3
-
Show suiup's config
suiup config