tldr pages Command examples
Light · Postcard
102 × 152 mm · PDF
Dark · Postcard
102 × 152 mm · PDF
Ink saver · Postcard
102 × 152 mm · PDF
Light · A4 landscape
297 × 210 mm · PDF
Dark · A4 landscape
297 × 210 mm · PDF
Ink saver · A4 landscape
297 × 210 mm · PDF
Light · A3 landscape
420 × 297 mm · PDF
Dark · A3 landscape
420 × 297 mm · PDF
Ink saver · A3 landscape
420 × 297 mm · PDF
Start here
tldr <command>
tldr --updatetldr --listtldr --search "<words>"
tldr <command> <sub>
tldr --platform <os> <command>
tldr --language <code> <command>
tldr --render <file>
Concepts
- tldr-pages repo markdown pages
- Local cache refreshed by --update
- Client tldr <command>
- Terminal coloured examples
Look up
tldr <command>
tldr <command> <subcommand>
tldr --search "<keywords>"
tldr --listtldr --markdown <command>
tldr --helptldr --versionPlatform and language
tldr --platform linux <command>
tldr --platform osx <command>
tldr --platform windows <command>
tldr --platform common <command>
tldr --language <code> <command>
export TLDR_LANGUAGE=<code>
export TLDR_PLATFORM=<os>
Install and cache
pipx install tldr
pip install tldr
tldr --updatetldr --clear-cache
export TLDR_CACHE_MAX_AGE=<hours>
export TLDR_CACHE_ENABLED=0
tldr --print-completion bash
Output
tldr --short-options <command>
tldr --long-options <command>
tldr --color <command>
export TLDR_OPTIONS=<short|long|both>
export TLDR_COLOR_COMMAND=<style>
Writing pages
pages/<platform>/<command>.md
{{path/to/file}}
tldr --render <file>.md
pages.<locale>/
| Part | Syntax |
|---|---|
| Title | # command |
| Summary | > Short description. |
| Link | > More information: <url>. |
| Example | - What it does: |
| Command | `cmd {{arg}}` |
Recipes
# crontab -e0 9 * * 1 tldr --update
$EDITOR pages/common/<command>.mdtldr --render pages/common/<command>.md
tldr --platform linux <command>tldr --platform osx <command>
tldr --list | fzf --preview 'tldr {}'



