ForkFree

Developer tools

xnulinux

by AFK-surf

xnulinux builds Apple's open-source XNU kernel and loads it as a module inside an arm64 Linux kernel, so a macOS 27 system disk can boot to the desktop alongside Linux. It is an experimental way to run macOS on arm64 Linux machines without a hypervisor.

Proof level: ReadCheck the licenceUnclear

Get it on GitHubCompare

No demo yet

Proof level: Read. We read its README and licence and ran our automatic checks. We have not run it yet. So this page is based on its README and our automatic checks.

The catch

Check the licenceNo standard licence detected. Read the licence before using it commercially.

Check this first: No standard licence, so check what you are allowed to do before relying on it.

Things to check

  • Licence is unclear (NOASSERTION), and the project mixes Apple APSL code with GPL modules
  • Running macOS on non-Apple hardware may breach Apple's software licence terms
  • Experimental: AMFI is patched, SIP is relaxed and some parts are stopgaps
  • Needs an arm64 Linux host with at least 16 GB of RAM, a Mac with Xcode and your own macOS 27 installation
  • Hardware GPU acceleration only works in a virtio-gpu VM; bare metal uses slower CPU rendering
  • Loads a custom kernel module that takes over CPUs and memory, so it risks crashing the host

Can you use xnulinux commercially?

No standard licence detected. Read the licence before using it commercially.

Not legal advice. Read the project's licence file before building a product on it.

What can you do with xnulinux?

  • Boot a macOS 27 desktop on an arm64 Linux machine or Linux VM
  • Run macOS and Linux processes side by side on the same CPUs
  • Run the hosted macOS as a systemd service on a Linux host, with optional GPU access in a virtual machine

How do you get xnulinux running?

You build XNU and the kernel modules from source with the provided shell scripts on an arm64 Linux host, and make the macOS system disk from your own macOS installation using a Mac with Xcode.

Follow the official instructions in the project README.

Ways a business could use it

  • Test macOS-only software on arm64 Linux servers or a DGX Spark instead of buying separate Mac hardware, subject to Apple's licence terms
  • Use it as a research base for kernel, compatibility or security work on macOS internals

Who's talking about it

Checked 24 Nov 2026. Summary drafted by AI from the project's README. Proof level 1 of 4, Read: we read its readme and licence and ran our automatic checks. we have not run it yet.

Similar tools in Developer tools

rust-anything erkamyaman
New and promising

rust-anything is a command-line tool that records how an existing app behaves, then helps a coding agent rewrite it in Rust one piece at a time. Each Rust piece is checked against the recording before the next one is done, so the finished app behaves like the original.

Proof level: Read 9.4k stars +915 a day MIT
kiri libracoder
New and promising

Kiri is a lightweight container runtime written in Rust for macOS, Windows and Linux. It runs Docker images and works with the existing docker command, Compose and buildx, as a lighter alternative to Docker Desktop.

Instead of Docker Desktop, OrbStack

Proof level: Read 13.2k stars +958 a day Apache-2.0
fast-anything EL4CTEO
New and promising

A command-line tool that profiles a slow Python, Node, Ruby or similar app, finds the few functions that take most of the time, and has your coding agent port only those to Rust. It then replays recorded real calls to check the Rust version gives the same results before switching it on.

Proof level: Read 3.8k stars +664 a day MIT