Skip to content

Upgrade

Upgrading Inspectr is usually a one-liner. Choose the method you originally used to install/run Inspectr.

Latest Inspectr version available

Follow the steps below to upgrade to the latest release to get the newest improvements.

Latest:Latest Inspectr release

Method you useHow upgrades work
npxAlways runs the latest version
Homebrewbrew upgrade inspectr
npmnpm update -g @inspectr/inspectr
BinaryDownload a newer release and replace the existing binary
DockerPull the newest image and restart the container

If you run Inspectr via npx, you don’t need to upgrade. Every run downloads and executes the latest published version:

Terminal window
npx @inspectr/inspectr --backend=http://localhost:3000

If you want to ensure you’re not using a cached copy, clear the npx cache (optional) and run again.


Upgrade Inspectr via Homebrew:

Terminal window
brew update
brew upgrade inspectr

Verify:

Terminal window
inspectr --version

Upgrade a global npm install:

Terminal window
npm update -g @inspectr/inspectr

If you want to force a clean reinstall:

Terminal window
npm uninstall -g @inspectr/inspectr
npm install -g @inspectr/inspectr

Verify:

Terminal window
inspectr --version

  1. Download the newest binary for your platform from GitHub Releases.
  2. Replace your existing inspectr binary with the new one.

If needed, make it executable:

Terminal window
chmod +x ./inspectr

Verify:

Terminal window
./inspectr --version

Pull the latest image:

Terminal window
docker pull ghcr.io/inspectr-hq/inspectr:latest

If you run Inspectr with docker run, stop/remove the old container and start a new one using the updated image:

Terminal window
docker run --rm -p 4004:4004 -p 8080:8080 ghcr.io/inspectr-hq/inspectr:latest

If you use Docker Compose, pull and restart:

Terminal window
docker compose pull
docker compose up -d

To verify the running container is updated:

Terminal window
docker compose ps

Explore the configuration options to tailor Inspectr to your workflow.

If something looks off after upgrading, check the release notes on GitHub and compare your current config with the latest CLI docs.