From c74b3486c3414f17c417dbc5ff1a5a41bab2a78a Mon Sep 17 00:00:00 2001 From: Dashsoap <42135402+Dashsoap@users.noreply.github.com> Date: Sun, 14 Jun 2026 20:24:23 +0800 Subject: [PATCH] docs: clarify that the installer already inits the current project (#826) The Quick Start lists 'codegraph init' as step 3 as if it were always required, but step 1's installer already initializes the project it's run in (src/installer/index.ts initializeLocalProject -> CodeGraph.init + indexAll on a local install). Users who follow the steps literally hit 'Already initialized ...' when they re-run init in that same project (reported in #826). Clarify that step 3's 'codegraph init' is for OTHER projects, and that the project the installer ran in is already indexed. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 354af2463..1a5525e38 100644 --- a/README.md +++ b/README.md @@ -366,6 +366,10 @@ Restart your agent (Claude Code / Cursor / Codex CLI / opencode / Hermes Agent / ### 3. Initialize Projects +The interactive installer in step 1 already initializes **the project you ran it in** (it runs `codegraph init` for you on a local install — see "Initialize your current project" above). For that project you can skip straight to step 2. + +To index **other** projects, run `codegraph init` in each one: + ```bash cd your-project codegraph init