Virtum
Docker-like Rust CLI for running local KVM/libvirt virtual machines and multi-VM labs defined in a YAML Virtumfile.
At a Glance
Virtum is free and open source under the Apache-2.0 license, including for commercial use.
Engagement
Available On
Listed Dec 2026
About Virtum
Virtum is an open-source (Apache-2.0) command-line tool written in Rust that runs virtual machines and multi-VM labs on a Linux machine using KVM and libvirt. It offers a Docker-like experience: one command for a single VM and a YAML Virtumfile for a whole lab. The latest release listed is v1.4.2.
What It Is
Virtum is a local virtualization CLI. Commands such as virtum run, virtum ps, virtum shell, stop, start and destroy manage individual VMs, while plan, up, apply and down manage labs described in a Virtumfile. VMs boot from official Debian and Ubuntu cloud images with copy-on-write disks, and machines in a lab are created in parallel.
Labs, Networking and Provisioning
Each lab gets its own isolated libvirt network, with optional fixed subnets and addresses. Ports can be forwarded to the host on 127.0.0.1, or exposed to the local network after confirmation, and VMs can be placed directly on the local network in bridge mode. Shared folders use virtiofs and are read-only by default. Ansible playbooks run on the first up, with an inventory generated from each VM's SSH keys, and virtum provision replays them. Cold disk snapshots let you save and restore a VM or a whole lab.
Security Model
The project documents a threat model that treats the guest as an adversary. Read-only shares are enforced on the host, each VM's SSH host key is pinned from creation, and Ansible runs from a private copy of its folder. Release binaries ship with SHA-256 checksums and build provenance attestations.
Requirements and Setup
Virtum needs Linux x86_64 with KVM and glibc 2.34 or newer; a regular VPS usually does not expose KVM. It is installed from a .deb package, a tar.gz archive, or from source, and virtum doctor checks that the host is ready. Shared folders are unavailable on Debian 12, Ubuntu 22.04 and Fedora with SELinux enforcing. The interface and help are available in English or French.
Collections
Popular collections
- Frameworks
Collection by @joemseifi
- Run YOLO Mode Without Risking Your Laptop
Collection by @reproalex
- Let Your Agents Talk to Each Other
Collection by @leftchannel
- See What Your Agent Is Doing remix
Collection by @joemseifi
Add Virtum to one of your collections.
Community Discussions
Be the first to start a conversation about Virtum
Share your experience with Virtum, ask questions, or help others learn from your insights.
Pricing
Open Source
Virtum is free and open source under the Apache-2.0 license, including for commercial use.
- Apache-2.0 licensed Rust CLI
- Local KVM/libvirt VMs and multi-VM labs defined in a YAML Virtumfile
- Isolated lab networks and bridge networking
- Shared folders (virtiofs)
- Built-in Ansible provisioning
Capabilities
Key Features
- Single-VM lifecycle commands (run, ps, shell, stop, start, destroy)
- Multi-VM labs defined in a YAML Virtumfile
- plan/up/apply/down workflow with parallel creation
- Isolated per-lab libvirt networks with fixed subnets and IPs
- Port forwarding and bridge networking
- virtiofs shared folders, read-only by default
- Ansible provisioning with generated inventory
- Cold disk snapshots of VMs or whole labs
- Official Debian and Ubuntu cloud images verified by checksum
- Per-VM pinned SSH host keys
- Host readiness check with virtum doctor
- English and French interface
