macOS update & uninstall
Update and uninstall Revka on macOS via Homebrew, Cargo, or manual steps.
This page covers the day-2 lifecycle of a macOS install: how to update Revka in place and how to remove it cleanly. Use it after you have installed Revka — see Installation for the initial setup.
The exact commands depend on how you installed the binary. Homebrew, the bootstrap script (install.sh), Cargo, and manual prebuilt downloads each have their own update and uninstall paths, so start by confirming which one is active.
Check your install method
Section titled “Check your install method”Two commands tell you which revka your shell runs and what version it is:
which revkarevka --versionTypical binary locations on macOS:
| Install method | Binary path |
|---|---|
| Homebrew (Apple Silicon) | /opt/homebrew/bin/revka |
| Homebrew (Intel) | /usr/local/bin/revka |
| Cargo / bootstrap / manual | ~/.cargo/bin/revka |
Update
Section titled “Update”Pick the section that matches your install method. After any update, verify with revka --version.
Homebrew
Section titled “Homebrew”brew updatebrew upgrade revkarevka --versionClone + bootstrap install
Section titled “Clone + bootstrap install”If you installed from a local repository checkout, pull the latest source and re-run the installer. The --prefer-prebuilt flag downloads the latest release binary first and falls back to a source build only if no prebuilt asset is available:
git pull --ff-only./install.sh --prefer-prebuiltrevka --versionTo force a source-only rebuild from the checkout instead:
git pull --ff-onlycargo install --path . --force --lockedrevka --versionCargo install
Section titled “Cargo install”If you installed the binary into ~/.cargo/bin via Cargo, rebuild and replace it from your checkout with the same cargo install --path . --force --locked command shown above.
Self-update (revka update)
Section titled “Self-update (revka update)”Any install layout can also use the built-in self-updater, which downloads a release binary from GitHub Releases, verifies its SHA256 and optional cosign signature, backs up the current binary, swaps in the new one, and runs a smoke test — rolling back automatically if the new binary fails:
revka update # download and install the latest releaserevka update --check # check for a newer version without installingrevka update --force # skip the confirmation promptrevka update --version X.Y.Z # install a specific version| Flag | Meaning |
|---|---|
--check | Check only; report whether an update is available, install nothing. |
--force | Skip the interactive confirmation prompt. |
--version <X.Y.Z> | Target a specific release instead of the latest. |
Manual prebuilt binary
Section titled “Manual prebuilt binary”If you downloaded a release binary by hand, re-run your download/install flow with the latest release asset, then verify:
revka --versionUninstall
Section titled “Uninstall”Uninstalling is a three-part process: stop the background service, remove the binary, and optionally delete local runtime data.
1. Stop and remove the background service
Section titled “1. Stop and remove the background service”Do this first so the launchd-managed daemon does not keep running after the binary is gone:
revka service stop || truerevka service uninstall || trueOn macOS, revka service uninstall removes the launchd agent it created:
~/Library/LaunchAgents/com.revka.daemon.plist
2. Remove the binary
Section titled “2. Remove the binary”Homebrew:
brew uninstall revkaCargo / bootstrap / manual (binary at ~/.cargo/bin/revka):
cargo uninstall revka || truerm -f ~/.cargo/bin/revka3. (Optional) Remove local runtime data
Section titled “3. (Optional) Remove local runtime data”This deletes your config, auth profiles, logs, and workspace state. Only run it for a full cleanup — there is no undo:
rm -rf ~/.revkaVerify the uninstall
Section titled “Verify the uninstall”Confirm the binary is gone and no process is still running:
command -v revka || echo "revka binary not found"pgrep -fl revka || echo "No running revka process"If pgrep still reports a process, stop it manually and re-check:
pkill -f revkaRelated pages
Section titled “Related pages”- Installation — first-time setup on macOS, Linux, Windows, and containers.
- Install the Python MCP sidecars — Kumiho and Operator sidecars that live under
~/.revka. - revka install, update, migrate, completions & ACP — full reference for the lifecycle CLI commands.
- Run as a background service — launchd service install, start, stop, and logs.
- Updating, runbook & troubleshooting — cross-platform update and rollback guidance.