darlinghq

A runtime environment that runs macOS applications on Linux without a virtual machine, featuring a Mach-O binary loader and reimplementations of Darwin syscall interfaces.

v0.1.20260608
Published at
Jun 9, 2026
13,404
Stars
46,264
Download
Synced at
Oct 4, 2026

Latest release

v0.1.20260608Jun 9, 2026, 04:41 AM
Downloads slow? Switch the source anytime above

README

Project Overview

Darling is a runtime environment that allows running macOS applications on Linux without a virtual machine. It consists of a Mach-O binary loader and a userspace kernel server (darlingserver) that implements macOS's Mach IPC, POSIX, and Darwin syscall interfaces on top of Linux, along with reimplementations of Apple's frameworks (Foundation, AppKit, CoreAudio, CoreFoundation).

Key Features

  • Run macOS CLI tools and applications on Linux
  • Mach-O binary loader
  • Darwin syscall interface implementation
  • Apple framework reimplementations (Foundation, AppKit, etc.)
  • DPREFIX support (WINEPREFIX-like virtual environments)
  • GUI application support under active development

Target Audience

  • Linux users who want to run macOS applications
  • Developers and testers
  • Researchers interested in Darwin/macOS compatibility layers

Quick Start

  1. Follow the build instructions
  2. Run darling shell to enter the Darling environment
  3. Install .pkg packages in Darling shell: installer -pkg package.pkg -target /
  4. Use hdiutil to mount DMG images

Core Advantages

  • Run macOS applications without a virtual machine
  • Built on Apple's open-source code
  • DPREFIX support for isolated software installation environments
  • GPL 3.0 licensed, open-source and free

Release history

Sort