docs/upgrade.md

Upgrading

Take a backup first. Upgrades keep the data folder, so your phone stays paired.

InstallUpgrade
Homebrewbrew upgrade shrok, then brew services restart shrok
Debian or UbuntuDownload the new .deb and run sudo apt install ./shrok_*_$(dpkg --print-architecture).deb. The package restarts Shrok if it was running.
Dockerdocker compose pull && docker compose up -d
Portable archiveStop Shrok, move the old folder aside, and repeat the extraction and ownership commands in setup.md before starting Shrok. The data folder is elsewhere, so nothing is lost.

Shrok takes up to 20 seconds to stop, while it closes SimpleX and its browser. The systemd unit and compose.yaml wait 30 seconds before they force it.

The release notes say when an upgrade needs more than this.