devvm size shows this folder's VM's CPUs, memory and disk (cpus=4 memory=8GiB disk=100GiB), with a note when a change waits for its next start; --cpus, --memory and --disk change them, at once for a stopped VM, from its next start for a running one. Disks only grow; more than this machine has is refused. -g/--global shows (cpus=, memory=, disk= lines) or changes the size new VMs get (~/.config/devvm/size), keeping what it leaves unset. A change checks the backend's features first. - vm: Env.ShowSize, Env.SetSize, SizeText, pendingSize (also used by applySize), defaultSize (also used by up), folderVM (shared by ports, ssh-agent and size) - messages: vm_size, size_pending, size_defaults, no_vm_size, size_failed; size_flags_ignored names devvm size - tests: size.txtar (show, set, running vs stopped, -g, a hand-edited size file, refusals), TestSetSize, TestSizeText; the limactl stub's edit applies --cpus/--memory/--disk; e2e project: a new VM gets its size, devvm size shows it, a running VM's new size waits for restart then applies, a smaller disk is refused - docs: images.md Size and Disk use, commands.md rows, CLI reference 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.