Back to Sui

Quick Install

docs/content/snippets/quick-install.mdx

latest1.8 KB
Original Source

import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';

<Tabs groupId="install-tool"> <TabItem label="suiup" value="suiup">

First, install suiup:

sh
$ curl -sSfL \
  https://raw.githubusercontent.com/Mystenlabs/suiup/main/install.sh \
  | sh

Then, install Sui:

sh
$ 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:

  1. Open a terminal or console
  2. Type sui --version and press Enter

If 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:

sh
$ brew install sui

To confirm that Sui installed correctly:

  1. Open a terminal or console
  2. Type sui --version and press Enter

If you receive a "command not found" error, verify the Sui binaries directory is in your PATH environment variable.

</TabItem> <TabItem label="Chocolatey" value="choco">

You must have Chocolately installed before running the following command:

sh
$ choco install sui

Find more versions of Sui for Windows on the Chocolatey community website.

To confirm that Sui installed correctly:

  1. Open a terminal or console
  2. Type sui --version and press Enter

If you receive a "command not found" error, verify the Sui binaries directory is in your PATH environment variable.

</TabItem> </Tabs>