Skip to content

Setup Sui CLI

Actions

About

Install a specific Sui CLI version and configure a deployer wallet for a target network
v1
Latest
Star (0)

Tags

 (1)

setup-sui-cli

Install a specific Sui CLI release and optionally configure a deployer wallet for a supported Sui network.

What Is Sui CLI?

Sui CLI is the official command-line tool for interacting with the Sui blockchain. It is used to manage accounts and keys, switch networks, inspect chain state, and run/publish Move packages.

Inputs

Input Default Description
network testnet Supported values are mainnet and testnet.
version - Sui CLI version tag to install.
private_key - A Bech32-formatted private key to import

If version is omitted, the action fetches the latest network-specific release tag from the official MystenLabs/sui repository.

Tip

Get an existing key in the correct Bech32 format:

sui keytool export --key-identity <YOUR_SUI_ADDRESS>

Outputs

  • rpc_url: Resolved RPC URL for the selected network.
  • active_address: Imported address set as the active Sui address.

Note

If private_key is omitted, the action only installs the Sui CLI and does not set outputs.

Supported Platforms

OS Architecture
Linux x64
Linux arm64
macOS x64
macOS arm64
Windows x64

Examples

Install only:

- name: 📦 Setup Sui CLI
  uses: CommandOSSLabs/setup-sui-cli@v1

Install and configure wallet:

- name: 📦 Setup Sui CLI
  uses: CommandOSSLabs/setup-sui-cli@v1
  with:
    network: testnet
    private_key: ${{ secrets.SUI_DEPLOYER_PRIVATE_KEY }}

License

This project is licensed under the Apache License 2.0.


Built with ❤️ by the CommandOSS Team

Setup Sui CLI is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Install a specific Sui CLI version and configure a deployer wallet for a target network
v1
Latest

Tags

 (1)

Setup Sui CLI is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.