devvm puts every project in its own sandboxed VM with one command

Devvm.dev: One VM for every project

devvm puts every project in its own sandboxed VM with one command

devvm is a free, open-source tool that spins up an isolated VM for each project folder, preloaded with the right toolchains and ready for Claude Code, Codex, or opencode. It ships sensible defaults: ports forward automatically, git identity carries over, and agents' secrets stay on your machine while a proxy injects them. New VMs default to an allowlisted network tier, and on macOS .git hooks are locked down. One command, no config.

You know you should run your code and agents in a sandbox, but most tools need configuration and setup that's hard to get right.
  1. photonios

    I keep seeing projects like this pop up and they never nail it.

    I need isolation, but I also need to give my agents secure access to internal package registries, logs, internal infra, designs, emulators, browsers, docs etc. At a large company, work can span dozens of repositories. And on top of that, I need dozens of these.

    I built this at work. Engineers use krunkit VMs with proper memory ballooning, GPU acceleration. Retina RDP, credential injecting proxy for etc.

    This seems like a fun toy for single project development, but nothing close to what you need as an engineer in a corporate environment.

  2. mnahkies

    Damn, I've been building something very similar the past few weeks - haven't quite gotten to a public release yet.

    Mines based on libvirt and uses cloud-init for creating the images, with shared golden images across projects.

    Skimming your docs it wasn't totally clear to me if your images are built per project, or COW from shared toolchains.

    Looks like you have a few features in there that I might take some inspiration from though, eg the proxying stuff.

    Funny how many of us are trying to solve the same problem at the moment.

  3. jFriedensreich

    I see nothing this brings over smolvm machines. I did not use lima / krunkit outside colima but in colima it was just slow, had outdated devx and was unreliable compared to controlling every detail with an embedded vm library.

  4. brkomir

    One of the fake recruiters contacted me on LikedIN for a Solidity dev role, with an assignment repo that came as a zip in DM. Everything looked fine since Finder only showed .sol files, but Finder doesn't show .git and other hidden folders by default. However .git was there, and it had a hook that ran eval() on a remote address on commit/push.

    As I read it, .git protection stops the VM from changing hooks, and --clone leaves the hook behind since a clone doesn't copy hooks. However, the hook is still in the folder on the host. Does devvm inspect and warn when a folder already has hooks before you start?

  5. sdevonoes

    I tried to develop an electron app this way; ubuntu VM (using qemu/multipass) on macos as host with Intellij IDEA. Couldnt make it work properly. Sure, I can install all the toolchain in the VM, and Intellij would recognize it (they have a “remote dev” setup), but for instance for electron apps you cannot just run a headless vm, and there is no convinient way to make a change in your mac, hot reload in the VM, and interact with the electron app in your mac.

More from this day

2026-11-06