Install the CLI
Run Prism from a terminal with npx or a global install.
Steps
- Open a terminal inside your project:
cd /path/to/your/project- Check the environment (no
--workspaceneeded — Prism uses the git root):
npx -y @repo-prism/cli doctor-
Read the doctor output:
- Workspace — which folder was chosen (
git rootis normal). - Index cache —
warnon first run is expected.
- Workspace — which folder was chosen (
-
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- (Optional) Install globally:
npm install -g @repo-prism/cli
prism doctor
prism health --verboseRequirements
Node.js 26+. You do not need to clone the Prism repository.