Configure Sui CLI

How to configure Sui CLI to deploy to Movement

Initialize your environment

Initialize your Sui profile for your package development and add M2 as a custom network. M2 is our current blockchain that supports Sui deployments.

sui client new-env --rpc https://sui.testnet.m2.movementlabs.xyz:443 --alias m2

Now switch to the M2 environment:

sui client switch --env m2

Now whenever you see a command movement aptos [subcommands] now you should call aptos [subcommands] instead.

Last updated