{"by":"frabonacci","descendants":44,"id":46670181,"kids":[46672317,46753184,46672638,46674071,46674179,46671291,46674917,46675824,46672852,46676881,46686417,46670943],"score":154,"text":"Hey HN, Lume is an open-source CLI for running macOS and Linux VMs on Apple Silicon. Since launch (<a href=\"https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=42908061\">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=42908061</a>), we&#x27;ve been using it to run AI agents in isolated macOS environments. We needed VMs that could set themselves up, so we built that.<p>Here&#x27;s what&#x27;s new in 0.2:<p>*Unattended Setup* – Go from IPSW to a fully configured VM without touching the keyboard. We built a VNC + OCR system that clicks through macOS Setup Assistant automatically. No more manual setup before pushing to a registry:<p><pre><code>  lume create my-vm --os macos --ipsw latest --unattended tahoe\n</code></pre>\nYou can write custom YAML configs to set up any macOS version your way.<p>*HTTP API + Daemon* – A REST API on port 7777 that runs as a background service. Your scripts and CI pipelines can manage VMs that persist even if your terminal closes:<p><pre><code>  curl -X POST localhost:7777&#x2F;lume&#x2F;vms&#x2F;my-vm&#x2F;run -d &#x27;{&quot;noDisplay&quot;: true}&#x27;\n</code></pre>\n*MCP Server* – Native integration with Claude Desktop and AI coding agents. Claude can create, run, and execute commands in VMs directly:<p><pre><code>  # Add to Claude Desktop config\n  &quot;lume&quot;: { &quot;command&quot;: &quot;lume&quot;, &quot;args&quot;: [&quot;serve&quot;, &quot;--mcp&quot;] }\n    \n  # Then just ask: &quot;Create a sandbox VM and run my tests&quot;\n</code></pre>\n*Multi-location Storage* – macOS disk space is always tight, so from user feedback we added support for external drives. Add an SSD, move VMs between locations:<p><pre><code>  lume config storage add external-ssd &#x2F;Volumes&#x2F;ExternalSSD&#x2F;lume\n  lume clone my-vm backup --source-storage default --dest-storage external-ssd\n</code></pre>\n*Registry Support* – Pull and push VM images from GHCR or GCS. Create a golden image once, share it across your team.<p>We&#x27;re seeing people use Lume for:\n- Running Claude Code in an isolated VM (your host stays clean, reset mistakes by cloning)\n- CI&#x2F;CD pipelines for Apple platform apps\n- Automated UI testing across macOS versions\n- Disposable sandboxes for security research<p>To get started:<p><pre><code>  &#x2F;bin&#x2F;bash -c &quot;$(curl -fsSL https:&#x2F;&#x2F;raw.githubusercontent.com&#x2F;trycua&#x2F;cua&#x2F;main&#x2F;libs&#x2F;lume&#x2F;scripts&#x2F;install.sh)&quot;\n\n  lume create sandbox --os macos --ipsw latest --unattended tahoe\n  lume run sandbox --shared-dir ~&#x2F;my-project\n</code></pre>\nLume is MIT licensed and Apple Silicon only (M1&#x2F;M2&#x2F;M3&#x2F;M4) since it uses Apple&#x27;s native Virtualization Framework directly—no emulation.<p>Lume runs on EC2 Mac instances and Scaleway if you need cloud infrastructure. We&#x27;re also working on a managed cloud offering for teams that need macOS compute on demand—if you&#x27;re interested, reach out.<p>We&#x27;re actively developing this as part of Cua (<a href=\"https:&#x2F;&#x2F;github.com&#x2F;trycua&#x2F;cua\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;trycua&#x2F;cua</a>), our Computer Use Agent SDK. We&#x27;d love your feedback, bug reports, or feature ideas.<p>GitHub: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;trycua&#x2F;cua\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;trycua&#x2F;cua</a>\nDocs: <a href=\"https:&#x2F;&#x2F;cua.ai&#x2F;docs&#x2F;lume\">https:&#x2F;&#x2F;cua.ai&#x2F;docs&#x2F;lume</a><p>We&#x27;ll be here to answer questions!","time":1768758801,"title":"Show HN: Lume 0.2 – Build and Run macOS VMs with unattended setup","type":"story","url":"https://cua.ai/docs/lume/guide/getting-started/introduction"}