tldr-pages — Simplified, Community-Driven Man Pages
tldr-pages replaces cryptic man pages with practical examples. Type `tldr tar` and see the 5 commands you actually use — no more scrolling through 50 flags you will never touch.
Agent 可直接安装
这个资产可安装;Agent 先选择当前运行时、检查安装计划,再运行匹配命令。
npx -y tokrepo@latest install a5b995ee-380a-11f1-9bc6-00163e2b0d79 --target codex先 dry-run 确认安装计划,再运行此命令。
What it is
tldr-pages is a community-curated collection of simplified command-line documentation. Where man tar shows hundreds of lines of options, tldr tar shows the five common invocations with real-world examples.
tldr-pages targets developers, sysadmins, and anyone who uses the terminal but does not want to read full man pages to find the one flag they need. Pages are available for Linux, macOS, Windows, and platform-specific commands.
How it saves time or tokens
tldr-pages eliminates the time spent scrolling through man pages or searching Stack Overflow for common command usage patterns. For AI agents, tldr-pages provides concise command references that fit within small context windows, reducing token consumption compared to full documentation.
How to use
- Install a tldr client:
# Node.js client
npm install -g tldr
# Rust client (fastest)
brew install tealdeer
# Python client
pip install tldr
- Look up any command:
tldr tar,tldr git commit,tldr ffmpeg.
- Update your local cache:
tldr --update.
Example
$ tldr tar
tar
Archiving utility.
- Create an archive from files:
tar cf target.tar file1 file2 file3
- Create a gzipped archive:
tar czf target.tar.gz file1 file2 file3
- Extract an archive in the current directory:
tar xf source.tar
- Extract a gzipped archive:
tar xzf source.tar.gz
- List the contents of an archive:
tar tf source.tar
Related on TokRepo
- Coding Tools -- Developer productivity tools
- Documentation Tools -- Documentation and reference tools
Common pitfalls
- tldr clients cache pages locally. If a page is missing, run
tldr --updateto refresh the cache. - Not every command has a tldr page yet. The project accepts contributions via pull requests to the tldr-pages GitHub repository.
- Different tldr clients (Node, Rust, Python) have slightly different features and update mechanisms. Tealdeer (Rust) is the fastest for local lookups.
常见问题
tldr-pages covers thousands of commands across Linux, macOS, Windows, and common developer tools. The collection grows continuously through community contributions via GitHub pull requests.
Yes. tldr-pages accepts contributions on GitHub. Each page follows a simple Markdown format with a description and 5-8 practical examples. The project has contribution guidelines and a style guide.
man pages are the official system documentation -- comprehensive but dense. tldr pages are community-written summaries showing only the most common usage patterns with practical examples. They complement rather than replace man pages.
Tealdeer (Rust) is the fastest for lookups. The Node.js client (npm tldr) has the widest adoption. The Python client works well in Python-heavy environments. All clients use the same underlying page database.
Yes. tldr clients download and cache pages locally. After an initial tldr --update, all lookups are offline. You only need internet access to update the cache with new pages.
引用来源 (3)
- tldr-pages GitHub— tldr-pages is a community-curated collection of simplified man pages
- tldr-pages Official Site— tldr client specification and page format
- Tealdeer GitHub— Tealdeer is a fast Rust implementation of the tldr client
讨论
相关资产
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.
Innernet — Simplified WireGuard Mesh Networking
Innernet is a tool for managing private WireGuard-based mesh networks with a central coordination server, CIDR-based access control, and automatic peer discovery for teams and infrastructure.
Jekyll — The Ruby Static Site Generator Behind GitHub Pages
Jekyll transforms plain text files into static websites and blogs. It reads Markdown and Liquid templates, generates a complete site at build time, and powers GitHub Pages natively.
Upptime — GitHub-Powered Uptime Monitor and Status Page
An open-source uptime monitor and status page powered entirely by GitHub Actions, Issues, and Pages, requiring no server or database.