Skip to content

[docs] Interactive installer already initializes the project, docs still suggest running codegraph init -i separately #826

@magentaqin

Description

@magentaqin

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.

Image

Later, I followed the docs and ran:

codegraph init -i

which returned:

Already initialized in /Users/magentaqin/github/firecrawl

Use "codegraph index" to re-index or "codegraph sync" to update
Image

Documentation confusion

The installation docs currently suggest:

  1. Run
npx @colbymchenry/codegraph
  1. Restart your agent

  2. Initialize projects

codegraph init -i

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.

Image

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions