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”# macOS / Linuxcurl -fsSL https://raw.githubusercontent.com/colbymchenry/codegraph/main/install.sh | sh
# Windows (PowerShell)irm https://raw.githubusercontent.com/colbymchenry/codegraph/main/install.ps1 | iexAlready have Node? Use npm instead (works on any version)
Section titled “Already have Node? Use npm instead (works on any version)”npx @colbymchenry/codegraph # zero-install, or:npm i -g @colbymchenry/codegraphCodeGraph 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.
Initialize Projects
Section titled “Initialize Projects”cd your-projectcodegraph init -iThat’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.