Creating macOS VMs

macOS VMs are created from IPSW restore images and require a two-step process: initialization and installation.

Step 1: Initialize the VM bundle

vmctl init ~/VMs/sandbox.GhostVM \
  --cpus 6 \
  --memory 16 \
  --disk 128 \
  --restore-image ~/Downloads/UniversalMac_15.2_Restore.ipsw

Options:

OptionDefaultDescription
--cpus4Number of virtual CPUs
--memory8Memory in GiB
--disk256Disk size in GiB (sparse file)
--restore-imageautoPath to IPSW file
--shared-folderHost folder to share with guest
--writablefalseMake shared folder writable

Step 2: Install macOS

vmctl install ~/VMs/sandbox.GhostVM

This installs macOS from the restore image onto the VM's disk. Installation takes several minutes and shows progress.

Step 3: Start the VM

vmctl start ~/VMs/sandbox.GhostVM

Restore Image Discovery

If you don't specify --restore-image, GhostVM auto-discovers IPSW files from ~/Downloads/*.ipsw and /Applications/Install macOS*.app.

Using the GUI

  1. Click Create in the main window
  2. Select “macOS” as the guest OS
  3. Configure CPU, memory, and disk
  4. Select a restore image from the dropdown
  5. Optionally add shared folders
  6. Click Create, then Install
Apple's EULA requires macOS guests to run on Apple-branded hardware.