# Install stripe-mock with Homebrew, zypper

Mock HTTP server that responds like the real Stripe API. Version 0.201.0 via Homebrew; verified 2026-05-28.

## Install

```sh
sudo av install brew:stripe-mock
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install stripe-mock
```

  Evidence: local Homebrew formula metadata

### Linux

- zypper (92%):

```sh
sudo zypper install stripe-mock
```

  Evidence: openSUSE Tumbleweed package metadata: stripe-mock from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:stripe-mock
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/stripe-mock>
- **Version:** 0.201.0
- **Source summary:** Mock HTTP server that responds like the real Stripe API
- **Homepage:** <https://github.com/stripe/stripe-mock>
- **Repository:** <https://github.com/stripe/stripe-mock>
- **Upstream docs:** <https://github.com/stripe/stripe-mock#readme>
- **License:** MIT
- **Source archive:** <https://github.com/stripe/stripe-mock/archive/refs/tags/v0.201.0.tar.gz>
- **Last updated:** 2026-05-28T22:23:11Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- stripe-mock (cli)
- stripe-mock (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Service: declared
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.201.0
- Package-manager updated: 2026-05-28
- Local data: ok
- Upstream repository: https://github.com/stripe/stripe-mock
- Upstream latest detected: v0.201.0 (current)
## Project history and usage

stripe-mock is Stripe's official mock HTTP server for basic sanity checks against the Stripe API shape. It is used in CLI and package-manager contexts as a local binary or service that lets SDKs and integration tests validate request paths and parameters without calling the live Stripe API.

### Project history

Stripe's README says the project was first released in 2017 and that its original ambition was broader: returning responses that were realistic as well as type-correct. The same source explains that the scope has since narrowed; stripe-mock is deliberately stateless, hardcoded, and aimed at basic validation rather than full API behavior simulation.

The project is generated from Stripe's OpenAPI specification, which keeps the mock aligned with the latest methods, resources, and fields. That makes it part of Stripe's broader API tooling pipeline rather than a hand-maintained fake service.

### Adoption history

Stripe documents use of stripe-mock inside server-side SDK test suites such as stripe-ruby and stripe-go. Package availability in the input shows distribution through Homebrew and zypper, while the official README also documents release downloads, Docker usage, and a Homebrew service.

### How it is used

Common usage is to start the `stripe-mock` server locally, then run tests or sample requests against its HTTP and HTTPS ports. The README also documents automatic port selection, Unix socket mode, Docker execution, and Homebrew service management.

### Why package nerds care

Package maintainers care about stripe-mock because it turns a remote payments API into a reproducible local fixture for SDK testing. It is intentionally not a full emulator, but its OpenAPI-driven route and schema validation make it useful for packaging, CI, and client-library smoke tests.

### Timeline

- 2017: Stripe first released stripe-mock.
- Current: Stripe documents a narrowed scope focused on stateless basic sanity checks backed by the Stripe OpenAPI specification.

### Related projects

- Stripe OpenAPI specification, Stripe server-side SDKs such as stripe-ruby and stripe-go, Docker images, Homebrew services, and playback-testing tools such as VCR are documented adjacent points in the official README.

### Sources

- <https://github.com/stripe/stripe-mock#readme>
- source_facts.description
- source_facts.package-manager


## Security Notes

formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- formula declares a Homebrew service

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** stripe-mock
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- zypper - stripe-mock - 0.186.0-1.6: normalized package name match | openSUSE Tumbleweed package metadata: stripe-mock from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Mock HTTP server based on the real Stripe API | https://github.com/stripe/stripe-mock


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [stripe-cli](https://www.automicvault.com/pkg/brew/stripe-cli/) - Shares av.db curated category or tags: api, cli, developer-tools, payments, stripe.
- [curlie](https://www.automicvault.com/pkg/brew/curlie/) - Shares av.db curated category or tags: api, api-testing, cli, developer-tools.
- [http-prompt](https://www.automicvault.com/pkg/brew/http-prompt/) - Shares av.db curated category or tags: api, api-testing, cli, developer-tools.
- [mockserver](https://www.automicvault.com/pkg/brew/mockserver/) - Shares av.db curated category or tags: api, cli, developer-tools, mock-server.
- [xh](https://www.automicvault.com/pkg/brew/xh/) - Shares av.db curated category or tags: api, api-testing, cli, developer-tools.
- [ain](https://www.automicvault.com/pkg/brew/ain/) - Shares av.db curated category or tags: api, cli, developer-tools.
- [algolia](https://www.automicvault.com/pkg/brew/algolia/) - Shares av.db curated category or tags: api, cli, developer-tools.
- [cliproxyapi](https://www.automicvault.com/pkg/brew/cliproxyapi/) - Shares av.db curated category or tags: api, cli, developer-tools.
- [moco](https://www.automicvault.com/pkg/brew/moco/) - Local metadata places this package in an adjacent workflow. Shared terms: api, cli, developer, developer-tools, http.

## Combined YAML source

View the package source record on GitHub. [combined/stripe-mock.yml](https://github.com/automic-vault/db/blob/main/combined/stripe-mock.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
