Update keelbox and the agent CLIs
keelbox update acme # keelbox on this computer, then the box, in one commandTo look before the box changes, do it in steps:
keelbox self-update # keelbox on this computer; lists the boxes still on an older one
keelbox plan acme # what the new release would change on the box
keelbox apply acme # move the box to itEach keelbox carries a release manifest of the Docker, Node, pnpm and tmux plugin versions it was tested with. Apply makes the box match its config and that manifest, installs the new keelbox on the box, and keeps the old one for a rollback. Between applies, only these update on their own:
| What | How | To change it |
|---|---|---|
| Ubuntu security updates | unattended-upgrades, daily | host.unattended_upgrades: false |
| A reboot those updates need | the box, once idle: reboots | host.auto_reboot |
| Claude Code and Codex | themselves | the agent CLIs |
Everything else moves only when you apply.
Reboots
Some updates take effect only after a reboot. keelbox up asks when the box may reboot for them: nightly (the default), weekly on Sunday night, or manually. Nightly and weekly reboots wait until the box has been idle for 30 minutes. Programs in tmux stop; Claude Code and Codex reopen their conversations, after this reboot or any other orderly one (not after a crash or power loss). To reboot now, run keelbox reboot acme.
The update check
At most once a day, a command you type at a terminal reads the channel index and says when a newer keelbox is out:
keelbox: keelbox v0.1.1 is out; this is v0.1.0. Update: keelbox self-updateIf the release you run has a security notice, keelbox says so after every command until you update. keelbox status acme also says when this computer last applied a release with a notice to acme, and names keelbox update acme.
The check never downloads or installs anything and adds at most a second. It does not run on a box, in CI, for a development build, or for ssh, attach and login. KEELBOX_NO_UPDATE_CHECK=1 or DO_NOT_TRACK=1 turns it off. What it sends is in the security model.
The downgrade guard
An apply from a keelbox older than the box's release stops before any change, with the box is on release ...; this keelbox carries the older release .... Run keelbox self-update on that computer, or move the box back on purpose:
keelbox apply acme --allow-downgradeThe guard compares release ids, not keelbox versions.
Rollback
keelbox rollback acmeThis applies the box again with the keelbox it ran before. The agent CLIs, projects, containers, volumes and sign-ins stay as they are. If the older keelbox refuses a config key it does not know, remove the key, apply, then roll back. It uses the config the apply before left on the box, with the SSH keys left as applies put them, and lists any it keeps or leaves off; --remove-keys uses that config's keys as they are.
The next keelbox apply from this computer moves the box forward again. To stay on the older release, install it here:
curl -fsSL https://get.keelbox.dev | sh -s -- --version vX.Y.ZThe agent CLIs
keelbox installs Claude Code and Codex with each vendor's installer, into the agent's home. They then update as on your laptop: Claude Code in the background, Codex by offering when it starts. To update now, on the box as the agent, run claude update or codex update.
- To stop Claude Code updating, set
DISABLE_AUTOUPDATERto1in theenvof the agent's~/.claude/settings.json.claude install VERSIONinstalls a given version. - To stop Codex asking, set
check_for_update_on_startup = falsein the agent's~/.codex/config.toml.
Apply never changes a CLI's version. It reinstalls one that does not run, at the vendor's current release.
Synced from keelbox/keelbox at e9770d0, 2 December 2026
Check the box and fix problems
None of these changes the box. keelbox status --all asks every box at once. After you fix a cause, run keelbox apply acme: it changes only what still differs…
Back up and restore
keelbox backs the box up with restic, daily unless you set a schedule, to S3-compatible storage you choose, such as Backblaze B2, Cloudflare R2, AWS S3 or…