Skip to content

Uninstall

Terminal window
curl -fsSL https://releases.prism.tm/prism/uninstall.sh | sh

This stops and removes the service (systemd user unit or launchd agent) and the binary. Config, keys and data stay.

To also delete the config, the key file, the data and the logs:

Terminal window
curl -fsSL https://releases.prism.tm/prism/uninstall.sh | sh -s -- --purge

--purge asks you to type yes before it deletes anything; --yes skips the question. It removes ~/.prism, ~/.config/prism and, on macOS, ~/Library/Logs/prism.

If you installed with --prefix, --service, --unit-name or --label, pass the same values to the uninstaller.

Keys stored in the macOS keychain with prism setup stay there; delete them in Keychain Access.

Terminal window
sudo apt remove prism # stops and removes the service; keeps /etc/prism/config.toml, /var/lib/prism and the prism user
sudo apt purge prism # also deletes /etc/prism/config.toml and /var/lib/prism (accounts, stored keys, history)

The system user prism stays after a purge; remove it with sudo userdel prism. /etc/prism/prism.env, if you created it, is yours to delete.

Linux, system service from the release archive:

Terminal window
sudo systemctl disable --now prism
sudo rm /etc/systemd/system/prism.service
sudo systemctl daemon-reload
sudo rm /usr/local/bin/prism
# Optional: delete config, keys and all data
sudo rm -rf /var/lib/prism /etc/prism
sudo userdel prism

macOS, launchd agent:

Terminal window
launchctl bootout gui/$(id -u)/com.prism.router
rm ~/Library/LaunchAgents/com.prism.router.plist
rm /usr/local/bin/prism
# Optional: delete config, keys, logs and all data
rm -rf ~/.prism ~/.config/prism ~/Library/Logs/prism