Über uns
Fast, lightweight macOS micro-VMs on Apple Silicon and ARM64 Linux
Systeme und InfrastrukturGemessener Sternzuwachs
- in 24h
- Verlauf wird gesammelt
- in 7 days
- Verlauf wird gesammelt
- in 15 days
- Verlauf wird gesammelt
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
Originalkido
kido runs macOS command-line tools in small Darwin VMs on Apple Silicon Macs and ARM64 Linux hosts.
kido run starts a container, kido build makes an image and kido push shares it. Each container
boots a real Darwin kernel (XNU) in around a second.
$ kido run --rm darwin sw_vers
ProductName: KidoDarwin
ProductVersion: 26.5
BuildVersion: 25F74
$ kido run --rm darwin uname -a
Darwin kido 25.5.0 Darwin Kernel Version 25.5.0: Mon Nov 23 13:26:52 UTC 2026; nixbld1:xnu-12377.121.6~1/RELEASE_ARM64_VIRT arm64
Quick start
You need an Apple Silicon Mac with macOS 15 or later, or an ARM64 Linux host with /dev/kvm access.
kido never needs root.
curl -fsSL https://kido.sh/install.sh | sh
export PATH="$HOME/.local/bin:$PATH"
kido run --rm darwin sw_vers
The script installs kido into ~/.local and checks the release's signature. Then it runs
kido setup, which pulls the Darwin image, a download of about 30 MB.
With Homebrew, run brew install kido-sh/tap/kido and then kido setup.
kido upgrade installs the latest release. Homebrew users run brew upgrade kido instead. To build
kido from source, see docs/usage.md.
Examples
Open a shell:
$ kido run -it --rm darwin /bin/sh
Keep a container running, run commands in it and copy files into it:
$ kido run -d --name box darwin sleep 600
$ kido exec box sw_vers -productName
KidoDarwin
$ echo hello > hello.txt
$ kido cp hello.txt box:/tmp/
$ kido exec box cat /tmp/hello.txt
hello
$ kido rm -f box
Put your own macOS tool in an image. This Kidofile adds yq. The binary is yq's official macOS arm64 release.
FROM darwin
COPY yq /usr/local/bin/yq
ENTRYPOINT ["/usr/local/bin/yq"]
$ curl -fsSL -o yq https://github.com/mikefarah/yq/releases/latest/download/yq_darwin_arm64
$ chmod +x yq
$ kido build -t yq .
$ echo 'kernel: xnu' | kido run --rm -i yq .kernel
xnu
Share images through any OCI registry, such as GitHub's:
$ kido login ghcr.io
$ kido push yq ghcr.io/YOUR-NAME/yq
$ kido pull ghcr.io/YOUR-NAME/yq
docs/usage.md covers every command, networks, ports and -v.
How it works
Each container is its own small VM, with its own kernel, memory and disk. On macOS, kido starts it
with Apple's Virtualization.framework. On ARM64 Linux, kido uses its built-in KVM VMM with no QEMU
required. Set KIDO_BACKEND=qemu to use QEMU instead. The system inside is
KidoDarwin. It has Apple's open-source XNU kernel, launchd and
a small set of Unix tools. A small agent in the VM runs your commands. kido talks to it over an
encrypted and authenticated channel. docs/security.md explains how.
What runs
- macOS arm64 command-line tools run unchanged, if KidoDarwin has the functions and libraries they use. Universal binaries run their arm64 part.
- Some tools still stop at launch with
Symbol not foundorimage not loaded. Please open an issue with the tool's name. - Apple's own binaries do not run, because they are built for arm64e.
- Tools built only for x86_64 do not run, because there is no Rosetta. GUI apps do not run either.
-vmounts a directory live on both macOS (Virtualization.framework) and ARM64 Linux (built-in VirtIO-FS inkido-vmm). Files, mounts on QEMU or older images without VirtIO-FS support, and mounts created with--copy-mountsare copied in and out.- Metal 3 compute GPU acceleration is supported on Apple Silicon macOS (host Metal) and supported ARM64 Linux Vulkan GPUs (see Supported Linux Hardware). There is no USB passthrough.
kido is experimental. Commands and the image format may still change. Want to try arm64 Darwin and Metal 3 compute without installing anything? Boot it in your browser at play.kido.sh (kido-sh/kido-wasm).
System libraries (kl)
The base image is kept small (~30 MB). kl, KidoDarwin's signed system package manager, ships in
the base image and installs permissive, zero-GPL macOS system libraries and runtimes from
https://kl.kido.sh into their standard Darwin paths:
$ kido run -it --rm darwin /bin/sh
# kl update
# kl add standard swift-runtime
# python3 --version
Python 3.13.14
Both portable arm64 and Apple Silicon arm64e (PAC) packages are published. See
docs/kl.md and kido.sh/docs/kl for commands, mirror
configuration, and the Ed25519 + SHA-256 verification model.
Troubleshooting
Run kido doctor. Every failed check prints its fix.
docs/troubleshooting.md covers the rest.
License
kido is licensed under the Apache License 2.0. See LICENSE. The Darwin image and QEMU are separate downloads with their own licenses. The image's licenses are listed in KidoDarwin's LICENSING.md. QEMU is licensed under the GNU General Public License, version 2.
Acknowledgements
kido's Darwin system builds on PureDarwin, on xnu-loader by Vali0004, on Apple's open-source releases and on NeoDarwin's corecrypto. Thank you all.
kido is an independent project. It is not affiliated with Apple, PureDarwin or NeoDarwin.
Ähnliche Projekte entdecken
Wird geladen…