Quick Start Guide
Get Started in 3 Steps
Step 1: Install Mistcraft
BASH
# Requires Rust nightly (see rust-toolchain.toml)
cargo install mistup
# Verify installation
mistup --version
mistup 0.1.0
Step 2: Initialize Project
BASH
# Create a new Mistcraft project
mistup init my-infrastructure
cd my-infrastructure
# Project structure created:
├── mistcraft.toml # Project configuration
├── main.mist # Main infrastructure file
└── .mistcraft/ # State directory
Step 3: Define and Deploy
BASH
# Create your infrastructure definition
cat > infrastructure.mist << EOF
resource "azure_resource_group" "main" {
name = "my-resources"
location = "eastus"
}
EOF
# Preview changes (dry-run)
mistup deploy --dry-run
# Apply changes
mistup deploy
Deploying resources...
✓ azure_resource_group.main created
Deployment complete!
System Requirements
- Rust: 2024 Edition (nightly channel)
- OS: Linux, macOS, Windows
- Memory: 64MB minimum
- Disk: 10MB for binaries
Installation Methods
BASH
# Install from crates.io (when available)
cargo install mistup
# Install with all features
cargo install mistup --all-features
Next Steps
Ready to dive deeper? Check out these resources: