Skip to content

Getting the CLI onto your machine

Two programs are released together and they run on two different machines:

  • mikroscope, the CLI and collector, runs on your computer — the laptop or server you type commands on. This page is about that one.
  • mikroscope-agent runs on the router, inside a container. mikroscope install puts it there for you; you never run it yourself, and the only time you download it by hand is the --agent-tar route.

So the archive you want here is picked by your operating system and CPU, not by the router’s. The router’s architecture decides something else, and What the router needs has that table.

Your machine Download
Linux, ordinary PC or server mikroscope_<version>_linux_x86_64.tar.gz
Linux on ARM (Raspberry Pi 4/5, …) mikroscope_<version>_linux_arm64.tar.gz
macOS, Apple silicon (M1 and later) mikroscope_<version>_darwin_arm64.tar.gz
macOS, Intel mikroscope_<version>_darwin_x86_64.tar.gz
Windows mikroscope_<version>_windows_x86_64.zip

They are on the latest release. Anything whose name starts with mikroscope-agent is the other program.

  1. Download the archive and the checksums:

    Terminal window
    VERSION=1.0.4
    curl -fsSLO https://github.com/jmrplens/mikroscope/releases/download/v$VERSION/mikroscope_${VERSION}_linux_x86_64.tar.gz
    curl -fsSLO https://github.com/jmrplens/mikroscope/releases/download/v$VERSION/checksums.txt
  2. Check it against the list before unpacking it:

    Terminal window
    sha256sum --ignore-missing -c checksums.txt
  3. Unpack and put it where the shell looks:

    Terminal window
    tar xzf mikroscope_${VERSION}_linux_x86_64.tar.gz mikroscope
    sudo install -m 0755 mikroscope /usr/local/bin/mikroscope

    Without sudo, mkdir -p ~/.local/bin && install -m 0755 mikroscope ~/.local/bin/ works as well, as long as ~/.local/bin is on your PATH.

Terminal window
mikroscope version

It prints the version, the commit and the build date. Then, with a router to point at:

Terminal window
mikroscope doctor --router user@192.168.88.1

doctor writes nothing. It reads the device, prints what it is, and marks each prerequisite ok or MISSING with the command that fixes it — including the one nobody can do remotely. That is the first thing to run, before any install route.