
utmd
Disposable VM sandbox manager for UTM on macOS.
Clone base templates into isolated development environments prefixed with utmd-. Delete all sandboxes with a single command while leaving personal VMs untouched.
Global flags for automation and scripting:
Prerequisites
- macOS with UTM Desktop Application installed
- Base VM templates named
[t]-linuxand[t]-macosin UTM
Usage
delete-all --older-than currently supports h (hours) and d (days), for example 24h and 7d.
Config
Default config path:
Example:
= "/Applications/UTM.app"
= "/usr/local/bin/utmctl"
= "/Users/you/Library/Application Support/utmd/state.json"
= "utmd-"
[]
= "[t]-linux"
= "[t]-macos"
[]
= "{prefix}{os}-{date}-{rand}"
= 6
= 8
[]
= false
= false
Environment overrides:
Precedence:
JSON output
All commands return wrapped JSON with a stable top-level shape:
Exit codes:
Installation
utmd is available on crates.io and Homebrew.
Cargo
Homebrew
Build from Source
On first run, utmd checks for utmctl and reports a dependency error when it is unavailable.
Local Verification
Run the local verification gate before releases: