Install the CLI
Updated Aug 30, 2026·1 min read
You do not need the CLI to use mockzilla.org. Creating simulations, browsing the catalog and calling your simulation URLs all work in the browser.
Install the CLI when you want to run a simulation on your own machine: from a share link, from a downloaded .mockz file, or straight from an OpenAPI spec. It is the open source Mockzilla server, MIT licensed. It runs offline and needs no account.
Install with Homebrew
On macOS and Linux:
brew tap mockzilla/tap
brew install mockzillaDownload a binary
Every release ships prebuilt binaries for macOS, Linux and Windows. Get the latest from the releases page, rename the file to mockzilla, make it executable and put it on your PATH.
There are more ways to install, including Windows (Scoop) and Ubuntu or Debian (apt).
See the installation page for complete examples.
Check it works
mockzilla --versionTo see it serve something, point it at any OpenAPI spec, by URL or file path:
mockzilla https://petstore3.swagger.io/api/v3/openapi.jsonYour mock is now running on port 2200.