Install the CLI

Run Prism from a terminal with npx or a global install.

Steps

  1. Open a terminal inside your project:
cd /path/to/your/project
  1. Check the environment (no --workspace needed — Prism uses the git root):
npx -y @repo-prism/cli doctor
  1. Read the doctor output:

    • Workspace — which folder was chosen (git root is normal).
    • Index cachewarn on first run is expected.
  2. Run your first analyses:

npx -y @repo-prism/cli dna
npx -y @repo-prism/cli health
npx -y @repo-prism/cli blast src/index.ts --fail-on high
  1. (Optional) Install globally:
npm install -g @repo-prism/cli
prism doctor
prism health --verbose

Requirements

Node.js 26+. You do not need to clone the Prism repository.

Next

Usage · Quickstart · Command reference

On this page