Install options
The getting started guide uses the installer. These are all the ways to get kumoba.
| What | How |
|---|---|
| Daemon, CLI and an image | curl -fsSL https://kumoba.dev/install.sh | bash |
| A specific version | Add KUMOBA_VERSION=0.18.0 before bash |
| A small test image instead | Add KUMOBA_IMAGE=test (5 MB Alpine) |
| The files by hand | A tarball and an image from the latest release, checked against SHA256SUMS |
| Daemon and CLI from source | cargo install kumobad |
| CLI through npm | npm install -g kumoba, or npx kumoba <command> |
| TypeScript SDK | npm install kumoba |
| Rust library | cargo add kumoba |
Requirements
| Host | Needs |
|---|---|
| macOS 14 or later, Apple silicon | brew tap slp/krun && brew install slp/krun/libkrun slp/krun/libkrunfw zstd |
| Linux, x86_64 or arm64, glibc 2.28 or later (RHEL 8, Ubuntu 20.04 and newer) | Write access to /dev/kvm, and zstd. The release includes the libkrun build kumoba needs. |
You need about 2 GB of free disk for the default image. scripts/check-host.sh in the repository checks a machine and estimates how many sandboxes fit in its memory.
Sign the worker after cargo install (macOS)
The worker needs the Hypervisor.framework entitlement for Linux sandboxes and the Virtualization.framework entitlement for macOS sandboxes. The release build already has both; a cargo installed one needs signing:
cat > hvf.plist <<'PLIST'
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0"><dict><key>com.apple.security.hypervisor</key><true/><key>com.apple.security.virtualization</key><true/></dict></plist>
PLIST
codesign --force --sign - --entitlements hvf.plist "$(which kumoba-worker)"Build the live view engine for macOS sandboxes
The live view of a macOS sandbox is served by kumoba-view-host, which kumobad starts from the directory it is in. The release build includes it. It is not on crates.io, so after cargo install build it from the repository:
git clone https://github.com/Parassharmaa/kumoba && cd kumoba
cargo build --release -p kumoba-view
cp target/release/kumoba-view "$(dirname "$(which kumobad)")/kumoba-view-host"Linux sandboxes don't need it: their engine is inside the image.
Last updated on
Getting started
Install kumoba on an Apple silicon Mac or Linux with KVM, run code in a fresh VM sandbox, open its desktop in a browser and hand it to your coding agent.
How it works
How kumoba runs each sandbox as a VM with its own kernel: the kumobad daemon, a libkrun worker per VM, the guest agent, disks, network proxy and live view.