Hi! First of all, thanks for building CodeGraph. I'm testing v0.9.9 with Claude Code on macOS and noticed a small documentation issue.
Environment
- CodeGraph version: 0.9.9
- Installation method:
npx @colbymchenry/codegraph
What happened
The interactive installer already initialized my project automatically.
During installation, I saw:
- Created
.codegraph/ directory
- Scanned files
- Parsed code
- Indexed 1,066 files (15,814 symbols)
So the project was already initialized.
Later, I followed the docs and ran:
which returned:
Already initialized in /Users/magentaqin/github/firecrawl
Use "codegraph index" to re-index or "codegraph sync" to update
Documentation confusion
The installation docs currently suggest:
- Run
npx @colbymchenry/codegraph
-
Restart your agent
-
Initialize projects
This makes it look like codegraph init -i is always required.
However, with the interactive installer in v0.9.9, initialization already happens automatically, so the extra step isn't necessary.
Suggestion
Maybe clarify that:
npx @colbymchenry/codegraph already initializes the current project.
codegraph init -i is only needed when initializing a project manually or when using another installation path.
Thanks!
Hi! First of all, thanks for building CodeGraph. I'm testing v0.9.9 with Claude Code on macOS and noticed a small documentation issue.
Environment
What happened
The interactive installer already initialized my project automatically.
During installation, I saw:
.codegraph/directorySo the project was already initialized.
Later, I followed the docs and ran:
which returned:
Documentation confusion
The installation docs currently suggest:
Restart your agent
Initialize projects
This makes it look like
codegraph init -iis always required.However, with the interactive installer in v0.9.9, initialization already happens automatically, so the extra step isn't necessary.
Suggestion
Maybe clarify that:
npx @colbymchenry/codegraphalready initializes the current project.codegraph init -iis only needed when initializing a project manually or when using another installation path.Thanks!