Update and uninstall
Copies this page as Markdown with context, so an AI can walk you through your case step by step.
Updating means running the installer again. Uninstalling is four commands.
Update
Run the same install command again. It downloads the latest version, reinstalls the dependencies and restarts the service. Your agent.toml (key, passphrase and jobs) is kept.
curl -fsSL https://ganyant.com/install.sh | sudo GANYANT_KEY=gyk_… sh
On Windows, the same PowerShell command as the install.
To see which version you have:
sudo ganyant-agent version
Revoke a key
In Servers → Agent API keys, click Revoke next to the key. Agents using it can’t send data any more, right away (they get 401). The Last used column helps you see whether a key is still in use.
Uninstall on Linux
sudo systemctl disable --now ganyant-agent
sudo rm -rf /opt/ganyant /etc/ganyant /etc/systemd/system/ganyant-agent.service /usr/local/bin/ganyant-agent
sudo systemctl daemon-reload
sudo userdel ganyant
Uninstall on Windows
In PowerShell as administrator:
Unregister-ScheduledTask -TaskName ganyant-agent -Confirm:$false
Remove-Item -Recurse -Force 'C:\Program Files\ganyant', 'C:\ProgramData\ganyant'
Before deleting
Save the encryption passphrase from agent.toml if you’ll want to restore old backups. Without it they can’t be decrypted, not even by us.
Remove it from the dashboard
After uninstalling, open the server in Servers and click Delete server. Its metrics, events and rules are deleted.