devvm network prints the VM's network policy as ls shows it (on, off, unenforced); devvm network on|off changes its state, applied when it next starts (net_set_running/net_set_stopped, net_already when unchanged, net_on_old_tokens on turning on). on needs the backend's egress proxy. A running VM turned off stays on its proxy until it next starts (net_off_next_start). Confined now means started with the proxy (Lima reads the recorded network; the fake tracks Start's), so a VM turned on while it ran direct is unenforced and its launch offers the confined restart; net_unenforced* say it wasn't started confined. net_flag_ignored, net_off_log and net_off_policy name devvm network. Docs: network.md "Turning it on or off", commands.md, security.md, contributing.md, CLI reference. Tests: TestNetwork, TestNetworkRequiresEgressProxy, Lima's Confined after a direct start, network.txtar (what it prints), e2e network (off, on while running, off while confined). Co-Authored-By: Claude Opus 5.5 <[email protected]>
devvm
Create an isolated VM in any project folder with everything needed for you or an agent to start coding.
cd ~/some-project
devvm
devvm detects the project's toolchain, creates a VM from a cached image, mounts only the project folder, and opens a shell at the same path. Toolchains and coding agents are shared read-only between VMs, network access goes through an allowlist enforced on the host, and API keys stay on the host.
Quickstart
devvm runs on macOS and Linux, with Lima 2.0 or newer. devvm doctor checks what's missing and how to get it.
$ cd ~/some-project
$ devvm --network-policy base
==> building image base (e9f517dddef1)
a few minutes, and Ubuntu's cloud image to download the first time
(details: ~/.local/share/devvm/logs/runs/20261024-090616-83541.log)
==> image base ready
==> creating devvm-some-project-71a99b1076d92c from base
==> starting devvm-some-project-71a99b1076d92c
Then you're in a shell in the VM, in ~/some-project. The first VM builds the base image. Later VMs are copies of it and start in seconds. With --network-policy the VM reaches only an allowlist of hosts, through a proxy on your machine (network policy); without a flag devvm asks.
Docs
w3cj.github.io/devvm, from docs/: commands, the security model. Building, testing and writing docs: Contributing.