Uninstall
このコンテンツはまだ日本語訳がありません。
Two paths: the CLI is still installed, or only the service is left.
With the CLI installed
Section titled “With the CLI installed”kurahi uninstall --all --yes --non-interactivekurahi uninstall removes what you select and keeps the CLI:
--service: the gateway service (every identity registered withkurahi service install).--state:KOLO_HOME(config, token, secrets, logs, sessions).--workspace: the agent workspace directories.--app: the macOS companion app.--all: all of the above.--dry-runprints the actions without removing anything.
Then remove the CLI:
| Install | Command |
|---|---|
| Prebuilt bundle | delete the install prefix (default ~/.local/share/kolo, Windows %LOCALAPPDATA%\KoLo) and the kolo launcher in the bin dir (default ~/.local/bin/kolo, Windows %LOCALAPPDATA%\KoLo\bin\kolo.cmd) |
| Package install | npm uninstall -g kurahi or pnpm remove -g kurahi |
| Source checkout | delete the checkout |
Only the service is left
Section titled “Only the service is left”Remove the unit for each identity you installed. The names below are what kurahi service install --id <id> creates.
Linux (systemd user unit kolo-gateway@<id>.service):
systemctl --user disable --now kolo-gateway@default.servicerm -f ~/.config/systemd/user/kolo-gateway@default.servicesystemctl --user daemon-reloadmacOS (launchd label com.kodasoken.kolo.<id>):
launchctl bootout gui/$UID/com.kodasoken.kolo.defaultrm -f ~/Library/LaunchAgents/com.kodasoken.kolo.default.plistWindows (Task Scheduler task \\KoLo\gateway-<id>), in PowerShell:
schtasks /Delete /F /TN "\KoLo\gateway-default"Then delete the state directory you used (KOLO_HOME; default ~/.kolo, or ~/.kolo-<id> for a
named identity) and the install prefix as in the table above.
Checks
Section titled “Checks”kurahi service status --id default # exit 3 when nothing is installedA port still answering after that belongs to another process: find it by PID and stop it by PID.