Prerequisites
Ensure you have the following installed on your system:- Rust (latest stable version)
- Git
- pnpm (version 9.6.0 to 9.15.9) for TypeScript SDK development
- A code editor (VS Code recommended)
Install the IOTA CLI
The IOTA CLI is your primary tool for interacting with the IOTA network and managing Move packages.Install Rust
If you don’t have Rust installed, download it from rust-lang.org:Follow the on-screen instructions to complete the installation.
Configure IOTA CLI
Initialize IOTA client
Set up your IOTA client configuration:This command initializes the client and creates a configuration file at
~/.iota/iota_config/client.yaml.Install Move development tools
Set up TypeScript SDK (optional)
If you plan to build frontend applications, install the IOTA TypeScript SDK:Verify your setup
Confirm everything is working:Next steps
Now that your environment is set up, you’re ready to:- Create your first Move package
- Write and deploy smart contracts
- Interact with the IOTA blockchain
Troubleshooting
Rust toolchain issues
If you encounter Rust version issues, check the required version:Network connection issues
If you cannot connect to a network, verify:- Your internet connection is active
- The RPC endpoint is correct
- Firewall settings allow outbound connections
CLI not found
If theiota command is not recognized:
- Ensure the binary is in your PATH
- Try using the full path to the binary
- Restart your terminal after installation