Uninstall
One-command installer
Section titled “One-command installer”curl -fsSL https://releases.prism.tm/prism/uninstall.sh | shThis 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:
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.
Debian package
Section titled “Debian package”sudo apt remove prism # stops and removes the service; keeps /etc/prism/config.toml, /var/lib/prism and the prism usersudo 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.
Manual install
Section titled “Manual install”Linux, system service from the release archive:
sudo systemctl disable --now prismsudo rm /etc/systemd/system/prism.servicesudo systemctl daemon-reloadsudo rm /usr/local/bin/prism# Optional: delete config, keys and all datasudo rm -rf /var/lib/prism /etc/prismsudo userdel prismmacOS, launchd agent:
launchctl bootout gui/$(id -u)/com.prism.routerrm ~/Library/LaunchAgents/com.prism.router.plistrm /usr/local/bin/prism# Optional: delete config, keys, logs and all datarm -rf ~/.prism ~/.config/prism ~/Library/Logs/prism