--- title: "OmniRoute — Uninstall Guide" version: 3.8.40 lastUpdated: 2026-06-28 --- # OmniRoute — Uninstall Guide 🌐 **Languages:** 🇺🇸 [English](./UNINSTALL.md) | 🇪🇹 [አማርኛ](../i18n/am/docs/guides/UNINSTALL.md) | 🇸🇦 [العربية](../i18n/ar/docs/guides/UNINSTALL.md) | 🇦🇿 [Azərbaycan dili](../i18n/az/docs/guides/UNINSTALL.md) | 🇧🇬 [Български](../i18n/bg/docs/guides/UNINSTALL.md) | 🇧🇩 [বাংলা](../i18n/bn/docs/guides/UNINSTALL.md) | 🇧🇦 [Bosanski](../i18n/bs/docs/guides/UNINSTALL.md) | 🇨🇿 [Čeština](../i18n/cs/docs/guides/UNINSTALL.md) | 🇩🇰 [Dansk](../i18n/da/docs/guides/UNINSTALL.md) | 🇩🇪 [Deutsch](../i18n/de/docs/guides/UNINSTALL.md) | 🇬🇷 [Ελληνικά](../i18n/el/docs/guides/UNINSTALL.md) | 🇪🇸 [Español](../i18n/es/docs/guides/UNINSTALL.md) | 🇪🇪 [Eesti](../i18n/et/docs/guides/UNINSTALL.md) | 🇮🇷 [فارسی](../i18n/fa/docs/guides/UNINSTALL.md) | 🇫🇮 [Suomi](../i18n/fi/docs/guides/UNINSTALL.md) | 🇫🇷 [Français](../i18n/fr/docs/guides/UNINSTALL.md) | 🇮🇪 [Gaeilge](../i18n/ga/docs/guides/UNINSTALL.md) | 🇮🇳 [ગુજરાતી](../i18n/gu/docs/guides/UNINSTALL.md) | 🇳🇬 [Hausa](../i18n/ha/docs/guides/UNINSTALL.md) | 🇮🇱 [עברית](../i18n/he/docs/guides/UNINSTALL.md) | 🇮🇳 [हिन्दी](../i18n/hi/docs/guides/UNINSTALL.md) | 🇭🇷 [Hrvatski](../i18n/hr/docs/guides/UNINSTALL.md) | 🇭🇺 [Magyar](../i18n/hu/docs/guides/UNINSTALL.md) | 🇦🇲 [Հայերեն](../i18n/hy/docs/guides/UNINSTALL.md) | 🇮🇩 [Bahasa Indonesia](../i18n/id/docs/guides/UNINSTALL.md) | 🇳🇬 [Igbo](../i18n/ig/docs/guides/UNINSTALL.md) | 🇮🇹 [Italiano](../i18n/it/docs/guides/UNINSTALL.md) | 🇯🇵 [日本語](../i18n/ja/docs/guides/UNINSTALL.md) | 🇬🇪 [ქართული](../i18n/ka/docs/guides/UNINSTALL.md) | 🇰🇭 [ខ្មែរ](../i18n/km/docs/guides/UNINSTALL.md) | 🇮🇳 [ಕನ್ನಡ](../i18n/kn/docs/guides/UNINSTALL.md) | 🇰🇷 [한국어](../i18n/ko/docs/guides/UNINSTALL.md) | 🇱🇹 [Lietuvių](../i18n/lt/docs/guides/UNINSTALL.md) | 🇱🇻 [Latviešu](../i18n/lv/docs/guides/UNINSTALL.md) | 🇮🇳 [മലയാളം](../i18n/ml/docs/guides/UNINSTALL.md) | 🇮🇳 [मराठी](../i18n/mr/docs/guides/UNINSTALL.md) | 🇲🇾 [Bahasa Melayu](../i18n/ms/docs/guides/UNINSTALL.md) | 🇲🇹 [Malti](../i18n/mt/docs/guides/UNINSTALL.md) | 🇲🇲 [မြန်မာ](../i18n/my/docs/guides/UNINSTALL.md) | 🇳🇵 [नेपाली](../i18n/ne/docs/guides/UNINSTALL.md) | 🇳🇱 [Nederlands](../i18n/nl/docs/guides/UNINSTALL.md) | 🇳🇴 [Norsk](../i18n/no/docs/guides/UNINSTALL.md) | 🇮🇳 [ଓଡ଼ିଆ](../i18n/or/docs/guides/UNINSTALL.md) | 🇮🇳 [ਪੰਜਾਬੀ](../i18n/pa/docs/guides/UNINSTALL.md) | 🇵🇭 [Filipino](../i18n/phi/docs/guides/UNINSTALL.md) | 🇵🇱 [Polski](../i18n/pl/docs/guides/UNINSTALL.md) | 🇵🇹 [Português (Portugal)](../i18n/pt/docs/guides/UNINSTALL.md) | 🇧🇷 [Português (Brasil)](../i18n/pt-BR/docs/guides/UNINSTALL.md) | 🇷🇴 [Română](../i18n/ro/docs/guides/UNINSTALL.md) | 🇷🇺 [Русский](../i18n/ru/docs/guides/UNINSTALL.md) | 🇱🇰 [සිංහල](../i18n/si/docs/guides/UNINSTALL.md) | 🇸🇰 [Slovenčina](../i18n/sk/docs/guides/UNINSTALL.md) | 🇸🇮 [Slovenščina](../i18n/sl/docs/guides/UNINSTALL.md) | 🇷🇸 [Српски](../i18n/sr/docs/guides/UNINSTALL.md) | 🇸🇪 [Svenska](../i18n/sv/docs/guides/UNINSTALL.md) | 🇰🇪 [Kiswahili](../i18n/sw/docs/guides/UNINSTALL.md) | 🇮🇳 [தமிழ்](../i18n/ta/docs/guides/UNINSTALL.md) | 🇮🇳 [తెలుగు](../i18n/te/docs/guides/UNINSTALL.md) | 🇹🇭 [ไทย](../i18n/th/docs/guides/UNINSTALL.md) | 🇹🇷 [Türkçe](../i18n/tr/docs/guides/UNINSTALL.md) | 🇺🇦 [Українська](../i18n/uk-UA/docs/guides/UNINSTALL.md) | 🇵🇰 [اردو](../i18n/ur/docs/guides/UNINSTALL.md) | 🇺🇿 [Oʻzbekcha](../i18n/uz/docs/guides/UNINSTALL.md) | 🇻🇳 [Tiếng Việt](../i18n/vi/docs/guides/UNINSTALL.md) | 🇳🇬 [Yorùbá](../i18n/yo/docs/guides/UNINSTALL.md) | 🇨🇳 [中文 (简体)](../i18n/zh-CN/docs/guides/UNINSTALL.md) | 🇹🇼 [中文 (繁體)](../i18n/zh-TW/docs/guides/UNINSTALL.md) This guide covers how to cleanly remove OmniRoute from your system. ## Revert client configuration The uninstaller stops the OmniRoute process managed by PM2, if present, and leaves client configuration in place. Clients that still point to OmniRoute lose their connection once it stops. Full removal also deletes the data directory, `~/.omniroute` by default, along with its client configuration backups. ### 1. Use the dashboard while OmniRoute is running Open **CLI Code** (`/dashboard/cli-code`) in the dashboard and find the **Claude Code** card. **Apply** writes to the OmniRoute host's Claude Code settings file, `~/.claude/settings.json` by default. If you have a backup from before applying the OmniRoute settings, open **Backups** and restore it. Otherwise, select **Reset** to remove the gateway settings from `env`. Apply and Reset back up the existing file first. Backups are stored under `/backups`. If `CLI_ALLOW_CONFIG_WRITES=false` or the dashboard is unavailable, revert the file by hand. If OmniRoute runs in Docker and the client runs on the host, revert the host configuration. Files in an unmounted container home have no effect on the host client. ### 2. Revert remaining changes by hand For Claude Code, check `~/.claude/settings.json`, the `settings.json` in `CLAUDE_CONFIG_DIR` if set, and the project's `.claude/settings.json`. Reset removes the following keys from `env`. Remove the values you added for OmniRoute or restore your previous values. - `"ANTHROPIC_BASE_URL"`, `"ANTHROPIC_AUTH_TOKEN"`, and `"ANTHROPIC_API_KEY"` - `"ANTHROPIC_DEFAULT_OPUS_MODEL"`, `"ANTHROPIC_DEFAULT_SONNET_MODEL"`, and `"ANTHROPIC_DEFAULT_HAIKU_MODEL"` - `"API_TIMEOUT_MS"` Reset leaves `ANTHROPIC_MODEL` in `env` and the top-level `model` and `apiKeyHelper` settings in place. Remove or restore those by hand if they select an OmniRoute model or credential. Stop using any OmniRoute profile created by `omniroute setup-claude` under `~/.claude/profiles//`, or revert its `settings.json`. The setup command writes the profile without changing the default settings file or saving a token. Remove or restore matching exports in your shell startup files and clear old values from the current shell. `omniroute launch` and `omniroute run claude` set the gateway URL and token for the child process only. For Codex, restore the previous provider and model in `~/.codex/config.toml` if it contains `model_provider = "omniroute"`. Remove `[model_providers.omniroute]` if it was added for this gateway. Restore or remove `openai_base_url` if it points to OmniRoute. For OpenAI-compatible clients, restore or clear `OPENAI_BASE_URL` wherever you set it for OmniRoute. ### 3. Verify the client works with OmniRoute stopped Check the default Claude Code settings and the current shell environment. ```bash grep -n ANTHROPIC ~/.claude/settings.json env | grep ANTHROPIC ``` Neither check should show `ANTHROPIC_BASE_URL` pointing to OmniRoute. If you use a profile or project settings, check those files too. With OmniRoute stopped and your usual authentication restored, run Claude Code directly. ```bash claude -p "say hello" ``` Claude Code should respond using the restored configuration. If it still points to the stopped gateway, the request fails with a connection error. --- ## Quick Uninstall (v3.6.2+) > [Revert client configuration](#revert-client-configuration) first, while OmniRoute is still running. OmniRoute provides two built-in scripts for clean removal: ### Keep Your Data ```bash npm run uninstall ``` This removes the OmniRoute application but **preserves** your database, configurations, API keys, and provider settings in `~/.omniroute/`. Use this if you plan to reinstall later and want to keep your setup. ### Full Removal ```bash npm run uninstall:full ``` This removes the application **and permanently erases** all data: - Database (`storage.sqlite`) - Provider configurations and API keys - Backup files - Log files - All files in the `~/.omniroute/` directory > ⚠️ **Warning:** `npm run uninstall:full` is irreversible. All your provider connections, combos, API keys, and usage history will be permanently deleted. --- ## Manual Uninstall > [Revert client configuration](#revert-client-configuration) first, while OmniRoute is still running. ### NPM Global Install ```bash # Remove the global package npm uninstall -g omniroute # (Optional) Remove data directory rm -rf ~/.omniroute ``` ### pnpm Global Install ```bash pnpm uninstall -g omniroute rm -rf ~/.omniroute ``` ### Docker ```bash # Stop and remove the container docker stop omniroute docker rm omniroute # Remove the volume (deletes all data) docker volume rm omniroute-data # (Optional) Remove the image docker rmi cheaperinference/omniroute:latest # Older installs pulled the legacy name: docker rmi diegosouzapw/omniroute:latest ``` ### Docker Compose ```bash # Stop and remove containers docker compose down # Also remove volumes (deletes all data) docker compose down -v ``` ### Electron Desktop App **Windows:** - Open `Settings → Apps → OmniRoute → Uninstall` - Or run the NSIS uninstaller from the install directory **macOS:** - Drag `OmniRoute.app` from `/Applications` to Trash - Remove data: `rm -rf ~/Library/Application Support/omniroute` **Linux:** - Remove the AppImage file - Remove data: `rm -rf ~/.omniroute` ### Source Install (git clone) ```bash # Remove the cloned directory rm -rf /path/to/omniroute # (Optional) Remove data directory rm -rf ~/.omniroute ``` --- ## Data Directories OmniRoute stores data in the following locations by default: | Platform | Default Path | Override | | ------------- | ----------------------------- | ------------------------- | | Linux | `~/.omniroute/` | `DATA_DIR` env var | | macOS | `~/.omniroute/` | `DATA_DIR` env var | | Windows | `%APPDATA%/omniroute/` | `DATA_DIR` env var | | Docker | `/app/data/` (mounted volume) | `DATA_DIR` env var | | XDG-compliant | `$XDG_CONFIG_HOME/omniroute/` | `XDG_CONFIG_HOME` env var | ### Files in the data directory | File/Directory | Description | | -------------------- | ------------------------------------------------- | | `storage.sqlite` | Main database (providers, combos, settings, keys) | | `storage.sqlite-wal` | SQLite write-ahead log (temporary) | | `storage.sqlite-shm` | SQLite shared memory (temporary) | | `call_logs/` | Request payload archives | | `backups/` | Automatic database backups | | `log.txt` | Legacy request log (optional) | --- ## Verify Complete Removal After uninstalling, verify there are no remaining files: ```bash # Check for global npm package npm list -g omniroute 2>/dev/null # Check for data directory ls -la ~/.omniroute/ 2>/dev/null # Check for running processes pgrep -f omniroute ``` If any process is still running, stop it: ```bash pkill -f omniroute ```