# Install ttl with Homebrew, apk, Nix, zypper, winget

Modern traceroute/mtr-style TUI with hop stats and ASN/geo enrichment. Version 0.21.0 via Homebrew; verified 2026-07-07. Also installable with nix: nix profile install nixpkgs#ttl.

## Install

```sh
sudo av install brew:ttl
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ttl
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add ttl
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#ttl
```

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

- zypper (92%):

```sh
sudo zypper install ttl
```

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

### Windows

- winget (92%):

```sh
winget install --id TwintailTeam.TTL -e
```

  Evidence: Windows Package Manager source index: TwintailTeam.TTL from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:ttl
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/ttl>
- **Version:** 0.21.0
- **Source summary:** Modern traceroute/mtr-style TUI with hop stats and ASN/geo enrichment
- **Homepage:** <https://github.com/lance0/ttl>
- **Repository:** <https://github.com/lance0/ttl>
- **Upstream docs:** <https://github.com/lance0/ttl#readme>
- **License:** MIT
- **Source archive:** <https://github.com/lance0/ttl/archive/refs/tags/v0.21.0.tar.gz>
- **Last updated:** 2026-07-07T16:37:31Z
- **Generated:** 2026-07-26T07:20:29+00:00

## Executables

- ttl (cli)
- ttl (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-26
- Package-manager version: 0.21.0
- Package-manager updated: 2026-07-07
- Local data: ok
- Upstream repository: https://github.com/lance0/ttl
- Upstream latest detected: v0.21.0 (current)
## Project history and usage

ttl is a modern Rust traceroute and mtr-style terminal tool with a real-time TUI, per-hop statistics, ASN and GeoIP enrichment, ECMP detection, path MTU discovery, and machine-readable exports.

Its package-manager niche is the contemporary network-debugging CLI: a single command that blends classic traceroute behavior with TUI observability, structured output, and daemon-friendly monitoring.

### Project history

The official README describes ttl as a network diagnostic tool that goes beyond traceroute, with route flap alerts, IX identification, NAT detection, MTU discovery, and multi-target tracing. Its Cargo metadata identifies the package as a command-line network diagnostic utility and points to the GitHub repository.

The changelog shows active release work through 2026. Version 0.15.0 in January 2026 added animated replay and event recording; later releases added ECMP classification, NetBSD support, replay controls, daemon mode, Prometheus export, Docker publishing, trace diffing, and platform-specific raw-socket fixes.

### Adoption history

The README lists installation paths through crates.io, Homebrew core, Alpine edge/testing, Arch AUR, Gentoo, NetBSD pkgsrc, Nix, GitHub release binaries, and Docker images. That spread is unusually broad for a young network CLI and reflects its appeal to package users who want a current alternative to stock traceroute/mtr.

The GitHub page describes ttl as a better mtr and lists topics such as Rust, CLI, terminal, networking, latency, geolocation, ICMP, TUI, traceroute, network visualization, mtr, ASN lookup, and Ratatui.

### How it is used

The README's quick start shows `ttl 8.8.8.8` on Linux after granting `cap_net_raw`, `sudo ttl 8.8.8.8` on macOS/BSD, UDP probing, multi-flow ECMP path discovery, path MTU discovery, multiple targets, and resolve-all tracing.

For automation, ttl supports JSON, CSV, text reports, line-delimited JSON streaming, saved-session replay, diffing, daemon mode, Prometheus metrics, Docker, and shell completions.

### Why package nerds care

ttl is significant to package nerds because it packages a modern terminal-networking stack: Rust, Ratatui, cross-platform raw socket handling, package-manager install paths, and ops-friendly exports in one binary.

It also shows how newer CLIs compete with entrenched Unix tools by keeping the familiar traceroute mental model while adding structured output and observability hooks that fit scripted and containerized environments.

### Timeline

- 2026-01: Version 0.15.0 added animated replay and probe event recording.
- 2026-02: Version 0.18.1 added experimental NetBSD support.
- 2026-06: Version 0.20.0 added daemon mode, Prometheus export, Docker publishing, streaming JSON, and trace diffing.
- 2026-06: Version 0.20.1 fixed macOS/BSD probe TTL behavior and updated dependencies.

### Related projects

- traceroute and mtr are the classic tools ttl explicitly builds beyond.
- Ratatui and crossterm provide the terminal UI stack named in Cargo dependencies.
- PeeringDB, MaxMind GeoIP data, and ASN lookups are adjacent data sources used for ttl's enrichment features.

### Sources

- <https://github.com/lance0/ttl#readme>
- <https://github.com/lance0/ttl/blob/master/CHANGELOG.md>
- <https://github.com/lance0/ttl/blob/master/Cargo.toml>
- <https://github.com/lance0/ttl/blob/master/docs/FEATURES.md>
- source_facts.package-manager


## Security Notes

No matching local secret-handling manifest was found for ttl. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ttl
- **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

- Nix - ttl: normalized package name match | nixpkgs package indexes: pkgs/by-name/tt/ttl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - ttl - 0.19.1-r0: normalized package name match | Alpine Linux edge package indexes: ttl from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fast, modern traceroute with lot of options. A better mtr. | https://github.com/lance0/ttl
- zypper - ttl - 0.19.1-1.1: normalized package name match | openSUSE Tumbleweed package metadata: ttl from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Modern traceroute/mtr-style TUI | https://github.com/lance0/ttl
- winget - TwintailTeam.TTL: normalized package name match | Windows Package Manager source index: TwintailTeam.TTL from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [cloudflare-speed-cli](https://www.automicvault.com/pkg/brew/cloudflare-speed-cli/) - Shares av.db curated category or tags: cli, network-diagnostics, networking, tui.
- [fastrace](https://www.automicvault.com/pkg/brew/fastrace/) - Shares av.db curated category or tags: cli, network-diagnostics, networking, traceroute.
- [trippy](https://www.automicvault.com/pkg/brew/trippy/) - Shares av.db curated category or tags: cli, mtr, network-diagnostics, networking, traceroute.
- [speedtest-cli](https://www.automicvault.com/pkg/brew/speedtest-cli/) - Shares av.db curated category or tags: cli, network-diagnostics, networking.
- [asroute](https://www.automicvault.com/pkg/brew/asroute/) - Shares av.db curated category or tags: asn, cli, networking, traceroute.
- [geoip2fast](https://www.automicvault.com/pkg/brew/geoip2fast/) - Shares av.db curated category or tags: asn, cli, geoip, networking.
- [lft](https://www.automicvault.com/pkg/brew/lft/) - Shares av.db curated category or tags: cli, network-diagnostics, networking, traceroute.
- [mtr](https://www.automicvault.com/pkg/brew/mtr/) - Shares av.db curated category or tags: cli, network-diagnostics, networking, traceroute.

## Combined YAML source

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


## Sources

- Nucleus package database
- 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
