kosa8 uninstall
Remove kosa8 from this machine for this user (and, if asked, its data)
Removes what kosa8's installers put here for you: stops this home's kosa8d (never
another user's, or one started with a different HOME), removes the login service
(kosa8 daemon install's LaunchAgent or systemd user unit), and deletes the kosa8
and kosa8d binaries beside this CLI. On Windows it also takes the install folder
out of your PATH.
Your data in ~/.kosa8 (licence, keys, audit log, snapshots, sandbox disks) is deleted only with --purge, or when you answer yes to the question. --keep-data keeps it without asking. --yes answers yes to everything, for scripts.
A copy installed by Homebrew, Scoop, apt, dnf, apk or the desktop app is left to
that tool; kosa8 prints the command that removes it. Agent hooks, MCP entries and
skills live in the agents' own config: run kosa8 hooks uninstall first if you
installed them. Guide: https://docs.kosa8.com/uninstall
Options#
| Flag | Type | What it does | Default |
|---|---|---|---|
--keep-data | bool | keep ~/.kosa8 without asking | — |
--purge | bool | also delete ~/.kosa8 (licence, keys, audit log, snapshots, sandbox disks) | — |
-y, --yes | bool | do not ask; with no --purge, keeps ~/.kosa8 | — |
Example#
kosa8 uninstall kosa8 uninstall --keep-data -y kosa8 uninstall --purge