Skip to content
KurrentDB

Keep kcap up to date

Terminal window
kcap update --check # what would happen, as JSON
kcap update # do it

What update does depends on how the CLI was installed:

  • Script install (curl … | bash or install.ps1): reads the installer’s channel manifest, downloads this platform’s archive, checks its sha256, unpacks it into its own versions/<version> directory and switches the current link. Running processes keep the files they started from; a daemon service installed from a script install follows the link
  • npm: npm install -g @kurrent/kcap@<tag>, then a refresh
  • Homebrew or others: prints the command to run
  • The desktop app’s bundled CLI: kcap update points you to the app’s own update, below

Every path then runs kcap refresh, which brings the integrations a previous version installed up to this one: skills, each agent’s hooks and MCP entries, the Claude Code plugin, and any daemon service units. Only integrations you installed before are touched. Run kcap refresh yourself if an update reports a failed step, or after an npm install with scripts disabled

Terminal window
kcap update --stable # the default: the newest stable release
kcap update --beta # run ahead of your server

On the stable channel, updates are capped at the version your workspace server runs, so a CLI never gets ahead of the server it talks to; the beta channel is not capped. The cap is also why a fresh install can land on an older version than the newest release

The app updates itself and the CLI it bundles; there is nothing to run. It checks shortly after launch and every few hours, downloads in the background, and asks once when an update is ready. Check for Updates… in the tray asks now; once a download is ready the item reads Restart to update to the new version. Settings → About shows the app, CLI and daemon versions on this computer and the same update control

The desktop app's Settings on the About page, with the versions and the update control
Settings → About: the versions on this computer and the update control

The app has no channel switch: a stable build sees only stable releases, and a beta build sees betas too

After it restarts, the app runs kcap refresh for its bundled CLI, and on the local edition kcap local upgrade, with a progress banner in the launcher. On macOS and Linux the daemon restarts once its agents finish their current turn; on Windows the app’s update stops the daemon, interrupting running agents mid-turn. Either way the daemon resumes them unless Settings → Daemon → Resume agents after a restart is off

  • The daemon: on macOS and Linux it notices the new binary and restarts when idle, resuming hosted agents that were running; on Windows it keeps the old version until you restart it. kcap daemon status shows the running version and any pending restart. It resumes agents unless Settings → Daemon → Resume agents after a restart (daemon.auto_resume) is off
  • Project-scoped installs (kcap plugin install --project) are not refreshed; re-run them in each repository
  • The git hook is repointed, not added. If it was missing, running kcap setup or kcap plugin install again adds it
  • The local edition: kcap update runs kcap local upgrade afterwards, and the desktop app does the same after its own update; see Local edition
  • Web app: a banner, “Your kcap CLI is out of date”, with the commands to copy, and a notification in the bell where your workspace has notifications turned on
  • Desktop app: the tray item changes to Restart to update to the new version
  • CLI: kcap status prints an available version, and other commands print a notice
  • Your agent: a one-line note at session start

kcap config set update_check false turns off the CLI’s, the web app’s and the agent’s hints, and --no-update-check skips the lookup for one command. The local edition shows no out-of-date banner or notification

Hooks stopped working after an update. Run kcap refresh; if a step fails, run kcap setup again. Codex re-asks for trust when its hooks file changes

update says a different install method. The binary on your PATH came from somewhere other than the method it expected: for example npm’s binary with a script-install service. kcap daemon service install again binds the service to the binary you are using now

Windows says the executable is locked. npm moved it aside; running processes continue on the old version until restarted