macOS
brew install prism-clilocal Homebrew formula metadata
brew / rank 5779
Set of packages for API mocking and contract testing. Version 5.16.0 via Homebrew; verified 2026-09-06. Also installable with nix: nix profile install nixpkgs#prism.
install
brew install prism-clilocal Homebrew formula metadata
nix profile install nixpkgs#prismnixpkgs package indexes · pkgs/by-name/pr/prism/package.nix · source: api.github.com
winget install --id Andrea.Prism -eWindows Package Manager source index · Andrea.Prism · source: cdn.winget.microsoft.com
overview
Set of packages for API mocking and contract testing
history
Prism CLI is Stoplight’s self-hosted HTTP server for generating mock APIs from contracts and validating real API traffic against those contracts.
Stoplight developed Prism as a collection of packages for API mocking and contract testing. The project supports OpenAPI 2, OpenAPI 3.x and Postman collections, with a self-hosted HTTP server providing mock responses, request validation and content negotiation.
The 3.0 generation reached general release in July 2019 after a TypeScript-oriented refactoring and introduced a Docker image during its beta cycle. Later releases expanded schema support, validation behavior, content handling and deterministic dynamic example generation.
Stoplight made Prism available as the `@stoplight/prism-cli` npm package, a standalone command-line HTTP server, a Docker image and a component of its hosted API-design products. Homebrew, Nix and WinGet packaging further expose the CLI outside the Node.js package ecosystem.
Prism’s adoption niche is API-first development: teams can stand up a mock before backend implementation exists, place a validating proxy in front of an implementation and run the same checks in continuous integration.
`prism mock` starts an interactive mock server from an OpenAPI document, allowing clients to integrate before a backend is complete. `prism proxy` forwards traffic to a real API while checking requests and responses against the contract; both modes can be used locally or in CI.
Prism turns an OpenAPI or Postman description into an immediately runnable development service. For package-manager users, it compresses schema parsing, example generation, content negotiation, request validation and proxying into one reproducible CLI installation.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
prism | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://stoplight.io/open-source/prism
install metadata
| Package key | brew:prism-cli |
|---|---|
| Version | 5.16.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/prism-cli |
| Homepage | https://stoplight.io/open-source/prism |
| Upstream docs | https://stoplight.io/open-source/prism |
| License | Apache-2.0 |
| Source archive | https://registry.npmjs.org/@stoplight/prism-cli/-/prism-cli-5.16.0.tgz |
| Last updated | 2026-09-06T23:58:24+02:00 |
| Pulse | updated |
| Dependencies | node |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | prism-cli |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
prism
nix profile install nixpkgs#prismAndrea.Prism
winget install --id Andrea.Prism -eStoplight.Prism
winget install --id Stoplight.Prism -eqyzhg.Prism
winget install --id qyzhg.Prism -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.