Skip to Content
kumoba

Install options

The getting started guide uses the installer. These are all the ways to get kumoba.

WhatHow
Daemon, CLI and an imagecurl -fsSL https://kumoba.dev/install.sh | bash
A specific versionAdd KUMOBA_VERSION=0.18.0 before bash
A small test image insteadAdd KUMOBA_IMAGE=test (5 MB Alpine)
The files by handA tarball and an image from the latest release, checked against SHA256SUMS
Daemon and CLI from sourcecargo install kumobad
CLI through npmnpm install -g kumoba, or npx kumoba <command>
TypeScript SDKnpm install kumoba
Rust librarycargo add kumoba

Requirements

HostNeeds
macOS 14 or later, Apple siliconbrew 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

On this page