Quick Start
Requirements
- Node.js 18+
- Git (for pre-commit hooks and CI features)
Install via npm
npm install -g cxgrd
Verify install
cxgrd --version
First scan
cd your-project
cxgrd scan
This creates a .cg/ folder in your project with the dependency graph, symbol map, and architectural memory. These graphs
and maps are later used to calculate blast radius and perform compiler verifications
See cxgrd input
Pro features
To unlock cxgrd prompt and cloud graph sync:
cxgrd auth login
This opens GitHub OAuth in your browser. After signing in, visit cxgrd.com/pricing to upgrade.
Team features
Team plan unlocks shared graph sync, CI merge enforcement, merge policies, the team dashboard, and audit log.
After upgrading to Team:
- Run
cxgrd auth loginto get a team-scoped JWT - Run
cxgrd scan --teamto push your graph to the shared team cloud - Install the CXGRD GitHub App from your team dashboard
- Generate a CI token from the dashboard and add it to your repo's GitHub Actions secrets as
CXGRD_AUTH_TOKEN - Add the cxgrd workflow file to your repo (see
cxgrd check --ci)
Upgrade at https://cxgrd.com/pricing