# Install mtr with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

'traceroute' and 'ping' in a single tool. Version 0.96 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:mtr
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mtr
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mtr
```

  Evidence: MacPorts ports tree: net/mtr/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add mtr
```

  Evidence: Alpine Linux edge package indexes: mtr from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install mtr
```

  Evidence: Debian stable package indexes: mtr from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install mtr
```

  Evidence: Fedora Rawhide package metadata: mtr from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#mtr
```

  Evidence: nixpkgs package indexes: pkgs/by-name/mt/mtr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S mtr
```

  Evidence: Arch Linux sync databases: mtr from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install mtr
```

  Evidence: openSUSE Tumbleweed package metadata: mtr from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:mtr
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/mtr>
- **Version:** 0.96
- **Source summary:** 'traceroute' and 'ping' in a single tool
- **Homepage:** <https://www.bitwizard.nl/mtr/>
- **Repository:** <https://github.com/traviscross/mtr>
- **Upstream docs:** <https://www.bitwizard.nl/mtr>
- **License:** GPL-2.0-only AND BSD-3-Clause AND LGPL-2.0-only
- **Source archive:** <https://github.com/traviscross/mtr/archive/refs/tags/v0.96.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- mtr (cli)
- mtr-packet (cli)
- mtr (alias)
- mtr-packet (alias)

## Dependencies

- jansson

## Build dependencies

- autoconf
- automake
- pkgconf

## Install behavior

- Post-install hook: not defined
- Caveats: mtr requires root privileges so you will need to run `sudo mtr`. You should be certain that you trust any software you grant root privileges.
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.96
- Local data: ok
- Upstream repository: https://github.com/traviscross/mtr
- Upstream latest detected: v0.96 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

mtr began as Matt Kimball's network diagnostic program and was later maintained by Roger Wolff at BitWizard; the BitWizard history page says Wolff took over maintenance in October 1998. The name is commonly expanded as My Traceroute, preserving its origin as Matt's Traceroute while emphasizing the combined traceroute-and-ping behavior that made the tool distinctive.

### Project history

Technically, mtr repeatedly probes the path from the local host to a destination with increasing time-to-live values, discovers intermediate hops from router responses, and prints running latency and loss statistics for each hop. The official README warns that routers can suppress or rate-limit ICMP responses, so apparent loss at an intermediate hop does not automatically mean forwarded traffic is being dropped there. The project also splits privileged packet work into mtr-packet, which must have raw-socket privileges on Unix-like systems.

### How it is used

Its adoption is broad because it turns an intermittent network path into a live table that operators can watch while troubleshooting. Distribution packaging for Unix-like systems, a GitHub-maintained upstream, WSL instructions for Windows users, and long-standing Homebrew/Linux packages place it alongside ping, traceroute, and pathping-style tools, but with the advantage of continuous per-hop statistics.

### Sources

- <https://formulae.brew.sh/formula/mtr>
- <https://github.com/traviscross/mtr>
- <https://packages.debian.org/sid/mtr>
- <https://www.bitwizard.nl/mtr/>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mtr
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - mtr - 0.95-1.1+b1: normalized package name match | Debian stable package indexes: mtr from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Full screen ncurses and X11 traceroute tool | https://www.bitwizard.nl/mtr/
- Debian apt - mtr-tiny - 0.95-1.1+b1: normalized package name match | Debian stable package indexes: mtr-tiny from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Full screen ncurses traceroute tool | https://www.bitwizard.nl/mtr/
- Nix - mtr: normalized package name match | nixpkgs package indexes: pkgs/by-name/mt/mtr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - mtr - 0.95-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: mtr from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Full screen ncurses and X11 traceroute tool | https://www.bitwizard.nl/mtr/
- Ubuntu apt - mtr-tiny - 0.95-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: mtr-tiny from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Full screen ncurses traceroute tool | https://www.bitwizard.nl/mtr/
- apk - mtr - 0.96-r2: normalized package name match | Alpine Linux edge package indexes: mtr from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Full screen ncurses traceroute tool | https://www.bitwizard.nl/mtr/
- apk - mtr-bash-completion - 0.96-r2: normalized package name match | Alpine Linux edge package indexes: mtr-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completion for mtr | https://www.bitwizard.nl/mtr/
- apk - mtr-doc - 0.96-r2: normalized package name match | Alpine Linux edge package indexes: mtr-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Full screen ncurses traceroute tool (documentation) | https://www.bitwizard.nl/mtr/
- apk - mtr-gtk - 0.96-r2: normalized package name match | Alpine Linux edge package indexes: mtr-gtk from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | The GTK+ interface for mtr | https://www.bitwizard.nl/mtr/
- dnf - mtr - 0.95-14.fc44: normalized package name match | Fedora Rawhide package metadata: mtr from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Network diagnostic tool combining 'traceroute' and 'ping' | https://www.bitwizard.nl/mtr/
- dnf - mtr-gtk - 0.95-14.fc44: normalized package name match | Fedora Rawhide package metadata: mtr-gtk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | GTK interface for MTR | https://www.bitwizard.nl/mtr/
- pacman - mtr - 0.96-1: normalized package name match | Arch Linux sync databases: mtr from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Combines the functionality of traceroute and ping into one tool (CLI version) | https://www.bitwizard.nl/mtr/
- zypper - mtr - 0.96-1.4: normalized package name match | openSUSE Tumbleweed package metadata: mtr from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Ping and Traceroute Network Diagnostic Tool | https://www.bitwizard.nl/mtr/
- zypper - mtr-gtk - 0.96-1.4: normalized package name match | openSUSE Tumbleweed package metadata: mtr-gtk from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Ping and Traceroute Network Diagnostic Tool | https://www.bitwizard.nl/mtr/
- MacPorts - mtr: normalized package name match | MacPorts ports tree: net/mtr/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [autoconf](https://www.automicvault.com/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [asn](https://www.automicvault.com/pkg/brew/asn/) - Popular package that depends on this formula.
- [trippy](https://www.automicvault.com/pkg/brew/trippy/) - Shares av.db curated category or tags: cli, diagnostics, network-diagnostics, networking, ping.
- [fastrace](https://www.automicvault.com/pkg/brew/fastrace/) - Shares av.db curated category or tags: cli, diagnostics, network-diagnostics, networking, traceroute.
- [fping](https://www.automicvault.com/pkg/brew/fping/) - Shares av.db curated category or tags: cli, diagnostics, network-diagnostics, networking, ping.
- [lft](https://www.automicvault.com/pkg/brew/lft/) - Shares av.db curated category or tags: cli, diagnostics, network-diagnostics, networking, traceroute.
- [nexttrace](https://www.automicvault.com/pkg/brew/nexttrace/) - Shares av.db curated category or tags: cli, diagnostics, network-diagnostics, networking, traceroute.
- [tcptraceroute](https://www.automicvault.com/pkg/brew/tcptraceroute/) - Shares av.db curated category or tags: cli, diagnostics, network-diagnostics, networking, traceroute.
- [tracebox](https://www.automicvault.com/pkg/brew/tracebox/) - Shares av.db curated category or tags: cli, diagnostics, network-diagnostics, networking, traceroute.
- [twoping](https://www.automicvault.com/pkg/brew/twoping/) - Shares av.db curated category or tags: cli, diagnostics, network-diagnostics, networking, ping.

## Combined YAML source

View the package source record on GitHub. [combined/mtr.yml](https://github.com/automic-vault/db/blob/main/combined/mtr.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
