How-To Guides
Last updated: 8 October 2026
Uninstall Untether
1. Open Telegram and message @BotFather 2. Send /deletebot 3. Select your bot from the list
By Nathan Schram Founder, Little Bear Apps
1. Stop the service
If Untether is running as a systemd service, stop it first:
systemctl --user stop untether
systemctl --user disable untether
2. Remove the CLI
uv
uv tool uninstall untether
pipx
pipx uninstall untether
3. Remove configuration and state
Untether stores all config and state in ~/.untether/ (or the path set by UNTETHER_CONFIG_PATH):
rm -rf ~/.untether/
This deletes:
| File | Contains |
|---|---|
untether.toml | Bot token, chat ID, engine settings, transport config |
*_state.json | Chat preferences, session resume tokens, topic bindings |
active_progress.json | Orphan message references (restart recovery) |
active_loops.json | Pending Claude Code loop iterations (Loop mode) |
stats.json | Per-engine run counts and usage statistics |
session_costs.json, session_quarantine.json | Per-session cost baselines and quarantined Claude sessions |
daily_cost.json | Today’s running API cost total, used by max_cost_per_day and /health |
triggers_history.json, run_once_fired.json, run_once_pending.json | Last-fired times for crons and webhooks, spent run_once crons, run_once crons waiting on a send retry |
last_update_id.json, untether.lock | Telegram update offset and the single-instance lock |
Bot token
untether.tomlcontains your Telegram bot token in plaintext. Deleting the file removes it from disk.
4. (Optional) Delete the Telegram bot
Removing Untether does not delete the Telegram bot itself. If you no longer need it:
- Open Telegram and message @BotFather
- Send
/deletebot - Select your bot from the list
5. (Optional) Remove agent CLIs
If you no longer need the agent CLIs that Untether wrapped:
npm uninstall -g @anthropic-ai/claude-code
npm uninstall -g @openai/codex
npm uninstall -g opencode-ai
npm uninstall -g @mariozechner/pi-coding-agent
npm uninstall -g @google/gemini-cli
npm uninstall -g @sourcegraph/amp Was this helpful?
Thanks for your feedback!
Related Articles
ReferenceCommands & directivesThis page documents Untether’s user-visible command surface: message directives, in-chat commands, and the CLI.ReferenceError ReferenceWhen an engine fails, Untether scans the error message and shows an actionable recovery hint above the raw error.ReferenceTelegram TransportTelegramClient is the single transport for Telegram writes. It owns a TelegramOutbox that serialises send/edit/delete operations, applies coalescing…