SuperAPIAI Directory

devvm

github.com · AI coding

devvm is a tool that creates an isolated virtual machine sandbox for each project, with the toolchain required by the project built in, making it easy for developers or coding agents to start coding directly. It supports macOS and Linux, runs virtual machines through Lima, can automatically detect project files and configure the toolchain, supports coding agents such as Claude Code and Codex, and provides security features such as network layering and secret isolation.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Linux

About this tool

devvm is a tool that creates an isolated virtual machine (VM) sandbox for each project, aiming to provide an isolated coding environment for developers or coding agents. Each project folder corresponds to one VM; the VM mounts only that project folder and comes preinstalled with the toolchain required by the project, so users or agents can start coding directly inside the VM.

Main capabilities:

  • Automatically detect project files (such as package.json) and configure the corresponding toolchain.
  • Support multiple coding agents (Claude Code, Codex, opencode, pi, Cursor CLI) and preserve their settings, skills, and MCP servers.
  • Provide built-in layers (docker, nix, desktop) and custom layers.
  • Run VMs based on Lima, supporting macOS 13+ and Linux (arm64/x86_64).
  • Network layering: new VMs use the allowlist layer by default and can access only allowed hosts.
  • Secrets remain on the host machine and do not enter the VM.
  • Support clone mode (--clone), in which the VM gets an independent clone of the repository without affecting the working tree.

Usage: macOS can install via Homebrew (which also installs Lima); Linux can install via an installation script (which asks whether to install Lima, QEMU, or access /dev/kvm). After installation, run devvm doctor to check the environment. Run devvm in a project folder to create and enter a VM; the prompt starts with (devvm). The first run asks about default settings and builds the base image (a few minutes); subsequent VM startups take only seconds.

Use cases: developers who need to provide isolated development environments for different projects, especially when using coding agents, to prevent agents from accessing sensitive information on the host machine or interfering with other projects.

Limitations: not currently tested on Intel Macs; requires Lima 2.2 or later; no sandbox can completely close all vulnerabilities, so security practices must be followed.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools