How to Fix bash: trippy: command not found in Minimal Linux Distributions

Network engineers seeking a modern, interactive combination of traceroute and ping frequently use trippy (invoked as trip). When attempting to troubleshoot latency spikes on fresh Linux server instances or minimal cloud container images, the terminal returns bash: trippy: command not found or bash: trip: command not found because trippy is not installed in standard baseline distributions.

Install trippy via Native Package Repositories

Install trippy directly using distribution packages where available:

  • Arch Linux: sudo pacman -S trippy
  • Alpine Linux: sudo apk add trippy
  • Debian / Ubuntu: Install via Snap or Homebrew: sudo snap install trippy or brew install trippy
  • Fedora: sudo dnf install trippy

Download Official GitHub Binary Release

For Debian, Ubuntu, Rocky Linux, or CentOS servers without Snap or Homebrew, fetch the pre-compiled binary release:

TRIP_VER=$(curl -s https://api.github.com/repos/fujiapple852/trippy/releases/latest | grep 'tag_name' | cut -d '"' -f 4)
curl -sL "https://github.com/fujiapple852/trippy/releases/download/${TRIP_VER}/trippy-${TRIP_VER}-x86_64-unknown-linux-musl.tar.gz" | tar -xz
sudo mv trip /usr/local/bin/
sudo chmod +x /usr/local/bin/trip

Grant Raw Socket Networking Capabilities

Because trippy generates raw ICMP, UDP, and TCP traceroute probes, grant elevated network capabilities to avoid running the binary as root:

sudo setcap cap_net_raw+ep /usr/local/bin/trip
trip example.com

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.