Skip to content

Get Started

Get up and running with CodeGraph in seconds.

No Node.js required — one command grabs the right build for your OS

Section titled “No Node.js required — one command grabs the right build for your OS”
Terminal window
# macOS / Linux
curl -fsSL https://raw.githubusercontent.com/colbymchenry/codegraph/main/install.sh | sh
# Windows (PowerShell)
irm https://raw.githubusercontent.com/colbymchenry/codegraph/main/install.ps1 | iex

Already have Node? Use npm instead (works on any version)

Section titled “Already have Node? Use npm instead (works on any version)”
Terminal window
npx @colbymchenry/codegraph # zero-install, or:
npm i -g @colbymchenry/codegraph

CodeGraph bundles its own runtime — nothing to compile, no native build, works the same everywhere. The interactive installer auto-configures your agent(s) — Claude Code, Cursor, Codex CLI, opencode, Hermes Agent.

Terminal window
cd your-project
codegraph init -i

That’s it — your agent will use CodeGraph tools automatically when a .codegraph/ directory exists.

Next: build Your First Graph, or see the full Installation options.