Revm
revm helps you quickly launch Linux VMs / Containers
Install / Use
/learn @ihexon/RevmREADME
[!WARNING] This project is currently under heavy development
A lightweight Linux microVM for macOS powered by libkrun. Two independent modes: chroot mode (run commands inside an isolated Linux rootfs) and docker mode (run a full Podman container engine on Apple Silicon).
Requirements
macOS Sonoma or later
Installation
wget https://github.com/ihexon/revm/releases/download/<TAG>/revm-Darwin-arm64.tar.zst
xattr -d com.apple.quarantine revm-Darwin-arm64.tar.zst
tar -xvf revm-Darwin-arm64.tar.zst
Command Overview
cmd/revm exposes three user-facing subcommands:
| Command | Alias | What it does |
|----------------|-------|----------------------------------------------------------------------------------------------------------|
| revm chroot | _ | Boot a Linux microVM from a custom or built-in rootfs, then run a command inside it |
| revm dockerd | _ | Boot the built-in container VM and expose a Podman-compatible API socket on the host |
| revm attach | _ | Reconnect to an existing session over SSH, either as an interactive shell (--pty) or a one-off command |
Quick Start
# Run a command inside a rootfs-backed VM
revm chroot --id build --rootfs ~/ubuntu-rootfs -- bash -lc 'uname -a'
# Re-enter the same VM from another terminal
revm attach --pty build
# Start the built-in container engine
revm dockerd --id engine
export CONTAINER_HOST=unix:///tmp/engine/socks/podman-api.sock
podman run --rm alpine uname -a
Documentation
| Document | Description | |-------------------------------------------|---------------------------------------------------------------------------------| | chroot mode | Linux chroot alternative on macOS — run any rootfs with near-native performance | | docker mode | Full container engine without Docker Desktop — Podman/Docker CLI compatible | | attach | Connect to a running VM instance | | workspace & networking | Session directory layout, reuse/cleanup, and network backends (gvisor / tsi) | | management API | VM management API via Unix socket |
Bug Reports
https://github.com/ihexon/revm/issues
License
Apache License 2.0 — see LICENSE for details.
Some parts of this document were written using AI assistance because I was lazy.
Related Skills
healthcheck
344.4kHost security hardening and risk-tolerance configuration for OpenClaw deployments
node-connect
344.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
prose
344.4kOpenProse VM skill pack. Activate on any `prose` command, .prose files, or OpenProse mentions; orchestrates multi-agent workflows.
frontend-design
99.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
