codegraph install guide

Get codegraph on Windows, macOS or Linux Now!

Pre-indexed code knowledge graph, 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

codegraph one-command setup card, ai agent, for Windows and macOS and Linux, 72k stars on the project's repository
★ 72k stars WindowsmacOS and Linux README verified

Get codegraph with one command

Pick your system, reveal the step-by-step guide, copy the command, paste it into your terminal and press Enter. This command was taken from the project's own documentation and checked against it.

PowerShell

What codegraph does

  • Ask whether configs apply to all your projects or just this one
  • Trust the results — don't re-verify with grep, and check the staleness banner after edits
  • TypeScript types ship with the package. As with any Node-targeting library
  • Mixed iOS / React Native / Expo bridging
  • Set up auto-allow permissions when Claude Code is one of the targets
  • Files larger than 1 MB — generated bundles, minified JS, vendored blobs

Summarised from codegraph's own README.

About codegraph

Pre-indexed code knowledge graph, 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

CategoryAI agent
Install methodPowerShell one-liner (irm | iex)
Windowsdocumented install command available
macOS / Linuxdocumented install command available
PriceFree and open source
Command verifiedYes — checked against the project README
Popularity72k stars on the project's public repository

On mobile

codegraph is a command-line tool, so there is no phone app for it — a phone has no shell to run it in. You'll need a desktop, or a remote shell into a machine that has one.

codegraph is developed by its own authors. This page is an independent reference; we are not affiliated with or sponsored by the project. The command shown here was reproduced from the project's public documentation — always check the project's own documentation before running anything.