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