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

Original title: Devvm.dev: One VM for every project

> Hacker News story 50395450 · language: en · submitted 2026-11-06
> Web version: https://zeli.app/story/50395450
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 181 · by [luispa](<https://news.ycombinator.com/user?id=luispa>) · 💬 72
[original](<https://devvm.dev/>) · [HN discussion](<https://news.ycombinator.com/item?id=50395450>)

## Summary

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.

## Key quote

> 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.

## HN discussion (72 comments)

### [photonios](<https://news.ycombinator.com/item?id=50398964>)

> 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.

### [mnahkies](<https://news.ycombinator.com/item?id=50397143>)

> 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.

### [jFriedensreich](<https://news.ycombinator.com/item?id=50396576>)

> 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.

### [brkomir](<https://news.ycombinator.com/item?id=50396465>)

> 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?

### [sdevonoes](<https://news.ycombinator.com/item?id=50398537>)

> 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.

---

## Cite

- Page: https://zeli.app/story/50395450
- Date: 2026-11-06
- Source: devvm.dev (https://devvm.dev/)
- Hacker News: https://news.ycombinator.com/item?id=50395450

## Other languages

- zh: https://zeli.app/zh/story/50395450 · markdown: https://zeli.app/zh/story/50395450.md
- ja: https://zeli.app/ja/story/50395450 · markdown: https://zeli.app/ja/story/50395450.md
- ko: https://zeli.app/ko/story/50395450 · markdown: https://zeli.app/ko/story/50395450.md
- de: https://zeli.app/de/story/50395450 · markdown: https://zeli.app/de/story/50395450.md
- es: https://zeli.app/es/story/50395450 · markdown: https://zeli.app/es/story/50395450.md
- ru: https://zeli.app/ru/story/50395450 · markdown: https://zeli.app/ru/story/50395450.md
