brew install ingmarstein/havm/havm
Verify the installation:
havm version
havm run
The VM boots and stays attached to your terminal. Press Ctrl+C to stop.
brew services start havm
The VM starts at login and restarts automatically if it exits. View logs with:
brew services info havm
When running as a service, havm uses separate paths to avoid conflicts with foreground runs:
| Purpose | Path |
|---|---|
| VM data | /opt/homebrew/var/lib/havm/ |
| Config (optional) | /opt/homebrew/etc/havm/config.yml |
On first run, havm handles everything automatically:
.img.xz)~/Library/Application
Support/havm/vm/haos.img and resizes it (default 32 GiB, configurable)The download is cached in ~/Library/Caches/havm/, so subsequent installs or
re-runs skip the fetch.
HA OS updates are handled from within Home Assistant itself (Settings →
System → Updates). havm only manages the VM; it doesn’t re-download HA OS
after the initial setup unless you run havm cleanup first to clear the cache.