Skip to content

Uninstall

Steps

  1. Uninstall the background service, from the Tegvia folder:

    System Command
    Linux, WSL, macOS ./uninstall.sh
    Windows uninstall.cmd

    This stops the proxy, restores settings.json (the original ANTHROPIC_BASE_URL value, saved in ANTHROPIC_BASE_URL_TEGVIA_BACKUP, is put back, or the key is removed if it did not exist before Tegvia) and removes the service definition. Your data folder is kept. It also removes the tray icon autostart entry (only if Tegvia created it) and closes the icon.

  2. Restart Claude Code so that new sessions go straight to the API.

  3. Optional: delete the Tegvia folder.

  4. Optional: the session log database stays in ~/.tegvia (or your TEGVIA_HOME folder, or the folder set by TEGVIA_LOG_DIR / TEGVIA_LOG_DB) after uninstall, and it contains your exchanges. Delete that folder if you no longer want it.

If you only ran the standalone launcher, there is nothing to uninstall: stopping the launcher (Ctrl-C, or closing its window) already removes the redirect. Then just delete the Tegvia folder.

If you launched the tray icon by hand and never ran install, just quit it from its menu (Quit Tegvia).

If Claude Code can no longer reach the API

If Tegvia was removed or stopped abnormally while settings.json still redirects to the proxy, Claude Code shows API connection errors. Fix ~/.claude/settings.json by hand (with Claude Code closed):

  1. In the "env" section, delete ANTHROPIC_BASE_URL if it is http://127.0.0.1:8736.
  2. If there is an ANTHROPIC_BASE_URL_TEGVIA_BACKUP key, rename it to ANTHROPIC_BASE_URL (that was your original value).
  3. If a proxy.py process is still running, stop it (Task Manager on Windows, pkill -f proxy.py on Linux/macOS).