Uninstall
Order matters: undo the agent configuration before you remove Latet. Otherwise your agents
keep sending their traffic to 127.0.0.1:5283 and fail with connection errors once the daemon is
gone.
1. Turn Latet off
Section titled “1. Turn Latet off”latet global-uninstallThis one command:
- reverts every agent Latet configured. For Claude Code it uninstalls the plugin and puts back
settings.jsonas it was beforelatet global-install. For Codex it removes theopenai_base_urlline, for OpenCode thebaseURLoverrides. If you edited one of these files since, Latet removes only what it added and keeps your edits; - removes the start at login;
- stops the daemon.
It does not change the tools you pointed at Latet yourself, in their own settings or in your shell:
GitHub Copilot, Zed, Cline, Kilo Code, Continue, Crush, Junie, Android Studio, Hermes Agent,
OpenClaw, Goose, OpenHands, Aider, and a latet env line in your shell profile. Put back their own
address in each, or they fail with connection errors once the daemon is stopped.
It prints what it did for each part, for example:
Claude Code: restoredCodex: restoredOpenCode: not appliedautostart: removeddaemon: stoppedRestart your agents afterwards. To revert a single agent instead, run
latet agents revert claude (or codex, opencode).
2. Remove the tool
Section titled “2. Remove the tool”uv tool uninstall latetIf you ran Latet from a source checkout, there is nothing to uninstall: run uv run latet global-uninstall
in step 1, then delete the checkout. If you installed it with py -m pip, run
py -m latet global-uninstall in step 1, then py -m pip uninstall latet.
3. Delete local data (optional)
Section titled “3. Delete local data (optional)”To keep your settings and the vault, for later or for another machine, save them first:
latet backup latet.backup --vault (see
Export and import).
Latet keeps its data on your machine only, in two folders:
| Windows | macOS | Linux | |
|---|---|---|---|
| Data | %LOCALAPPDATA%\latet |
~/Library/Application Support/latet |
~/.local/share/latet |
Configuration (config.yaml) |
%APPDATA%\latet |
~/Library/Application Support/latet |
~/.config/latet |
If you set LATET_DATA_DIR or LATET_CONFIG, look there instead. The data folder holds:
latet.db: the vault, which maps each original to its surrogate. The originals are encrypted.exchanges.db: the dashboard history.backups/: copies of your agents’ configuration files from beforelatet global-installchanged them.latet global-uninstallneeds them, so delete them only after step 1.models/: the local name model and the text recognition models (about 1.6 GB and 31 MB), whichlatet ner removeandlatet ocr removedelete.logs/,bridge.token,integrations.json(the record of whatlatet global-installchanged),claude-marketplace/(the copy of the Claude Code plugin),tutorial.json(the chapters of the tutorial you finished),repositories.json(the folders of the repositories with alatet.yamlthat Latet has seen), androot.keyif your system has no credential store.
The key that encrypts the vault lives in your operating system’s credential store (Windows
Credential Manager, macOS Keychain, or the desktop keyring on Linux), under the service name
latet and the account root-key. Delete that entry too.
If the latet command is already gone
Section titled “If the latet command is already gone”Undo the changes by hand:
- Claude Code: run
claude plugin uninstall latet@latetandclaude plugin marketplace remove latet. Then remove these keys from theenvblock of~/.claude/settings.json(or$CLAUDE_CONFIG_DIR/settings.json):ANTHROPIC_BASE_URL,LATET_BRIDGE_URL,LATET_BRIDGE_TOKEN,ENABLE_TOOL_SEARCHandCLAUDE_CODE_AUTO_MODE_SERVER. Keep any of them you had set yourself before. Remove alsoLATET_BRIDGE_HELPER,NODE_EXTRA_CA_CERTS,USERandUSERNAMEif Latet set them, and put back any address that points at127.0.0.1(ANTHROPIC_BEDROCK_BASE_URL,ANTHROPIC_VERTEX_BASE_URL,ANTHROPIC_FOUNDRY_BASE_URL) as it is in the copy ofsettings.jsoninbackups/. - Codex: remove the
openai_base_urlline from~/.codex/config.toml(or$CODEX_HOME/config.toml), and, for a provider of your own, put back thebase_urlof its[model_providers.<id>]section, inconfig.tomlor in the profile’s<name>.config.toml, from the copy inbackups/. - OpenCode: remove the
baseURLentries that point at127.0.0.1:5283from~/.config/opencode/opencode.jsonc(oropencode.json). - Other clients: unset
OPENAI_BASE_URL,OPENAI_API_BASE,ANTHROPIC_BASE_URL,GOOGLE_GEMINI_BASE_URLandGOOGLE_VERTEX_BASE_URL, or put back the base URL you used before. In the tools you pointed at Latet in their own settings, put back their own address. - Start at login: on Windows, delete the
Latetvalue underHKCU\Software\Microsoft\Windows\CurrentVersion\Run. On macOS, runlaunchctl bootout gui/$(id -u) ~/Library/LaunchAgents/dev.latet.daemon.plist, then delete that file. On Linux, runsystemctl --user disable latet.service, then delete~/.config/systemd/user/latet.service.
Copies of your configuration files from before latet global-install are in the backups/
folder of the data folder.
© 2026 Emanuele Casabona · VAT IT02293040990 · Privacy policy · Legal notice · latet.ai