Skip to content

from @unified-product-graph/cli · Graph

upg init

Create a .upg file. Interactive by default.

Usage

upg init [options]

Options

--title <title>
Product title. Skips prompt
--template <template>
blank | saas | marketplace | mobile | oss. Skips prompt
--workspace
Create in .upg/<name>.upg with workspace.json. Skips prompt
--single
Create product.upg in the current directory. Skips prompt
--force
Overwrite the existing file

Examples

Interactive setup

upg init

Output

? What's your product called? Checkout Redesign
? Start from a template? saas
? Single product or multi-product workspace? single

  ✓  Created product.upg
     3 seed nodes  ·  template: saas

  Next steps:

    upg install-skills        Install UPG skills into Claude Code
    upg mcp setup             Wire the MCP server (one-time)
    upg health                Check your graph

  Then open Claude Code and type /upg to get started.

Non-interactive SaaS scaffold

upg init --title "MealMaster" --template saas

Create a multi-product workspace

upg init --workspace --title "MealMaster"

Related

upg workspaceupg importupg export