sui-cli
Installation
SKILL.md
Sui CLI
Use these conventions for the Sui command line tools published by Mysten Labs.
Source Baseline
- Authoritative reference: https://docs.sui.io/references/cli and the per-command pages it links (
/references/cli/client,/client/ptb,/completion,/keytool,/external-signers,/move,/replay,/trace-analysis,/validator). - Verify a local install before using examples:
sui --version. Manage versions withsuiup(https://github.com/MystenLabs/suiup) rather than ad-hoc binary swaps; pin the intended network release explicitly, for examplesuiup install sui@testnet. - For Move coverage, test traces, or debugger/profiler traces, use a CLI with tracing/debug support (
suiup install sui@testnet --debugfor release builds managed bysuiup, or enable thetracingfeature when building from source). - Append
--jsonto most commands to get machine-readable output (useful for scripts and large result sets).
Command Groups
The Sui CLI is grouped by feature. Common documented groups are: