Installation
CLI Installation
Install the PRISM CLI using Go:
Verify the installation:
Library Installation
Add PRISM as a Go module dependency:
Requirements
- Go 1.24 or later
- Git (for installation via
go install)
Building from Source
Clone the repository and build:
Install locally:
Editor Support
PRISM provides a JSON Schema for editor validation:
VS Code
Add to your JSON file:
Or configure in .vscode/settings.json:
{
"json.schemas": [
{
"fileMatch": ["*prism*.json", "*metrics*.json"],
"url": "https://raw.githubusercontent.com/grokify/prism/main/schema/prism.schema.json"
}
]
}
JetBrains IDEs
- Open Preferences → Languages & Frameworks → Schemas and DTDs → JSON Schema Mappings
- Add a new mapping with the schema URL
- Set file pattern to
*prism*.json