Prerequisites
.NET 8 SDK
Required for the analysis engine and API server
Neo4j
Graph database for storing code structure
Node.js 18+
Required for the web frontend
pnpm
Package manager for the frontend
Optional (for GPU acceleration)
- Rust 1.70+ - For building the GPU layout engine
- Metal (macOS) or Vulkan (Linux/Windows) - GPU compute support
Step 1: Install Neo4j
- Neo4j Desktop (Recommended)
- Docker
- Homebrew (macOS)
- Download Neo4j Desktop
- Create a new project and database
- Start the database
- Note your password (default user is
neo4j)
Step 2: Clone CodeGraph
Step 3: Configure Environment
.env and set your Neo4j credentials:
Step 4: Install Dependencies
Step 5: Verify Installation
GPU Layout Engine (Optional)
For large codebases (1000+ nodes), the GPU layout engine provides significantly faster graph layout computation.1
Install Rust
2
Build GraphPU
3
Verify GPU Support
What’s Next?
Quickstart
Analyze and visualize your first codebase