# create-graview

`create-graview` is one of the 14 npm packages of Graview, a TypeScript framework that derives an app’s interface, permissions and agent tools from one declaration. Start a product on Graview: `npm create graview my-app`. The conventional door to `graview create`.

```sh
pnpm add create-graview
```

## What it is

```sh
npm create graview@latest my-app
pnpm create graview my-app
```

Once the packages are published. Until then, from a framework checkout: `pnpm graview create ../my-app --link .`

The conventional door to `graview create`. It writes a product on Graview — the declaration split into domain and UI, an eighty-line shell, a headless test and a CI workflow — installs it, and says what to do next. The generator and the command live in `@graview/core`; this package only makes `npm create` find them.

```text
--name "Field Notes"   the product's name (default: from the directory)
--kind note            the first node kind (default: item)
--link ../graview      consume the framework by path from a sibling checkout
--pm pnpm|npm          the package manager (default: whichever ran this)
--no-install           write the files and stop
```

`scripts/smoke-create.mjs` in the framework repository is what keeps this honest: on every push it scaffolds a project from the packed tarballs, installs it the way a stranger would, runs the project's own `verify`, and opens it in a real browser.

## What it exports (1)

Read off the package's own barrel, so this is what is there today.

`createGraview`

---

Start a product on Graview: `npm create graview my-app`. The conventional door to `graview create`.

The page: https://graview.dev/docs/packages/create-graview.html · Every Graview docs page, for a model: https://graview.dev/llms.txt
