Upgrade & Uninstall

Upgrade

If you installed via the install script, use the built-in update command:

# macOS (no sudo needed — installs to ~/.local/bin or /usr/local/bin based on original install)
demarkus-install update

# Linux server install (sudo required if installed to /usr/local/bin)
sudo demarkus-install update

This downloads the latest server and client releases, verifies checksums, replaces binaries, and restarts the service.

Re-running the install script

Re-running the install script is safe and idempotent. It:

# macOS client update
curl -fsSL https://raw.githubusercontent.com/latebit-io/demarkus/main/install.sh | bash -s -- --client-only

# Linux server + client update
sudo curl -fsSL https://raw.githubusercontent.com/latebit-io/demarkus/main/install.sh | bash

What gets updated

What is preserved

Check installed versions

demarkus --version
demarkus-server --version

Uninstall

# macOS
demarkus-install uninstall

# Linux
sudo demarkus-install uninstall

This removes all installed binaries and the service configuration. Your content directory and tokens file are not removed.

To also remove config and data:

# macOS
rm -rf ~/.demarkus

# Linux
sudo rm -rf /etc/demarkus