Skip to main content

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.
curl --proto --tlsv1.2 -sSf https://sh.rustup.rs | sh cargo

Verify Installation

You should see output like: sui 1.x.x

Project Structure

Create your first Move project:
This creates the following structure:

Move.toml Configuration

The Move.toml file defines your package configuration:

Build Your Project

Test that everything is set up correctly:
You should see: ✓ Build Successful

Editor Setup

Install the Move language extension:
  1. Open VS Code
  2. Go to Extensions (Cmd/Ctrl + Shift + X)
  3. Search for “Move” by “Mysten Labs”
  4. Click Install

Other Editors

Configure Sui Client

Set up your Sui client to interact with networks:

Available Networks

Production network for deployed applications
Stable test network for development
Latest features (resets frequently)
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