Environment Setup
Set up your development environment for writing Move smart contracts on Sui.Install Sui CLI
The Sui CLI is the primary tool for developing Move contracts.Using Install Script (Recommended)
- macOS/Linux
curl --proto --tlsv1.2 -sSf https://sh.rustup.rs | sh cargo
Verify Installation
sui 1.x.x
Project Structure
Create your first Move project:Move.toml Configuration
TheMove.toml file defines your package configuration:
Build Your Project
Test that everything is set up correctly:✓ Build Successful
Editor Setup
VS Code (Recommended)
Install the Move language extension:- Open VS Code
- Go to Extensions (Cmd/Ctrl + Shift + X)
- Search for “Move” by “Mysten Labs”
- Click Install
Other Editors
Configure Sui Client
Set up your Sui client to interact with networks:Available Networks
Mainnet
Mainnet
Production network for deployed applications
Testnet
Testnet
Stable test network for development
Devnet
Devnet
Latest features (resets frequently)
Localnet
Localnet
Local node for development
Get Test Tokens
Request SUI tokens for testing (testnet/devnet only):Next Steps
Your environment is ready! Learn Move basics:Move Basics
Learn Move syntax, types, and fundamental concepts