Skip to Content
Prism UI
CLI

CLI Installation

Install the prismrepo CLI from npm.

The prismrepo CLI (npm package @prismrepo/cli) is a devDependency-only, install-time tool. It copies Prism's Layer 1 primitives and Layer 2 field components directly into your project; it never becomes a runtime dependency of your shipped application.

Install

npm install -D @prismrepo/cli

Once installed, run the prismrepo command directly:

npx prismrepo --help

Without installing first

npm exec --package @prismrepo/cli -- prismrepo init

Commands

See Generated Files for what each command actually writes, and prismrepo --help for the full, current flag list.

On this page