pkg.soopen package index

brew / rank 5779

Install prism-cli with Homebrew, Nix, winget

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

Additional install commands

macOS

Homebrewverified · 100%
brew install prism-cli

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#prism

nixpkgs package indexes · pkgs/by-name/pr/prism/package.nix · source: api.github.com

Windows

Windows Package Managerverified · 92%
winget install --id Andrea.Prism -e

Windows Package Manager source index · Andrea.Prism · source: cdn.winget.microsoft.com

overview

Package summary

Set of packages for API mocking and contract testing

Commands and aliases

  • prism

history

Project history and usage

Prism CLI is Stoplight’s self-hosted HTTP server for generating mock APIs from contracts and validating real API traffic against those contracts.

Project history

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.

Adoption history

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.

How it is used

`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.

Why package nerds care

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.

Timeline

  • 2019: Prism 3.0 reached general release after an extended alpha and beta cycle.
  • 2023: The 5.x release line continued improvements to OpenAPI handling and validation behavior.
  • Later development: The CLI added deterministic seeding for dynamically generated examples.

Related projects

  • Stoplight Platform and Stoplight Studio integrate hosted mocking powered by Prism.
  • OpenAPI specifications and Postman collections are the primary contract inputs consumed by Prism.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
prismcliglobal executable

freshness

Version and 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.

page generated2026-11-04
manager version5.16.0
manager updated2026-09-06
local dataok
upstreamnot checked
latest detectednot detected

https://stoplight.io/open-source/prism

install metadata

Package metadata

Package keybrew:prism-cli
Version5.16.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/prism-cli
Homepagehttps://stoplight.io/open-source/prism
Upstream docshttps://stoplight.io/open-source/prism
LicenseApache-2.0
Source archivehttps://registry.npmjs.org/@stoplight/prism-cli/-/prism-cli-5.16.0.tgz
Last updated2026-09-06T23:58:24+02:00
Pulseupdated
Dependenciesnode
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameprism-cli
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix92%

prism

nix profile install nixpkgs#prism
  • installed executable or alias match
  • Matched by: Prism
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/pr/prism/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
winget92%

Andrea.Prism

winget install --id Andrea.Prism -e
  • installed executable or alias match
  • Matched by: Prism
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Andrea.Prism from https://cdn.winget.microsoft.com/cache/source.msix
winget92%

Stoplight.Prism

winget install --id Stoplight.Prism -e
  • installed executable or alias match
  • Matched by: Prism
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Stoplight.Prism from https://cdn.winget.microsoft.com/cache/source.msix
winget92%

qyzhg.Prism

winget install --id qyzhg.Prism -e
  • installed executable or alias match
  • Matched by: Prism
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: qyzhg.Prism from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation