codegraph

codegraph
Share:FacebookTelegramZalo
⚡ Quick install — copy & paste
curl -fsSL https://raw.githubusercontent.com/colbymchenry/codegraph/main/install.sh | sh
For beginners: this command needs bash. Windows: run it in Git Bash or WSL (do NOT use PowerShell/CMD — they have no bash and it will fail) · macOS/Linux: open Terminal.
🗑️ How to uninstall (per the README)
The repo README does not say how to uninstall. Check the repo README/GitHub for the exact steps.

▶️ Usage summary

  • Install: curl -fsSL https://raw.githubusercontent.com/colbymchenry/codegraph/main/install.sh | sh
  • Non-interactive (scripting / CI): codegraph install --yes # auto-detect agents, install global
  • 3. Initialize Projects: cd your-project
  • Add to ~/.claude.json: {

🇻🇳 Đọc bằng tiếng Việt

codegraph — A pre-indexed code knowledge graph that auto-syncs on code changes, for Claude Code, Codex, Gemini, Cursor, OpenCode, AntiGravity, Kiro, Copilot, and Hermes Agent — fewer tokens, fewer tool calls, 100% local.

What is codegraph?

codegraph is a skill (a capability for AI agents such as Claude, Codex and Cursor) on GitHub (colbymchenry/codegraph). A pre-indexed code knowledge graph that auto-syncs on code changes, for Claude Code, Codex, Gemini, Cursor, OpenCode, AntiGravity, Kiro, Copilot, and Hermes Agent — fewer tokens, fewer tool calls, 100% local.

What can codegraph do?

  • Prompts to install codegraph on your PATH (so agents can launch the MCP server)
  • Asks whether configs apply to all your projects or just this one
  • Sets up auto-allow permissions when Claude Code or Qwen Code is one of the targets
  • Trust the results — don't re-verify with grep, and check the staleness banner after edits.
  • Install from npm (npm i @colbymchenry/codegraph) so the matching per-platform package is fetched
  • The API runs on your runtime, so it needs Node 22.5+ for the built-in node:sqlite

How to install codegraph

See the ⚡ Quick install section at the top of the page — it has a ready-to-copy command taken from the author’s README, plus where to run it. For the full instructions, see the README at the end of the page.

Frequently asked questions about codegraph

Is codegraph free?

Yes. codegraph is an open-source project on GitHub, so you can download and use it for free.

Is codegraph hard to install?

No. You only need to run one command above.

Download & source code

The source code, README and latest updates of codegraph are at github.com/colbymchenry/codegraph. The star count and update date on this page sync automatically from GitHub.

📖 Full guide

🌐 Translate (Google):

Loading the guide…

🔗 Related repos

Have a question? Ask the groupFacebook group Ask Anything (in Vietnamese): free Q&A on any topic, with real answers.Join the group →
Hoang Ngoc Quang Anh

Sharing computer, Windows and software tips. If you have a question, leave a comment below.