Skip to content
These docs are for the next devvm, which isn’t released yet. The docs for the current release are at devvm.dev.
How it works

How it works

These pages explain how devvm does what the other sections describe, for readers who want to check a claim, such as security reviewers and agents. They name the files devvm ships and the messages it prints. You don’t need them to use devvm.

  • Overview: what devvm does, step by step, when it makes, opens, stops and deletes a VM, and the state files it keeps.
  • Installing and updating: what the install script downloads and checks, devvm doctor --json, devvm’s own files, and upgrading.
  • Images and caching: how images and shared tools are built, keyed and cached, and how devvm checks what they start from.
  • Port forwarding: how devvm’s forwarder forwards a VM’s ports to your machine.
  • The desktop: how devvm desktop serves a VM’s desktop on your machine, checks its password and keeps your clipboard out, and why devvm doesn’t forward X11.
  • Network tiers: each tier’s confinement, the proxy, the self-check, and how secrets get into requests.
  • .git protection: what devvm locks, when it checks the locks, and what they can’t stop.
  • Security model: what devvm protects on your machine and how, and what it doesn’t protect.
  • Backends: each backend’s features, native or emulated, and what happens when one is missing.
  • Lima: devvm’s Lima home, confinement, clones and port forwarding on Lima.
  • Processes: what each of devvm’s processes holds, reads, writes and is confined by, the listeners a VM’s bytes reach, and why devvm is written in Go.
  • Coding agents: how the agents’ settings, logins and history reach a VM, and what devvm checks when it imports, saves and exports them.

Why devvm is built this way, what failed and what’s still open is in the design notes, under Contributing.

Last updated on