The CLI supports all of Mockoon's features: dynamic templating, response rules, proxy mode, etc.
View all featuresDeploy light and fast mocks in your CI environment with a simple and easy to use NPM package.
How to use itAlso available as a Docker image, run your mock APIs in Github Actions or on your favorite CI platform!
Getting started tutorialnpm install -g @mockoon/cli
mockoon-cli start --data ./export-file.json
docker run -d --mount type=bind,source=/export-file.json,target=/data,readonly -p 3000:3000 mockoon/cli:latest -d data -i 0 -p 3000