Documentation
The full list of codegraph's terminal commands and desktop app menus. Don't have the installer yet? Sign up here first
Terminal Commands (CLI)
Run as codegraph <command> from your project folder.
codegraph build [path]
Analyzes the codebase (default: current folder) and caches the graph to .codegraph/graph.json.
codegraph query <keyword>
Finds nodes (functions/classes/etc.) whose name matches keyword, along with their callers and callees.
codegraph path <dari> <ke>
Shows the shortest path between two nodes in the graph.
codegraph stats
A summary of the cached graph: node counts per language, per kind, and the most important nodes.
codegraph report [output]
Renders the cached graph into a single self-contained interactive HTML file (default: codegraph-out/graph.html).
codegraph mcp [path]
Runs an MCP server (stdio) so an AI coding agent like Claude Code can query the graph directly; rebuilds automatically on file changes unless run with --no-watch.
codegraph license activate <file>
Verifies and installs a license file (.codegraph-license).
codegraph license status
Shows the currently active license's tier, licensee, expiry, and limits.
codegraph license switch-project
Releases the Free tier's claimed project, so a different one can be opened.
codegraph license deactivate
Releases this device's binding from a Pro license, so it can be activated on another device.
Desktop App Menus (GUI)
File
- Open Project… (Ctrl+O) — pick a folder to analyze
- Rebuild (Ctrl+R) — re-analyze the currently open project
- Exit
License
- License Status — the active tier, licensee, and limits
- Activate License… — install a .codegraph-license file
- Release This Device… — free up the Pro seat so it can be used elsewhere
Preferences
- Language — Indonesian / English
- Theme — Light / Dark
Help
- Enable / Disable Claude Code integration
- About CodeGraph — app version and official links
A Note on Free & Pro
The Free tier only opens 1 project at a time (enforced locally). To open a different one, run codegraph license switch-project to release the current one first. Pro opens unlimited projects, but stays active on one device at a time — run codegraph license deactivate on the old device before activating on a new one.