Back to list

XNU Linux

macOS running inside Linux — Apple's kernel as a loadable module, desktop and all.

Micah Bloom
Author
@Micah Bloom
Project ShowcaseDeveloper ToolsOnlineclaude-code
0
0

Project intro

XNU Linux runs macOS on Linux by loading Apple's own kernel, XNU, as a loadable kernel module inside an unmodified arm64 Linux kernel. The hosted macOS boots to the desktop — login window, Dock, Finder, Safari — and runs next to Linux processes on the same machine. It has 174 stars and 7 forks on GitHub.

There is no hypervisor between the two systems. XNU drives the CPU and memory directly, while Linux lends it timers, files, network, and the GPU through a small interface module. A stock Ubuntu kernel boots a macOS 27 system disk to the desktop in about half a minute.

Everything you need comes from your own installation — no Apple binaries are in the repository or distributed by it. The system disk comes from a macOS install you made yourself with Apple's installer, and it runs on Apple Silicon hardware inside a Linux virtual machine.

The project is honest about its rough edges: the OS cryptex is merged into the system volume, AMFI is patched and SIP is relaxed, and memory access is slower than a native virtual machine. The code is split by license — GPL on the Linux side, APSL on the XNU side — and the latest push landed on 23 November 2026.

Actions

Visit project URL

Tech stack

xnulinuxvulkan

Project info

Project category
Developer Tools
Project status
Online
Collaboration intent
None

Comments (0)

ME
0/1000
Loading comments...