This guide walks you through standing up a local Mikrom development environment, installing the CLI, and deploying your first application into a microVM. By the end you will have a running deployment, a connected database, and a clear picture of the day-to-day workflow.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/mikronita/mikrom/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before you begin, make sure the following tools are available on your machine:- Rust stable toolchain — install via rustup.rs
- Docker and Docker Compose — the local stack runs Postgres, NATS, BuildKit, and the observability suite as containers
- Node.js and pnpm — required to run the SvelteKit dashboard (
mikrom-app) - Dagger CLI — needed for the
make ci-*build and validation profiles; see the Dagger installation guide
Firecracker and Cloud Hypervisor are only required on production worker nodes. For local development the agent, scheduler, builder, and API all run as ordinary processes; no hypervisor is needed.
Local Development Setup
Start the full infrastructure stack
make up-full starts PostgreSQL, NATS, the BuildKit daemon, and the Grafana/Prometheus/Loki/Tempo observability suite as Docker Compose services in the background.Launch the development session
make dev opens (or attaches to) a tmux session named mikrom with separate windows for the API, scheduler, builder, and SvelteKit app. Each service starts with cargo watch for live reloading.Your First Deployment
Log in
Authenticate against the local API. The JWT is stored in the CLI configuration file.To check who you are logged in as at any time:
Create an application
Register a new application by giving it a unique name and pointing it at a Git repository. The builder will clone this URL when a deployment is triggered.List all registered applications:
Deploy the application
Trigger a deployment. Mikrom clones the repository, builds an OCI image, schedules placement, and boots a microVM.Resource presets — the
--cpu and --memory flags accept fixed values only:| Resource | Allowed values | Default |
|---|---|---|
| CPU cores | 1, 2, 3, 4 | 1 |
| Memory | 512M, 1G, 2G, 4G | 512M |
Omitting both flags deploys with the defaults of 1 vCPU and 512 MB RAM. You can also pass
--hypervisor firecracker or --hypervisor cloud-hypervisor to select the VMM explicitly; the platform chooses a sensible default when the flag is omitted.Check deployment status
List all active deployments across every application:For granular status of a specific running instance, supply the app name and job ID printed by the previous command:
Working with Databases
Mikrom provisions managed PostgreSQL databases through Neon. Databases run in Cloud Hypervisor-backed microVMs on the platform and default to PostgreSQL 16.Create a database
Rollbacks and Lifecycle Operations
Activate a previous deployment
Roll back to any earlier deployment by its ID:Show the full deployment history for an application:
Running the Test Suite
Next Steps
Architecture
Understand how the control plane, traffic plane, and platform services fit together.
CLI Overview
Explore every command group: auth, app, deployment, db, volume, project, and PAT.
Deployment Scaling
Configure autoscaling thresholds, replica counts, and scale-to-zero behaviour.
Local Dev Setup
Deep-dive into tmux sessions, individual service targets, and environment configuration.