docs/content/snippets/quick-install.mdx
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
<Tabs groupId="install-tool"> <TabItem label="suiup" value="suiup">First, install suiup:
$ curl -sSfL \
https://raw.githubusercontent.com/Mystenlabs/suiup/main/install.sh \
| sh
Then, install Sui:
$ suiup install sui@testnet
For alternative installation methods, refer to the suiup repository.
:::danger
Installing Sui with suiup does not configure the client. To use sui commands, you must configure the Sui client.
To confirm that Sui installed correctly:
sui --version and press EnterIf you receive a "command not found" error, verify the Sui binaries directory is in your PATH environment variable.
:::
</TabItem> <TabItem label="Homebrew" value="brew">You must have Homebrew installed before running the following command:
$ brew install sui
To confirm that Sui installed correctly:
sui --version and press EnterIf you receive a "command not found" error, verify the Sui binaries directory is in your PATH environment variable.
You must have Chocolately installed before running the following command:
$ choco install sui
Find more versions of Sui for Windows on the Chocolatey community website.
To confirm that Sui installed correctly:
sui --version and press EnterIf you receive a "command not found" error, verify the Sui binaries directory is in your PATH environment variable.