Lume is a macOS virtualization tool that creates and manages macOS and Linux VMs with near-native performance on Apple Silicon, using Apple’s Virtualization.framework. This tutorial walks through a complete local VM setup: installing Lume, downloading a macOS Tahoe restore image, creating a VM with the unattended preset, starting it, and verifying the guest over SSH.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/trycua/cua/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites: An Apple Silicon Mac (M1 or later) running macOS 13 or later, 8 GB of available memory, and at least 50 GB of free disk space. The restore image requires additional download space.
Steps
Download the Tahoe restore image
Ask Lume for the latest supported restore image URL, then download it:The
lume ipsw command queries Apple’s catalog and returns a list of verified restore image URLs. tail -n 1 selects the most recent one.The restore image is large (typically 12–15 GB). Download time depends on your connection speed.
Create the VM
Create a new VM using the Tahoe unattended preset:The
--unattended tahoe preset prepares the installed guest completely offline. It:- Creates the
lumeuser account - Enables SSH
- Configures autologin
- Disables sleep and screen locking
The Tahoe preset is fully verified end-to-end. The
sequoia preset may still open the Accessibility step of Setup Assistant on its first display boot — see the known issue.Run the VM
Start the VM with its display:The default guest credentials are
lume / lume. Change the password before using the VM for anything sensitive.What the unattended preset does
The--unattended option runs a sequence of offline setup steps after the OS is installed:
| Step | What happens |
|---|---|
| User creation | Creates the lume user with password lume |
| SSH setup | Enables and starts sshd |
| Autologin | Configures automatic login for the lume user |
| Sleep disabled | Prevents the VM from sleeping or locking the screen |
| SSH health check | Verifies the guest is reachable before reporting success |
lume create returns.
Common Lume commands
Using Lume with Cua Sandbox
Lume is the local backend for macOS sandboxes in Cua Sandbox. Once Lume is installed, you can create macOS sandboxes from Python:macos_sandbox.py
Next steps
Create a vanilla Tahoe VM
Lifecycle commands, troubleshooting, and disk resize for macOS VMs.
Serve the Lume API
Expose Lume as a local HTTP API for tools and automation scripts.
Lume CLI reference
Every Lume command, flag, and option explained.
How sandboxes work
Understand how Lume fits into Cua Sandbox as the local macOS VM backend.