From 5aae9c4bbff4fe02f8284ef5f91dd9d5391027f6 Mon Sep 17 00:00:00 2001 From: Colby McHenry Date: Fri, 22 May 2026 05:58:34 -0500 Subject: [PATCH] Uninstall info in readme --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 598ac5b..511e209 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,16 @@ codegraph init -i +### Uninstall + +Changed your mind? One command removes CodeGraph from every agent it configured: + +```bash +codegraph uninstall +``` + +Reverses the installer — strips CodeGraph's MCP server config, instructions, and permissions from each configured agent. Your project indexes (`.codegraph/`) are left untouched; remove those per-project with `codegraph uninit`. Use `--target` to remove from specific agents, or `--yes` to run non-interactively. + --- ## Why CodeGraph? @@ -333,6 +343,7 @@ At the start of a session, ask the user if they'd like to initialize CodeGraph: ```bash codegraph # Run interactive installer codegraph install # Run installer (explicit) +codegraph uninstall # Remove CodeGraph from your agents (inverse of install) codegraph init [path] # Initialize in a project (--index to also index) codegraph uninit [path] # Remove CodeGraph from a project (--force to skip prompt) codegraph index [path] # Full index (--force to re-index, --quiet for less output)