AFK-surfxnulinux
XNU as a loadable kernel module inside Linux (macOS personality for arm64 Linux)
- Repository stars
- 4,943 Star
- All-time
- #12,379 all time
- Fork
- 270 Fork
- Repository created
- since 2026
- Type
- Frameworks & SDKs
- Language
- C
- License
- Custom license
About
READMExnulinux runs macOS userspace on Linux by loading the macOS kernel into it.
What it does
It builds XNU, the open-source kernel of macOS, from Apple's published sources and runs it as the module xnu.ko inside an unmodified arm64 Linux kernel.
Getting started
Tested setups include an arm64 Linux VM on an Apple Silicon Mac with M1 or newer, using krunkit for GPU access via virtio-gpu Venus, or tart.
Limitations
- You supply your own macOS 27 installation (an Apple Virtualization disk). No Apple binaries are in this repository or distributed by it; kexts, the system disk, and the trust cache come from your installation.
- xnu.ko is APSL-2.0. Linux reports it as a non-GPL module with MODULE_LICENSE("Proprietary"), which taints the kernel as ZFS does.
Summarized by AI from the README · As of 2026-12-02, AFK-surf/xnulinux had 4,943 stars. According to the 2026-12-02 record, AFK-surf/xnulinux is catalogued under Operating Systems & Distros. Custom license (NOASSERTION). Check the original terms for commercial use. The last push was on 2026-12-01. The figures come from a GitHub API snapshot. Stars count expressions of interest. Record updated: . About the data
README
View on GitHubRaw observations · 9
| Measured at | Repository stars | Source |
|---|---|---|
| 2026-12-02 03:32 UTC | 4,943 | Source |
| 2026-12-01 04:08 UTC | 4,873 | Source |
| 2026-11-30 03:19 UTC | 4,770 | Source |
| 2026-11-29 03:14 UTC | 4,636 | Source |
| 2026-11-28 03:17 UTC | 4,377 | Source |
| 2026-11-27 03:20 UTC | 4,259 | Source |
| 2026-11-26 03:23 UTC | 3,983 | Source |
| 2026-11-25 17:11 UTC | 3,825 | Source |
| 2026-11-24 02:44 UTC | 2,211 | Source |
Add a badge to your README
For project authors: paste it into the README. It updates daily and links back here.
[](https://github.day/resources/xnulinux?ref=badge)