title |
---|
Install Sui |
Sui is written in Rust, and we are using Cargo to build and manage the dependencies. As a prerequisite, you will need to install Cargo version 1.59.0 or higher in order to build and install Sui on your machine.
After installing cargo
, run:
cargo install --git https://github.com/MystenLabs/sui.git
This will put three binaries in your PATH
(ex. under ~/.cargo/bin
):
sui-move
: Build and test Move packages.wallet
: Run a local Sui network and gateway service accessible via the wallet CLI. The wallet CLI manage keypairs to sign/send transactions.rest_server
: Run a local Sui network and gateway service accessible via a REST interface.
Confirm the install with:
$ echo $PATH
And ensure the .cargo/bin
directory appears.
If you need to download and understand the Sui source code, follow contributing to Sui.
For Move development, we recommend the Visual Studio Code (vscode) IDE with the Move Analyzer plugin. See more IDE options in the Awesome Move docs.
Continue your journey through: