Enhanced ping for macOS — timestamps, color-coded output, and a clean packet loss summary.
ping wraps the system /sbin/ping, adding a timestamp to every response line. Successful replies print in green, timeouts and errors in red, and diagnostic lines in dim gray. On exit (or Ctrl-C), a summary line reports sent, received, and lost packets with loss percentage — replacing the verbose system summary.
All standard ping flags pass through directly to the system binary.
brew install ansilithic/tap/pingOr build from source (requires Xcode and macOS 14+):
make build && make installping <target> [ping options]
All standard /sbin/ping flags work — -c (count), -i (interval), -s (packet size), etc.
# Ping with timestamps and color
ping google.com
# Five packets then stop
ping 1.1.1.1 -c 5
# Fast ping with 0.2s interval
ping 10.0.1.1 -i 0.2MIT
