
tldr-pages
CLI社区维护的精简命令手册,为常用命令行工具提供以示例为主的简明帮助页,比 man 更易读;需安装官方客户端(Python、Rust 或 Node.js)后用 tldr <命令> 查询。
What is tldr-pages?
The tldr-pages project is a collection of community-maintained help pages for command-line tools, that aims to be a simpler, more approachable complement to traditional man pages.
Maybe you're new to the command-line world. Perhaps you're just a little rusty or can't always recall the arguments for commands like lsof, or tar?
It certainly doesn't help that, in the past, the first option explained in man tar was:
$ man tar
...
-b blocksize
Specify the block size, in 512-byte records, for tape drive I/O.
As a rule, this argument is only needed when reading from or writing to tape drives,
and usually not even then as the default block size of 20 records (10240 bytes) is very common.
...
There is room for simpler help pages focused on practical examples. How about:
This repository is just that: an ever-growing collection of examples for the most common UNIX, Linux, macOS, FreeBSD, NetBSD, OpenBSD, SunOS, Android, Windows, Cisco IOS, and DOS command-line tools.
How do I use it?
[!TIP] For browsing without installing a client on your computer, see the web client at https://tldr.inbrowser.app (with offline support using PWA).
There are several official clients available.
Python client
The official Python client can be installed from PyPI via pipx (or other package managers):
pipx install tldr
Rust client
Linux and Mac users can also install the official Rust Client using Homebrew, Cargo (or other package managers on other operating systems):
brew install tlrc
cargo install tlrc --locked
Windows users can also install the official Rust Client using Winget (or other package managers on other operating systems):
winget install tldr-pages.tlrc
Node.js client
Alternatively, you can also use the official Node.js client, although it has fallen behind in updates:
npm install -g tldr
Then you have direct access to simplified, easy-to-read help for commands, such as tar,
accessible through typing tldr tar instead of the standard man tar.
If you don't want to install any software, check out the PDF version instead.
[!NOTE] PDFs for translations are available for most languages. You can find them in the release assets of the latest release.
There are also various other clients provided by the community, both for the command-line and for other platforms. For a comprehensive list of clients, head over to our Wiki.
How do I contribute to tldr-pages?
All contributions are welcome!
Some ways to contribute include:
- Adding your favorite command that isn't covered.
- Adding examples or improving the content of an existing page.
- Adding requested pages from our issues with the help wanted label.
- Translating pages into different languages.
All tldr pages are written in Markdown so that they can be edited quite easily and changes can be submitted in
pull requests here using Git on the command-line or
using the GitHub web interface.
We strive to maintain a welcoming and collaborative community. If it's your first time contributing, have a look at the contributing guidelines, and go ahead!
If you'd like to contribute to translations, you can visit https://lukwebsforge.github.io/tldri18n/ to see the overall progress of all translations, and which translations are missing or outdated.
You are also welcome to join us on the matrix chatroom and the matrix space that contains all tldr related chatrooms!
Similar projects
-
cheat.sh Aggregates cheat sheets from multiple sources (including tldr-pages) into 1 unified interface.
-
devhints Rico's cheatsheets are not just focused on the command-line and include a plethora of other cheatsheets related to programming.
-
eg provides detailed examples with explanations on the command-line. Examples come from the repository, but
egsupports displaying custom examples and commands alongside the defaults. -
kb is a minimalist command-line knowledge base manager. kb can be used to organize your notes and cheatsheets in a minimalist and clean way. It also supports non-text files.
-
navi is an interactive cheatsheet tool, which allows you to browse through specific examples or complete commands on the fly.
-
Cheat allows you to create and view interactive cheatsheets on the command-line. It was designed to help remind Unix system administrators of options for commands that they use frequently, but not frequently enough to remember.
-
Command Line Interface Pages allows you to write standardized help pages for CLI, directories, and configs.
-
bropages (deprecated) are a highly readable supplement to man pages. It shows concise, common-case examples for Unix commands. The examples are submitted by the user base, and can be voted up or down; the best entries are what people see first when they look up a command.
What does "tldr" mean?
TL;DR stands for "Too Long; Didn't Read". It originated as Internet slang, where it is used to indicate that a long text (or parts of it) has been skipped as too lengthy. Read more in How-To Geek's article.
相关资源

Claude Code
CLIAnthropic 官方终端编码 Agent:读懂代码库、修改代码、执行命令、处理 git 流程,支持插件、MCP 与无头模式(claude -p)。需要登录 Claude 账号或配置 API Key。
anthropics/claude-code151k
Codex CLI
CLIOpenAI 官方在本地运行的编码 Agent,Rust 实现,可读写代码、执行命令并在系统沙箱中运行;可用 ChatGPT 订阅登录,也可配置 API Key。
openai/codex130k
Gemini CLI
CLIGoogle 官方开源终端 Agent,使用 Gemini 模型与 100 万 token 上下文,内置 Google 搜索、文件与 Shell 工具并支持 MCP;个人 Google 账号有免费额度。
google-gemini/gemini-cli107k
RTK (Rust Token Killer)
CLI在命令输出进入 agent 上下文之前做过滤和压缩的 Rust 命令行代理,覆盖 git、测试、grep、ls 等上百种命令,最多可减少约 90% 的 bash 输出;通过钩子自动改写 Claude Code、Codex 等 agent 执行的命令。
rtk-ai/rtk83.6k
Cline CLI
CLICline 官方命令行版,与 VS Code 插件共用 Agent 核心,支持 plan/act 模式、MCP、检查点与子代理;--yolo、--json 可无人值守跑在 CI 与脚本里。可登录 Cline、ChatGPT 订阅或自带 API Key。
cline/cline70.4k
ripgrep
CLI按正则递归搜索目录内容的高速文本搜索工具(命令名 rg),默认遵守 .gitignore 并自动跳过隐藏文件与二进制文件,支持按文件类型过滤,是编码 agent 检索代码库的常用命令。
BurntSushi/ripgrep69.2k
