Uninstall
Use the official interactive uninstaller to stop CtxE processes, remove service-manager definitions, clean supported MCP integrations, and choose how much local data to retain.
Run the uninstaller
macOS / Linux
curl -fsSL https://storage.tlelabs.com/ctxe/latest/uninstall.sh | shWindows (PowerShell)
irm https://storage.tlelabs.com/ctxe/latest/uninstall.ps1 | iexThe uninstaller requires an interactive terminal for destructive choices. It exits without deleting anything if confirmation is unavailable or declined.
Choose a removal scope
| Option | Removes | Keeps |
|---|---|---|
| 1. Runtime only | Binaries, services, and supported Claude/Codex integration entries | Global config, local session, and indexes |
| 2. Runtime + config | Runtime items, global config, and local credentials | Indexes |
| 3. Everything | Runtime items and all data managed globally by CtxE, including legacy data | Workspace-local .ctxe directories |
For options 1 and 2, a final prompt can also remove daemon runtime and watch state, health records, and logs. Index directories configured outside CtxE's managed data directory require separate confirmation.
Service and process cleanup
The uninstaller stops managed services before removing executables:
- macOS: disables and unloads the
com.ctxe.daemonand legacycom.ctxe.mcplaunchd jobs, then removes their LaunchAgent files. - Linux: disables and stops the
ctxe-daemon.serviceand legacyctxe-mcp.servicesystemd user units. - Windows: disables, stops, and unregisters the
CtxeIndexingDaemonand legacyCtxeMcpScheduled Tasks. - Any remaining
ctxeor legacyctxe-mcpprocess is stopped before its binary is removed.
If service-manager cleanup cannot be verified, the uninstaller exits non-zero and retains binaries and configuration instead of leaving a partial uninstall.
What remains
- Workspace-local
.ctxedirectories are never removed automatically. - Shared
PATHentries are not changed because their directories may contain other tools. - Unsupported or manually configured MCP clients are not edited automatically.
Verify removal
macOS / Linux
command -v ctxe
command -v ctxe-mcp
test ! -e "$HOME/.ctxe" && echo "Global CtxE data removed"Windows (PowerShell)
Get-Command ctxe.exe -ErrorAction SilentlyContinue
Get-Command ctxe-mcp.exe -ErrorAction SilentlyContinue
Test-Path "$HOME\.ctxe"