Skip to content

Install ​

Install Mock Studio 1.2.0 on Linux from a .deb package or from the Snap Store, then open it for the first time.

If you have not installed a .deb or a snap before, Installing apps explains both.

Which package to choose ​

PackageWorks onPublic tunnels
.debDebian, Ubuntu and related systems, amd64Yes, with cloudflared or ngrok installed
SnapAny system with snapdNot from inside the app

Both contain the same app. The difference is tunnels: a snap runs in a sandbox and cannot start the cloudflared or ngrok programs on your computer. Sharing on your local network works in both. If you want the Start public tunnel button to work, use the .deb. With the snap you can still run the tunnel program yourself in a terminal; see Share on LAN or the internet.

Install the .deb package ​

  1. Open the 1.2.0 release page and download mockstudio_1.2.0_amd64.deb.

  2. Optional: download mockstudio_1.2.0_amd64.deb.sha256 into the same folder and check the download.

    bash
    sha256sum -c mockstudio_1.2.0_amd64.deb.sha256

    The command prints OK when the file is intact.

  3. Install the package from the folder you downloaded it to.

    bash
    sudo apt install ./mockstudio_1.2.0_amd64.deb

The package needs GTK 3, which apt installs for you if it is missing.

Install the snap ​

bash
sudo snap install mockstudio

Open Mock Studio ​

Find Mock Studio in your applications menu, or run mockstudio in a terminal.

The first time it opens, Mock Studio creates a sample project called My First Mock API with four endpoints, so there is something to try straight away. The server is stopped until you press Start server.

Good to know

Hover help is on when you first open the app. Point at any question-mark icon to read what a field does, with an example. You can turn it off later in Settings.

Optional: install a tunnel program ​

You only need this to give your mock a public internet address, for example to receive webhooks. Mock Studio does not include a tunnel program; it starts one that is installed on your computer.

  • cloudflared needs no account. Install it from Cloudflare's download page or its GitHub releases.

  • ngrok needs a free account. After installing it, save your token once:

    bash
    ngrok config add-authtoken <token>

Share on LAN or the internet explains how to use them and what to be careful about.

Uninstall ​

bash
sudo apt remove mockstudio      # the .deb
sudo snap remove mockstudio     # the snap

Removing the .deb leaves your project files in place. See Projects, files and Git for where they are.

Next steps ​