Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL

Run macOS command-line tools in small Darwin VMs on Apple Silicon Macs or ARM64 Linux hosts.

152
1
Go
Apache-2.0
5 days old

What it does

kido runs macOS command-line tools inside small Darwin virtual machines on Apple Silicon Macs and ARM64 Linux hosts. Each container is its own VM with a separate XNU kernel, memory and disk, so tools that need Darwin userspace can run without a full macOS installation. The workflow mirrors containers: kido run starts a container, kido build creates an image, and kido push publishes it to an OCI registry.

On macOS, kido starts VMs through Apple's Virtualization.framework; on ARM64 Linux it uses a built-in KVM VMM and does not require QEMU. Setting KIDO_BACKEND=qemu switches to QEMU. The guest system is KidoDarwin, which combines Apple's open-source XNU kernel with launchd and a small set of Unix tools. A guest agent executes commands over an encrypted, authenticated channel, described in the security documentation.

Quick start

Requirements are an Apple Silicon Mac running macOS 15 or later, or an ARM64 Linux host with /dev/kvm access. kido does not need root.

curl -fsSL https://kido.sh/install.sh | sh
export PATH="$HOME/.local/bin:$PATH"
kido run --rm darwin sw_vers

The installer places kido in ~/.local, checks the release signature, and runs kido setup, which downloads the Darwin image (about 30 MB). Homebrew users can instead run brew install kido-sh/tap/kido followed by kido setup. To upgrade, use kido upgrade, or brew upgrade kido for Homebrew installs. Building from source is documented in the install section of the usage guide.

To open an interactive shell:

$ kido run -it --rm darwin /bin/sh

A simple image definition adds a tool to the base image:

FROM darwin
COPY yq /usr/local/bin/yq
ENTRYPOINT ["/usr/local/bin/yq"]

Build and run it, then publish it to a registry such as GHCR:

$ kido build -t yq .
$ kido login ghcr.io
$ kido push yq ghcr.io/YOUR-NAME/yq

The full command reference, including networks, ports and -v, is in the usage guide.

What runs and what does not

macOS arm64 command-line tools run unchanged when KidoDarwin provides the functions and libraries they need; universal binaries use their arm64 slice. Some tools still fail at launch with Symbol not found or image not loaded errors. Apple's own binaries do not run because they target arm64e, and x86_64-only tools cannot run because there is no Rosetta. GUI apps are not supported.

Mounting and hardware limits

-v live directory mounts are in beta and only work on the Virtualization.framework backend with a compatible image. On the Linux KVM or QEMU backends, or with unsupported images, files and mounts are copied in and out instead. Containers created with --copy-mounts also use copy semantics. There is no USB passthrough and no GPU access.

Project status and licensing

kido is experimental: commands and the image format may still change. The project is Apache-2.0 licensed; the Darwin image and QEMU are separate downloads under their own licenses, with image licensing listed in KidoDarwin's LICENSING.md. If a check fails, kido doctor prints a fix for each failed check, and the troubleshooting guide covers the rest.

HotRepo's take

The repository first appears in HotRepo's new-project records on 2026-11-28, with 22 stars gained over an observed window of about an hour on the Go new list; the tracked star count moved from 120 to 130 between two samples that same day. There is no recorded GitHub daily rank, so the available data supports only that initial burst, not a longer trend. What stands out technically is the split backend: Virtualization.framework on macOS and a built-in KVM VMM on Linux, with OCI-style image sharing and a guest built from XNU. The project's own experimental label and the missing Rosetta, arm64e binary and GPU support are the main constraints to weigh before adopting it.

Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.

You might also like

  1. libracoder/kiriA Rust container runtime for macOS, Windows and Linux that runs Docker images behind a Docker-compatible API.Rust7,681
  2. google/gvisorAdds a user-space Linux kernel and OCI runtime so containers running untrusted code don't share the host kernel.Go19,791
  3. kksimp/Mac.apkRuns Android apps as normal macOS processes on Apple Silicon Macs, so you can use them without an emulator or VM.Java3,494
  4. podman-container-tools/podmanA daemonless tool for running and managing OCI containers and pods on Linux, macOS and Windows.Go33,242
  5. aykhanium/MacBoxRun unpacked Xbox Series X|S titles on Apple Silicon Macs via CrossOver, Rosetta 2 and D3DMetal, using your own game files.Rust101