Skip to content

@unified-product-graph/cli · v0.7.3

The upg command line

Scaffold, inspect, edit, validate and sync product graphs straight from the terminal and gate CI on graph health. 23 commands, zero config, reads and writes the same .upg files as the SDK and MCP server.

Install

$npm install -g @unified-product-graph/cli

Or run it without installing: npx @unified-product-graph/cli <command>.

60-second quick start

# Scaffold a graph (interactive — or pass --title to script it)
upg init

# Score its health, 0–100
upg health

# Validate structure — exits non-zero on violations (great in CI)
upg verify

Every command takes --help. Most reads support --json for scripting.

23 commands

Go deeper