Skip to content

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
Language
C
License
Custom license
Custom licenseNot a standard open-source license; read the license file before commercial use
Actively maintainedLast push today

About

README

xnulinux 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

Raw observations · 9
Historical observations
Measured atRepository starsSource
2026-12-02 03:32 UTC4,943Source
2026-12-01 04:08 UTC4,873Source
2026-11-30 03:19 UTC4,770Source
2026-11-29 03:14 UTC4,636Source
2026-11-28 03:17 UTC4,377Source
2026-11-27 03:20 UTC4,259Source
2026-11-26 03:23 UTC3,983Source
2026-11-25 17:11 UTC3,825Source
2026-11-24 02:44 UTC2,211Source

Add a badge to your README

For project authors: paste it into the README. It updates daily and links back here.

Badge preview
[![github.day](https://github.day/badge/xnulinux.svg)](https://github.day/resources/xnulinux?ref=badge)

Share this project

Share on X

First collected 2026-11-24Measured at 2026-12-02 03:32 UTCSource

Compiled from public project information; not independently tested. · Repository Stars, not unique users · License tiers are derived from metadata. Check obligations for your use; unknown does not mean prohibited.