kido

kl System Packages

Ed25519-signed, zero-GPL system libraries and runtimes for KidoDarwin micro-VMs. /usr/bin/kl ships in the KidoDarwin 26.5 base image and installs native Darwin packages from https://kl.kido.sh into their canonical macOS paths for both portable arm64 and Apple Silicon arm64e (PAC).

Quick start inside a KidoDarwin VM

Update the signed index and install the standard library set or the open-source Swift runtime in a few seconds.

kl update && kl add standard swift-runtime
# kl update
verified timestamp v2 (ed25519, 26.5/25F74/latest, arm64e)
# kl add standard swift-runtime
installed libffi 3.5.2, libxml2 2.15.3, python3 3.13.14, standard 1.0.0, swift-runtime 5.10.1
# python3 --version
Python 3.13.14
# ls /usr/lib/swift/libswiftCore.dylib
/usr/lib/swift/libswiftCore.dylib
# kl verify
ok: 5 packages verified

Available packages (KidoDarwin 26.5 / 25F74)

Published for both portable arm64 (ARMv8.0-A) and arm64e (Pointer Authentication + chained fixups). kl automatically selects arm64e on CPUs with PAC and arm64 elsewhere.

Package Version Download (arm64 / arm64e) License Provides / Summary
standard1.0.04.0 KiB / 4.0 KiBApache-2.0Meta-package pulling libffi, libxml2, and python3.
python33.13.144.14 MiB / 4.23 MiBPSF-2.0Python 3.13 interpreter and standard library (/usr/bin/python3).
swift-runtime5.10.12.58 MiB / 2.95 MiBApache-2.0 WITH Swift-exceptionOpen-source Swift 5.10.1 standard library and 9 companion runtime dylibs under /usr/lib/swift/.
libxml22.15.3465 KiB / 500 KiBMITXML parser and toolkit library (/usr/lib/libxml2.2.dylib).
libffi3.5.28.5 KiB / 9.1 KiBMITPortable Foreign Function Interface library (/usr/lib/libffi.dylib).

Commands

Command Behavior
kl updateFetch and verify the signed repository timestamp and package index.
kl search TERMSearch available packages by name or summary.
kl add NAME...Resolve dependencies, verify chunks, and install packages atomically.
kl rm NAME...Remove packages and any unneeded dependencies while preserving modified files.
kl listShow installed packages and mark auto-installed dependencies.
kl info NAMEInspect version, license, installed size, dependencies, and provided dylibs.
kl which PATHIdentify which package owns a file or dylib path, installed or remote.
kl verify [NAME]Re-hash installed files on disk and report missing or modified files.

Scope: Kido Libraries, not Homebrew

kl keeps the KidoDarwin base image around 30 MB while letting unmodified macOS arm64 binaries resolve optional system libraries and runtimes under /usr/lib, /usr/lib/swift, and /System/Library/Frameworks using their exact Apple install names.

Every package in the official kl.kido.sh repository is permissively licensed (zero GPL and zero LGPL) and built reproducibly from source via Nix. For third-party CLI tools and language ecosystems, bring your own tools via -v mounts, uv, or Homebrew.

Verification and mirrors

  • Ed25519 target binding: timestamp.json is signed with SSHSIG (kl-repo@kido.sh) and cryptographically binds the OS version, build, channel, expiry, monotonic version (anti-rollback), and per-arch index SHA-256.
  • Streaming 4 MiB chunk verification: Every zstd package blob is verified chunk by chunk against signed SHA-256 digests before any byte reaches the decompressor or tar unpacker.
  • No install scripts: Packages contain files only, install strictly into allowed system prefixes, refuse symlinks in target paths, and commit atomically through a staged journal.
  • Untrusted mirrors: Configure LAN or S3/R2 mirrors in /etc/kl.conf or via --mirror. kl still checks the primary signed timestamp first and verifies every mirrored chunk locally.

For the full repository schema, /etc/kl.conf options, and self-hosting with kl-repo, see docs/kl.md on GitHub.