When troubleshooting network connectivity issues, intermittent packet loss, or transit routing slowdowns on Linux, engineers traditionally juggle multiple disparate command-line tools: running continuous ping commands in one shell, running static traceroute in another, and attempting to interpret statistical summaries with legacy tools like mtr. While mtr has served the community well, its dated ncurses interface lacks modern protocol flexibility, DNS tracing insights, and responsive keyboard navigation.
Trippy (command: trip) is a modern, Rust-built network diagnostic TUI that combines the best features of traceroute and ping into an intuitive, responsive terminal dashboard. Supporting multiple transport protocols (ICMP, UDP, TCP), autonomous system (AS) lookups, real-time latency histograms, and multi-hop tracing, Trippy provides unparalleled network visibility. Here is how to install and master Trippy on Linux.
Why Choose Trippy for Network Troubleshooting?
Trippy provides comprehensive telemetry that traditional network utilities lack:
- Multi-Protocol Probing: Probe remote hosts using ICMP echo, UDP datagrams, or TCP SYN packets, allowing you to trace routes through restrictive corporate firewalls that drop ICMP.
- Real-Time Latency Histograms: Displays graphical sparklines and distribution histograms for each routing hop, exposing jitter and micro-burst packet loss.
- Autonomous System (AS) & GeoIP Lookups: Identifies which internet service providers (ISPs), Tier 1 carriers, and border gateway routers handle your packets.
- Interactive Hop Inspection: Freeze tracking, expand individual routing nodes, and inspect packet round-trip time percentiles (p50, p90, p99).
Installing Trippy on Linux Distributions
Trippy is available across package managers, Snap, and direct pre-compiled binaries.
Method 1: Universal Pre-Compiled Binary
To acquire the latest official static release directly from GitHub:
curl -LO https://github.com/fujiapple852/trippy/releases/latest/download/trippy-x86_64-unknown-linux-musl.tar.gz
tar -xvf trippy-x86_64-unknown-linux-musl.tar.gz
sudo install trip /usr/local/bin/
trip --version
Method 2: Ubuntu and Debian (via Cargo or Snap)
On Ubuntu systems via Snap:
sudo snap install trippy
Alternatively, compile via Cargo:
cargo install trippy
Method 3: Arch Linux and Fedora
On Arch Linux:
sudo pacman -S trippy
On Fedora Linux:
sudo dnf copr enable fujiapple/trippy
sudo dnf install trippy -y
Granting Raw Socket Capabilities
Like all low-level traceroute utilities, Trippy requires permissions to construct raw network packets. To run Trippy as a normal unprivileged user without typing sudo every time, set network capabilities on the binary:
sudo setcap 'cap_net_raw+ep' /usr/local/bin/trip
Running Your First Network Trace
To begin diagnosing latency to a target host or domain:
trip 1.1.1.1
Trippy immediately renders an interactive multi-panel dashboard displaying hop counts, hostname resolutions, packet loss percentages, sent/received tallies, and min/avg/max/std-dev latency statistics.
Probing with TCP or UDP Protocols
If intermediate routers or cloud firewalls block standard ICMP pings, instruct Trippy to use TCP SYN packets directed at a web server port:
trip example.com --protocol tcp --target-port 443
To probe using UDP packets:
trip example.com --protocol udp
| Keybinding | Function | Description |
|---|---|---|
Down / Up (or j / k) |
Select Hop | Highlight specific router node in the path |
Space |
Pause / Resume | Freeze live packet telemetry for close inspection |
d |
DNS Details | Toggle reverse DNS hostname and IP display |
c |
Chart View | Switch between frequency histograms and loss bars |
q |
Quit | Exit Trippy back to the terminal prompt |
Exporting Traces for ISP Reports
When reporting erratic transit hops to cloud providers or network service operators, run Trippy in reporting mode to generate structured outputs:
trip 8.8.8.8 --mode report --report-cycles 200 > network_report.txt