install.
One command. Then point it at a spec.
macOS / Linux (Homebrew)
brew install mockzilla/tap/mockzilla
Windows (Scoop)
scoop bucket add mockzilla https://github.com/mockzilla/scoop-mockzilla scoop install mockzilla
Go
go install github.com/mockzilla/mockzilla/v2/cmd/mockzilla@latest
verify
mockzilla --version mockzilla --help
your first mock
# a remote spec mockzilla https://petstore3.swagger.io/api/v3/openapi.json # a local spec mockzilla ./openapi.yml # pick a port mockzilla --port 3000 ./openapi.yml
docker
docker run --rm -p 2200:2200 -v $(pwd):/work mockzilla/mockzilla:latest /work/openapi.yml
then what?
- See the examples for
.mockzpackages, multi-service setups, and overrides. - Read the full docs for context files, middleware, and codegen mode.
- Need a hosted version with per-PR URLs? Mockzilla Cloud runs on the same engine.