Skip to content

Installation

Getting started with Inspectr is simple. The table below summarizes the different installation methods. Pick the one that best fits your workflow and follow the steps after the table.

MethodBest for
npxQuick one-off runs without installing
HomebrewmacOS users who want easy updates
npmCross-platform installation using npm for Windows, macOS, Linux
BinaryCross-platform installation using the binaries for Windows, macOS, Linux
DockerContainerized deployments using pre-built images from GitHub Container Registry

Use npx to try Inspectr without installing anything globally:

Terminal window
npx @inspectr/inspectr --backend=http://localhost:3000
  • Downloads the latest version on each run
  • Great for quick experiments or CI jobs
  • The UI becomes available at http://localhost:4004

Install Inspectr permanently using Homebrew, npm, or a standalone binary.

Install Inspectr on macOS using package Manager Homebrew:

Terminal window
brew tap inspectr-hq/inspectr
brew install inspectr

Run Inspectr:

Terminal window
inspectr --backend=http://localhost:3000
  • Works on macOS
  • brew upgrade inspectr keeps it up to date

Use npm to install Inspectr on Windows, macOS and Linux.

Terminal window
npm install -g @inspectr/inspectr

Run Inspectr like this:

Terminal window
inspectr --backend=http://localhost:3000
  • Installs Inspectr globally via the Node package manager.
  • Update later using npm update -g @inspectr/inspectr

Download the binary for your platform from GitHub Releases:

Terminal window
./inspectr --backend=http://localhost:3000

💡 Tip: Make sure the binary is executable (chmod +x ./inspectr) if needed.

  • Binaries are available for macOS, Linux, and Windows.
  • Just download the appropriate binary, extract it, and run it

Run Inspectr as a container using images hosted on GitHub Container Registry:

Terminal window
docker pull ghcr.io/inspectr-hq/inspectr:latest
docker tag ghcr.io/inspectr-hq/inspectr:latest inspectr
docker run --rm -p 4004:4004 -p 8080:8080 inspectr
Run Insecptr via Docker
  • -p 4004:4004 exposes the UI so you can open Inspectr in your browser at http://localhost:4004.
  • -p 8080:8080 exposes the API endpoint for testing with your preferred API client.
  • The container runs as a single service, making it easy to integrate Inspectr into CI pipelines or local development environments.

You can also run Inspectr using Docker Compose for easier configuration and to persist data across runs:

version: "3.9"
services:
inspectr:
image: ghcr.io/inspectr-hq/inspectr:latest
container_name: inspectr
ports:
- "4004:4004" # Inspect App (http://localhost:4004)
- "8080:8080" # Proxy Port (http://localhost:8080)
volumes:
- inspectr-data:/data
command: >
inspectr
--listen=:8080
--app-port=4004
restart: unless-stopped
volumes:
inspectr-data:

Then start Inspectr with:

Terminal window
docker compose up -d

Inspectr will now be accessible at:

UI → http://localhost:4004 PROXY → http://localhost:8080

To stop and remove containers, networks and volumes:

Terminal window
docker compose down

You’re ready to run Inspectr and start debugging API traffic in seconds.

Quick Start →

Explore the configuration options to customize your Inspectr settings.