Install kosa8
Two ways in. Pick the Mac app if you want an icon to double-click; pick the one-line installer if you live in a terminal. They install the same thing.
The Mac app#
Download kosa8_<version>_macos_app.zip (the newest release) from
the releases page, unzip it,
and drag kosa8.app to your Applications folder.
The app carries the command-line tool and the background service inside it, so this is the only thing you need — there is nothing to install first. It is signed and notarized by Apple, so it opens without a warning.
One line#
$ curl -fsSL https://kosa8.com/install.sh | sh
The installer works out whether you have an Apple or Intel chip, checks the download against the
published fingerprints before anything runs, and puts kosa8 on your PATH.
Homebrew#
$ brew tap AzmxAI/kosa8 $ brew install kosa8
From npm or PyPI, without installing#
$ npx @kosa8/cli --help $ uvx kosa8-cli --help
Both fetch the released kosa8 binary on first use and run it; any command works in
place of --help. The npm package is @kosa8/cli (scoped: plain kosa8 on npm
is not ours).
Windows#
PS> irm https://kosa8.com/install.ps1 | iex
Linux#
The same one-line installer works, and there are .deb, .rpm and
.apk packages on the releases page.
Sandboxes are real virtual machines, so they need a hypervisor kosa8 can drive.
- Apple Silicon Mac — on Apple's Virtualization framework.
- x86-64 Linux — on KVM with Cloud Hypervisor. The installer puts the daemon in place and
says what else to install:
cloud-hypervisor,virtiofsd, and access to/dev/kvm.kosa8 doctorchecks all of it. - Windows 11 on x86-64 (preview) — in WSL2. After installing, run
kosa8 wsl setuponce: it sets up the Linux engine in an Ubuntu distribution and connects the CLI to it. A second Windows option (preview):kosa8d.exeruns sandboxes as gVisor containers on Docker, which are containers, not microVMs.
Everything else — an Intel Mac, Windows 10, Windows on ARM, JioOS on a JioBook — drives one of
those. On that machine run kosa8 daemon start --listen 127.0.0.1:7440 and
kosa8 worker pair --url https://…; here, kosa8 worker join with the code it
prints. Every command then works normally.
Check it worked#
Sign in, or sign up#
A new install asks you to sign in once, before anything else runs. kosa8 login
shows a short code and opens your browser, where you sign in or create your account (free, no card)
and confirm the code. A new account starts on the free Starter tier once its email is confirmed: $10 of usage, 2 sandboxes running
at once, no time limit, with a hard stop at the limit. The machine then runs on your account's plan, and the same
sign-in covers the desktop app and kosa8 Cloud. Plans differ by features and limits
(compare them); kosa8 upgrade opens the
checkout for a higher one. Accounts made before 16 November 2026 keep working as they are until 1 December
2026, then need a plan for new work. Have a licence key already? Run
kosa8 license activate <key> instead.
$ kosa8 login
No browser on this machine? kosa8 login --no-browser prints the link to open on
any device, with a short code to confirm.
Using kosa8 a lot on Solo or Pro? About once a week at most, after a command, kosa8
prints one line naming what the next plan adds and the kosa8 upgrade command for it.
It never appears with --json, in CI, or off a terminal; set
KOSA8_NO_UPGRADE_HINTS=1 to turn it off.
When a command asks for something this machine cannot do (a GPU on a Mac, more CPUs or memory
than it has, no KVM), kosa8 prints one line after the error naming the
kosa8 Cloud command for it; add --cloud to
kosa8 sandbox create or kosa8 run to run it there. Same rules as above;
KOSA8_NO_CLOUD_HINTS=1 turns off just these. When one is shown, or you use --cloud,
the CLI tells kosa8 Cloud only that it happened (the reason, the command, OS, CPU type, version and a
random install ID; never your commands, paths or email); KOSA8_NO_TELEMETRY=1 or
DO_NOT_TRACK=1 turns that off (privacy).
Start the background service#
Nothing runs until the daemon is up. The Mac app starts it for you.
$ kosa8 daemon start
Run something#
The first run fetches the guest image for your release (a few hundred megabytes),
checks it against the release's published checksum, and keeps it in
~/.kosa8/guest. Later runs start straight away. With
KOSA8_OFFLINE=1 nothing is fetched: copy the guest image in from an air-gap bundle.
$ kosa8 run alpine echo hi hi
If anything looks wrong#
kosa8 doctor checks the parts that commonly go wrong — the daemon, the guest
images, the virtualization entitlement — and tells you which one is missing.
$ kosa8 doctor
Your first sandbox — make a sealed machine and run something inside it.
For Node, install @kosa8/sdk (or @kosa8/ai-sdk-sandbox for the
Vercel AI SDK) with the daemon running, and follow
Install and prerequisites and the
Quickstart. Docker clients such as dockerode and
Testcontainers work by setting DOCKER_HOST=unix://$HOME/.kosa8/run/kosa8.sock.
Something wrong or missing? Write to contact@kosa8.com.