Recommended: One-line upgrade
Usecow update to pull the latest code and restart the service in one step:
- Pull the latest code (
git pull) - Stop the running service
- Update Python dependencies
- Reinstall the CLI
- Start the service
If the Cow CLI is not installed,
./run.sh update performs the same operations.Web console one-click update
Source installs can also upgrade from the Web console without opening a terminal.- Click the version string in the left sidebar footer to open the pop-up menu. Opening it does not contact GitHub.
- Click Check for update to fetch version info — the only network request. If a newer version exists, the same row turns into Update now with a small red dot.
- Click Update now. The console reuses the same path as
cow update(git pull, dependency install, CLI reinstall) and then restarts the service. The Release notes entry opens the GitHub releases page for the full changelog.
agent_workspace, default ~/cow) and config.json is git-ignored, so git pull never overwrites them — no backup is taken. The updater records the current git commit; if the new code fails to import, it resets the checkout to that commit and leaves the running process untouched.
After a successful update the console reconnects on its own and shows the new version.
Docker images and the packaged desktop app cannot use this button. Docker stays on
docker compose pull; the desktop client keeps its built-in updater. On Windows, run cow update in a terminal — the Web console cannot restart that process from inside itself.Rollback
If a successful update misbehaves, reset to the previous commit:Manual upgrade
Run the following inside the project root:Docker upgrade
Run the following in the directory containingdocker-compose.yml:
