Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.57 KB

install.md

File metadata and controls

45 lines (31 loc) · 1.57 KB
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.

CLIs

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.

Contribute

If you need to download and understand the Sui source code, follow contributing to Sui.

IDE

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.

Next steps

Continue your journey through: