Darwin you can boot.

PureDarwin is a free operating system built from Apple's open source Darwin releases. Apple publishes the kernel and much of the Unix userland, but never enough to boot a computer. We combine and extend existing open source projects, and write our own code where nothing exists, to provide a bootloader, drivers, frameworks, a desktop and the build that puts them together.

Test builds from the current code, for a VM or spare hardware. No installer yet.

Hexley in front of the Argon desktop
Hexley in front of PureDarwin 26.5 on the Argon desktop, with Terminal, Settings, System Information and Calculator. Running in QEMU, with OpenGL through virgl on the host's Radeon RX 7800 XT.

Built on

PureDarwin stands on a lot of other people's work. The kernel and most of the core system are Apple's Darwin open source releases. AppKit, CoreGraphics, CoreData and the Onyx2D drawing engine started from Cocotron, by Christopher J. W. Lloyd and its contributors, by way of the copies ravynOS carries. Foundation grew from the small first version in NeoDarwin's Foundation, and dyld and corecrypto come through NeoDarwin. The Metal frontend is Darling Metal. Drivers run on code from FreeBSD and Haiku, ACPI on uACPI, XPC on NextBSD's libxpc, and the desktop on Wayland, wlroots, neuswc and Mesa. The compiler is LLVM.

Our own work is what ties these together and fills the gaps between them. The Credits page says what came from where, and what PureDarwin added to it.

Documentation

How the build works, what lives where, how an image is assembled, per-target status, a porting guide and a debugging guide.

Handbook

Contribute

Work happens on the main branch. Porting and packaging software is the best place to start. The contribution guide explains what we accept and why.

GitHub

Community

Development happens in the open, and everyone is welcome to ask questions, follow the work or help out.

News

All news

What works today

On a PC, PureDarwin boots to its own desktop, Argon, in QEMU or on real hardware. It has drivers for AMD, Intel and NVIDIA graphics, wired and Wi-Fi networking, and ext4 disks. There's a terminal, a file manager, settings, a text editor, an image viewer and a few other apps, Wine for Windows programs, and a compiler that runs on PureDarwin itself.

On arm64 it boots to a shell in QEMU, and there's a QEMU image with a Wayland desktop too. Real arm64 boards are earlier along. The NVIDIA Jetson TX1 has booted to the desktop, the Orange Pi Zero 3 and Zero 4 have board support but haven't been tested on hardware yet, and more boards are in bring-up.

PCs can boot it from UEFI or a legacy BIOS. Secure Boot works with an image you build yourself, because signed downloads aren't published yet.

Full status for each target

Download a developer preview

These are test images built from the current code. They boot straight into PureDarwin and are meant for trying it out in a VM or on spare hardware. There's no installer download yet, and things will break. See the roadmap for what comes next.

  • Desktop (Argon, Wayland) The Argon desktop on Wayland, with AMD, Intel and NVIDIA (nouveau) GPU drivers, Wi-Fi, the built-in apps and Wine. Boots from UEFI, including 32-bit UEFI. latest build of release.wayland, .img.zst, sha256
  • Desktop with NVIDIA driver The Argon desktop with NVIDIA's own 580 driver, for Maxwell, Pascal and Volta cards. latest build of release.nvidia-580, .img.zst, sha256
  • Minimal (shell only, no desktop) A small x86_64 image that boots to a shell. No desktop, no GPU drivers and no Wine. We use it for boot testing. latest build of release.minimal, .img.zst, sha256
  • arm64 VM (shell only) A small arm64 image for QEMU's virt machine that boots to a shell. No desktop. latest build of release.arm64-virt-minimal, .img.zst, sha256
  • puredarwin-arm64-rpi3-shell.mp4 Video from the 20.5 era: PureDarwin booting to a shell on a Raspberry Pi 3. 46 MiB 39693de5db495a945436d8a80da9da64e7d8434f40aaa3a28c714a138337610e

The images are the latest successful builds from our Hydra build server, compressed with zstd, and each one has its own sha256 file next to it.

Check the download with sha256sum -c, then unpack it with zstd -d before you write it to a disk. The recording's checksum is in SHA256SUMS.

Or build it yourself

Nix is the build system, so all you need is a Linux host with flakes enabled:

git clone https://github.com/PureDarwin/PureDarwin
cd PureDarwin
nix build .#image-minimal
nix run .#vm

The build assembles its own SDK from open source headers, so no Apple files are needed and the repository and Nix are all it takes.

Getting Started, in full

Frequently asked questions

What is Darwin?

Darwin is the open source core of Apple's operating systems. It's made up of the XNU kernel and a large part of the Unix userland, and Apple publishes it under the Apple Public Source License.

Every Mac and iPhone runs on Darwin. Apple used to release bootable Darwin images you could install, but it stopped in the mid 2000s, and today it publishes Darwin as source code only.

What is PureDarwin?

PureDarwin is a community project that turns Apple's Darwin releases into an operating system you can boot.

We combine and extend existing open source projects, and write our own code, such as the bootloader and the desktop, where nothing exists. The Credits page says what came from where.

PureDarwin isn't affiliated with or endorsed by Apple, and our images contain no proprietary Apple binaries.

What can I do with it?

It's a system for developers and the curious, and it isn't ready to be a daily driver yet. Today you can:

  • boot a real Darwin system in QEMU or on hardware
  • use the Argon desktop and its apps
  • run Windows programs through Wine
  • compile software with the compilers that run on PureDarwin itself
  • explore how the XNU kernel works outside Apple's systems

See what works today for the details.

Can it run macOS or iOS apps?

Some macOS apps, and the list is growing.

Graphical Mac apps rely on frameworks Apple has never published as source, such as AppKit and Metal, so we provide our own. Our AppKit started from Cocotron and we've extended it a lot. It runs the apps that come with PureDarwin, and a growing set of unmodified Mac apps start and run, including Firefox and TextMate.

Plenty of Mac apps still don't run, usually because they need a framework or interface we haven't written yet.

Command-line Darwin software and most open source software build and run, and Wine runs Windows programs on the desktop.

Is it free? Can I contribute?

Yes. Everything we write is open source, and code from Apple and other projects keeps its own licence.

Development happens in the open on GitHub. Porting and packaging software is the best place to start, and the contribution guide explains the rest.