repobenchmarks // terminal productivity
CLI TOOLS
$ tldr tar

tldr-pages (Practical Man Pages)

A worldwide community effort distilling complex Unix manual pages into simple, real-world copy-paste examples in under 1 second.

Recommended Client: tealdeer (Rust) Execution: 100% Offline Cache Stars: >50,000
man tar 1,200 lines POSIX flags list tldr tar 5 practical tasks tar -czf / -xzf

Every developer knows the frustration of typing man tar, man iptables, or man ffmpeg only to be greeted by thousands of lines of dense, historical POSIX documentation without a single complete usage example. tldr-pages provides a community-maintained repository of concise command cheat sheets that answer the most common question: "How do I use this command for the task in front of me right now?"

Why You Should Use `tealdeer` as Your Client

While the official tldr client is written in Node.js/Python, the Rust implementation—named tealdeer (tldr)—is significantly faster and more resource-efficient:

  • Sub-Millisecond Execution: Because it is compiled to native machine code in Rust, rendering a cached cheat sheet takes less than 2 milliseconds.
  • Fully Offline: Run tldr --update once, and tealdeer downloads and compresses the entire global catalog locally. You can access practical documentation on planes, trains, or air-gapped production servers.
  • Custom Pages: You can add proprietary internal company commands or scripts to ~/.local/share/tealdeer/pages/ and query them with the same syntax.

tealdeer Offline Cache Architecture

tealdeer Local Cache Resolution Shows tldr query immediately checking local markdown cache and rendering colorized examples in under 2ms. tldr docker Terminal Input tealdeer Binary (Rust) Local Cache: ~/.cache/tealdeer Direct Memory Mapped Read Colorized Examples Execution Time: ~1.8 ms

Installation and Usage

# Install tealdeer via cargo, brew, or apt
cargo install tealdeer
# Or on macOS: brew install tealdeer
# Or on Arch: pacman -S tealdeer

# Initial cache download
tldr --update

# Query common tools
tldr tar
tldr ffmpeg
tldr curl

Manual Pages vs tldr-pages Comparison

Feature man pages tldr-pages
Purpose Exhaustive reference specification Practical everyday task examples
Average Read Time 5 to 15 minutes of scrolling 5 to 10 seconds
Cross-Platform Coverage OS-specific (BSD vs GNU differences) Unified tags: Linux, macOS, Windows
⚠ Cache Expiration Gotcha: Regular Updates

Because tealdeer stores documentation offline, new command additions and updated syntax flags for modern tools (like uv, ghostty, or docker compose) won't appear until you refresh your cache. Run tldr --update periodically, or enable automatic cache auto-updates in ~/.config/tealdeer/config.toml under [updates] auto_update = true.

Learn more about the community initiative at tldr.sh or check out the tldr GitHub repository.