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 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 |
|---|---|---|---|---|
standard | 1.0.0 | 4.0 KiB / 4.0 KiB | Apache-2.0 | Meta-package pulling libffi, libxml2, and python3. |
python3 | 3.13.14 | 4.14 MiB / 4.23 MiB | PSF-2.0 | Python 3.13 interpreter and standard library (/usr/bin/python3). |
swift-runtime | 5.10.1 | 2.58 MiB / 2.95 MiB | Apache-2.0 WITH Swift-exception | Open-source Swift 5.10.1 standard library and 9 companion runtime dylibs under /usr/lib/swift/. |
libxml2 | 2.15.3 | 465 KiB / 500 KiB | MIT | XML parser and toolkit library (/usr/lib/libxml2.2.dylib). |
libffi | 3.5.2 | 8.5 KiB / 9.1 KiB | MIT | Portable Foreign Function Interface library (/usr/lib/libffi.dylib). |
Commands
| Command | Behavior |
|---|---|
kl update | Fetch and verify the signed repository timestamp and package index. |
kl search TERM | Search 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 list | Show installed packages and mark auto-installed dependencies. |
kl info NAME | Inspect version, license, installed size, dependencies, and provided dylibs. |
kl which PATH | Identify 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.jsonis 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.confor via--mirror.klstill 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.