Caching allows tldr clients to work offline by storing a local copy of pages. Clients that implement caching must download official archives from GitHub releases — they MUST NOT use unofficial mirrors or construct their own archive URLs.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/tldr-pages/tldr/llms.txt
Use this file to discover all available pages before exploring further.
Archive URLs
The following official archive URLs are available from the tldr-pages GitHub releases:| Archive | URL | Description |
|---|---|---|
| Full (all languages) | https://github.com/tldr-pages/tldr/releases/latest/download/tldr.zip | All pages in every available language — the largest download |
| English only | https://github.com/tldr-pages/tldr/releases/latest/download/tldr-pages.zip | English pages only |
| Language-specific | https://github.com/tldr-pages/tldr/releases/latest/download/tldr-pages.[language-code].zip | Pages for a single language (e.g. tldr-pages.fr.zip) |
Implementation requirements
The specification distinguishes between what is strictly required and what is recommended when implementing caching:REQUIRED
- If caching is implemented, clients MUST download archives from the official GitHub releases URLs above — no other source is permitted.
- Clients that support caching MUST implement the
-u/--updateflag to allow users to manually refresh the local cache.
RECOMMENDED
- Cache only the languages the user needs, rather than downloading all 40+ language archives unnecessarily.
- Automatically update the cache on a regular schedule so pages stay current without requiring manual intervention.
Selecting language-specific archives
Clients face a tradeoff when choosing which archive(s) to download:tldr.zip— the full archive includes every page in every available language. It is the simplest option (one download) but is the largest in size.- Language-specific archives (e.g.,
tldr-pages.fr.zip) — much smaller downloads, containing only pages for a single language. Ideal when the client knows the user’s preferred language(s).
Updating the cache
Clients that implement caching MUST support the-u / --update flag:
--update manually.
PDF version
A PDF of all tldr pages is available for offline reading:Caching is RECOMMENDED but not strictly required by the specification. Clients that always fetch pages live from the network (rather than from a local cache) do not need to implement caching at all.