Quick Uninstall
curl -fsSL https://get.catops.app/hub.sh | sh -s -- -u
This will:
- Deactivate your license (so you can use it elsewhere)
- Stop the service
- Remove all files and data
- Remove the catops user
This deletes all metrics data permanently.
Backup Before Uninstalling
To keep your data:
sudo cp -r /opt/catops/pb_data ~/catops-backup/
Manual Uninstall
If you prefer to uninstall manually:
# Deactivate license first (frees up your activation slot)
sudo -u catops /opt/catops/catops-hub deactivate
# Stop service
sudo systemctl stop catops-hub
sudo systemctl disable catops-hub
# Remove systemd files
sudo rm -f /etc/systemd/system/catops-hub.service
sudo rm -f /etc/systemd/system/catops-hub-update.service
sudo rm -f /etc/systemd/system/catops-hub-update.timer
sudo systemctl daemon-reload
# Remove files
sudo rm -rf /opt/catops
sudo rm -rf /home/catops/.catops
# Remove user (optional)
sudo userdel -r catops
Reinstalling
After uninstalling, reinstall anytime:
curl -fsSL https://get.catops.app/hub.sh | sh
Your license key is still valid - just activate it again.