Darwin is the Open Source operating system from Apple that forms the basis for Mac OS X and PureDarwin. PureDarwin is a community project that aims to make Darwin more usable (some people think of it as the informal successor to OpenDarwin).
PureDarwin builds Darwin from Apple's open source releases and fills the gaps with its own code: drivers, frameworks, a desktop and a Nix build that produces bootable images.
- Targets. x86_64 PCs and laptops, and arm64 under QEMU. On arm64 hardware: the NVIDIA Jetson TX1, the Lenovo ThinkPad X13s, the Orange Pi Zero 3 (no Wi-Fi or GPU, its Mali driver is GPL) and the Orange Pi Zero 4 (no Wi-Fi). Apple A-series devices: the iPhone 6s (A9) under the Inferno emulator, with iPad 6 (A10) support being brought over. Apple M1 (t8103) bring-up is in progress.
- Desktop. A Wayland desktop (Argon, on our neuswc and neuwld compositor work) with its own applications, and X11.
- Cocoa frameworks. PureDarwin's own AppKit, Foundation, CoreFoundation, CoreGraphics, CoreText, QuartzCore and OpenGL, enough to run unmodified macOS applications. The stock macOS build of Firefox has run unmodified since October 2026.
- Graphics. AMD, Intel and nouveau GPUs through our in-kernel FreeBSD/Linux compatibility layer (fbsdkpi), Vulkan through Mesa, and NVIDIA Maxwell, Pascal and Volta cards on NVIDIA's own 580 driver through PDNVLoader.
- Linux binaries. elftrans runs unmodified Linux programs on XNU, including NVIDIA's userland (nvidia-smi, Vulkan).
- Drivers and filesystems. xHCI USB 3 and AHCI storage, HD Audio, Wi-Fi, and a read/write ext4 driver alongside HFS+ and APFS.
PureDarwin's own work, the projects it builds on, and how forks should credit it are listed in NOTICE. Forks are welcome. If you publish one, please say plainly what comes from PureDarwin and what is new in yours, in the places people actually read: READMEs, release notes and announcements.
See the Website for more information, and the Handbook for developer documentation.
Nix is the build system. On a Linux host with flakes enabled:
nix build .#image-minimal
nix run .#vm
The build uses PureDarwin's own open source SDK, so no Apple SDK is needed. Built images and release files are also on the binary cache at https://hydra.lab004.dev.
macOS hosts build components, including the kernel and libSystem, but not images, kernel collections or the QEMU runners. Finishing that path is on the roadmap. Building the tree by invoking cmake directly is not supported.
See Getting Started for the full version.
Development happens on main. Read CONTRIBUTING.md before opening a pull request, and CODING_STYLE.md for how code should look.
