Install and use macOS
macOS installs in a machine from Apple's newest restore image for your Mac, or from an IPSW file you already have.
Install macOS
With macOS 27 or later on your Mac and in the machine, OSMates sets up the account and the guest agent for you.
- Choose File > New Machine.
- Select macOS from Apple, then click Continue.
- Enter a name, then a Password and Verify for the account.
- Check Language & Region, which starts with your Mac's settings, and Resources. Then click Create.
- Start the machine when creation finishes.
Creation starts the machine once to set up the account and the guest agent. The account then signs in by itself. If the machine shows a locked screen, which macOS doesn't report, run osmates vm sign-in mac --locked.
To create a British English machine with a Dvorak keyboard in Terminal, with the password in $PASSWORD:
printf '%s\n' "$PASSWORD" | osmates vm create mac --image macos --password-stdin \
--language en-US,en-GB --region GB --time-zone Europe/London --keyboard Dvorak
osmates vm start mac
Add --ipsw with the path of a restore image you have, and --remote-login to turn on Remote Login. To bring a machine from another app, see Move a machine from another app.
Set up macOS yourself
When your Mac or the restore image is older than macOS 27, you finish Setup Assistant and install the guest agent yourself. New Machine then asks for no password.
- Choose File > New Machine, select macOS from Apple or macOS from an IPSW File, then click Continue.
- For an IPSW file, choose the restore image. Then click Create.
- Start the machine and finish Setup Assistant.
- In the guest, open
/Volumes/My Shared Filesand installOSMates Agent.pkg.
macOS 12 doesn't mount that folder. Copy OSMates Agent.pkg from OSMates.app/Contents/Resources/MacGuestTools into the guest instead, such as with AirDrop.
A macOS 27 machine needs macOS 26.6 or later on your Mac. On macOS 26.4 or 26.5, New Machine refuses a macOS 27 restore image. Update your Mac in System Settings > General > Software Update, or use an IPSW of macOS 26.
Run two macOS machines at once
Apple allows two running macOS machines, counting every app on your Mac. A stopped machine with an open window doesn't count. A third start waits or is refused.
Let agents read the controls
- In the machine, choose Apple menu > System Settings, then click Privacy & Security in the sidebar.
- Click Device Control and Data Access, or Accessibility before macOS 27.
- Turn on OSMates Agent.
Clones keep this permission, and AI agents can't turn it on for you.
Use iCloud
Sign in to your Apple Account yourself, in the machine. iCloud works in machines installed from macOS 15 or later.
You sign in again when the machine gets a new identity:
- You clone it, or copy it to another Mac.
- You start it on another Mac from a drive you can unplug.
- A second copy starts while one runs.
A machine starts only on a Mac that supports its hardware model.
A clone that keeps the machine identifier is a copy, so only one of them runs at a time. Apple explains its iCloud rules for macOS machines.
Update macOS inside a machine
- Start the machine.
- Select it in the library, then choose Machine > Update macOS.
- Check the update, then click Update. If you see a password field, enter the account's password.
OSMates first saves a Before macOS <version> snapshot, and installs nothing without it. The install takes 30 minutes or more. In Terminal, save the password with osmates vm password mac, then run osmates vm update-macos mac.
To undo the update, revert to that snapshot. To stay there, turn off automatic updates in the machine. If the screen stays black, see macOS machine breaks after an update.
While Software Update offers an update, OSMates also saves the machine every 6 hours on the first day, then daily. A new major version installs only from System Settings in the machine.