--- title: Homebrew description: Install MockServer with brew install mockserver from Homebrew core on macOS and Linux, then run the mockserver command from any shell. layout: page pageOrder: 9 section: 'Where' subsection: true sitemap: priority: 0.6 changefreq: 'monthly' lastmod: 2026-06-03T08:00:00+01:00 ---
MockServer is available in Homebrew (homebrew-core), the package manager for macOS and Linux. Install the mockserver command with:
brew install mockserver
Once installed, MockServer is available from any command shell as the mockserver command, for example:
mockserver -serverPort 1080 -logLevel INFO
The dashboard is then available at http://localhost:1080/mockserver/dashboard.
For the full set of command-line options and what the formula installs, see Running MockServer from the command line using Homebrew.