Updated in November 2026. This article was first published in Spanish in 2021 and used macOS-Simple-KVM, a project that hasn’t been updated since 2024 and only goes up to macOS Catalina. Today the practical options are quickemu and OSX-KVM, which are still active and already install macOS Sequoia and Tahoe.
Short answer: on Linux with KVM, install quickemu and run quickget macos sequoia followed by quickemu --vm macos-sequoia.conf. On first boot, erase the virtual disk with Disk Utility and install macOS. If you want more control, OSX-KVM does the same step by step. First, read the warnings: Apple’s licence, graphics performance and the future of this method.
Before you start: three warnings
- The licence. The macOS licence only allows installing it on Apple computers. This is useful for learning, testing a website in Safari or building something occasionally, but if you need macOS for work, use a Mac or a cloud Mac.
- Graphics. There is no graphics acceleration: macOS works, but animations are slow and it is not suitable for video or games. Only with certain AMD cards and GPU passthrough do you get something better.
- The future. macOS Tahoe 26 is the last version for Intel processors. The following ones will only run on Apple Silicon, so this method stops at Tahoe.
What you need
- A Linux PC with an x86-64 processor and virtualisation enabled in the BIOS (Intel VT-x or AMD-V). Intel works best; AMD usually works, sometimes with extra options.
- At least 16 GB of RAM on the computer, to give 8 to the virtual machine, and about 100 GB of free disk space.
- Working KVM: the command
ls /dev/kvmmust show the device.
Option 1: quickemu, the easiest
quickemu prepares the virtual machine with everything it needs (OpenCore, firmware and QEMU options). Install it from your distribution’s package or following the instructions on its GitHub, and then:
quickget macos sequoia
quickemu --vm macos-sequoia.conf
Change sequoia to sonoma, ventura or tahoe if you want another version. On first boot:
- In the OpenCore menu, choose the macOS installer.
- Open Disk Utility, select the empty virtual disk and erase it as APFS.
- Close Disk Utility, choose Reinstall macOS and install it on that disk. The machine restarts several times: always choose the macOS disk in OpenCore.
Option 2: OSX-KVM, step by step
OSX-KVM is the reference project and lets you change every option. On Ubuntu or Debian:
sudo apt install qemu-system uml-utilities virt-manager git wget libguestfs-tools p7zip-full make dmg2img
sudo modprobe kvm
echo 1 | sudo tee /sys/module/kvm/parameters/ignore_msrs
git clone --depth 1 --recursive https://github.com/kholia/OSX-KVM.git
cd OSX-KVM
./fetch-macOS-v2.py
dmg2img -i BaseSystem.dmg BaseSystem.img
qemu-img create -f qcow2 mac_hdd_ng.img 256G
./OpenCore-Boot.sh
fetch-macOS-v2.py lets you choose the macOS version and downloads the installer from Apple’s servers. After that, the installation is the same as with quickemu: Disk Utility, erase as APFS and install. The virtual machine’s memory and cores are set at the top of OpenCore-Boot.sh.
Tips after installing
- Don’t sign in with your personal Apple ID: iCloud and the App Store can give trouble in a virtual machine, and it isn’t worth risking the account.
- Networking works out of the box. To move files, a network shared folder or a service like Syncthing is the easiest.
- Make a copy of the virtual disk file once it is set up: if something breaks, you are back at that point in seconds.
Frequently asked questions
Is it legal to install macOS on QEMU?
Apple’s licence only allows macOS on Apple hardware. Installing it on another PC breaches it, even for testing.
Which macOS versions can be installed with QEMU?
With OSX-KVM and quickemu, from the old ones up to Sequoia 15 and Tahoe 26. Tahoe is the last for Intel.
Can I install macOS on QEMU from Windows?
This method needs Linux with KVM. On Windows, the usual way is to use a computer with Linux.
Why is macOS slow in the virtual machine?
Because there is no graphics acceleration. It is fine for testing and development, not for video or 3D work.