Updating & Uninstalling
Updating
Section titled “Updating”# CLI (any machine)bhatti update
# Server (updates CLI, kernel, rootfs, lohar)sudo bhatti update
# Server, but only the CLI binarybhatti update --cli-only
# Server + install additional rootfs tierssudo bhatti update --tiers allsudo bhatti update --tiers browser,dockerOnly changed components are downloaded — if the kernel and rootfs haven’t changed since your last update, they’re skipped automatically.
Use --cli-only on a server when you want to test a CLI fix without touching kernel/rootfs/lohar. Use --tiers to pull additional rootfs images (minimal, browser, docker, computer) without re-running the full install.
Or re-run the install command:
curl -fsSL bhatti.sh/install | bash # CLIcurl -fsSL bhatti.sh/install | sudo bash # serverCheck for updates
Section titled “Check for updates”bhatti versionShows the installed version and checks GitHub for the latest release. Update notices also appear in bhatti admin status.
Uninstalling
Section titled “Uninstalling”Keep data (reinstallable)
Section titled “Keep data (reinstallable)”curl -fsSL bhatti.sh/uninstall | sudo bashRemoves binaries and the systemd service. Keeps /var/lib/bhatti (images, volumes, snapshots, secrets, database) so you can reinstall later without losing state.
Remove everything
Section titled “Remove everything”curl -fsSL bhatti.sh/uninstall | sudo bash -s -- --purgeRemoves all data including volumes, snapshots, and the encryption key.
CLI only
Section titled “CLI only”sudo rm /usr/local/bin/bhattirm -rf ~/.bhatti