ScriptsJun 1, 2026·2 min read

Tealdeer — Blazing-Fast tldr Client Written in Rust

A very fast command-line client for the tldr-pages project, providing simplified and community-driven man pages.

Agent ready

Safe staging for this asset

This asset is staged first. The copied prompt tells the agent to inspect the staged files and ask before activating scripts, MCP config, or global config.

Stage only · 29/100Policy: stage
Agent surface
Any MCP/CLI agent
Kind
CLI Tool
Install
Single
Trust
Trust: Established
Entrypoint
Tealdeer Overview
Safe staging command
npx -y tokrepo@latest install bae84756-5d94-11f1-9bc6-00163e2b0d79 --target codex

Stages files first; activation requires review of the staged README and plan.

Introduction

Tealdeer is a Rust implementation of the tldr-pages client that displays simplified, practical command-line examples for common tools. It fetches community-maintained pages from the tldr-pages project and renders them in the terminal with color-coded output.

What Tealdeer Does

  • Displays concise usage examples for thousands of CLI commands
  • Fetches and caches pages from the tldr-pages repository
  • Renders output with syntax-highlighted platform-specific examples
  • Supports offline usage after the initial page cache download
  • Allows custom pages in a local directory for personal or team use

Self-Hosting & Configuration

  • Install via cargo, Homebrew, apt, or download a prebuilt binary
  • Run tldr --update to download and cache all pages locally
  • Custom pages go in ~/.local/share/tealdeer/pages/ (or XDG equivalent)
  • Configure colors and display settings in ~/.config/tealdeer/config.toml
  • Pages cache is stored locally; no server component is needed

Architecture Overview

Tealdeer is a single static Rust binary. On --update, it downloads a compressed archive of all tldr-pages and extracts them into a local cache directory. Lookups scan the cache by command name, parse the Markdown page, and render it to the terminal using ANSI color codes.

Key Features

  • Sub-millisecond lookup times thanks to local cache and compiled Rust binary
  • Tiny binary size with no runtime dependencies
  • Supports Linux, macOS, Windows, and Android (via Termux)
  • Platform-aware: shows OS-specific examples when available
  • Custom page directories for team-specific or private documentation

Comparison with Similar Tools

  • tldr (Node.js) — reference client; Tealdeer is faster with no Node runtime needed
  • man — comprehensive but verbose; Tealdeer shows practical examples only
  • cheat — personal cheatsheets; Tealdeer pulls from a shared community repo
  • navi — interactive cheatsheet browser; Tealdeer is a direct lookup tool
  • eg — example-based man pages; Tealdeer uses the broader tldr-pages community

FAQ

Q: How many commands are covered? A: The tldr-pages project covers thousands of commands across Linux, macOS, and Windows.

Q: Can I add my own pages? A: Yes. Place Markdown files in the custom pages directory.

Q: Does it work offline? A: Yes, after running tldr --update to cache pages locally.

Q: How is Tealdeer different from the official tldr client? A: Tealdeer is written in Rust for speed and ships as a single static binary with no dependencies.

Sources

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets