# tldr-node-client A Docker Alpine image of the nodejs tldr client.
1.7K
A Docker Alpine image of the nodejs tldr client.
For more information regarding tldr pages refer tldr.

docker pull s3than/tldr
To see tldr pages:
Usage as Docker run docker run -it s3than/tldr tldr $argv
tldr <command> show examples for this commandtldr <command> --os=<platform> show command page for the given platform (linux, osx, sunos)tldr --linux <command> show command page for Linuxtldr --osx <command> show command page for OSXtldr --sunos <command> show command page for SunOStldr --list show all pages for current platformtldr --list-all show all available pagestldr --random show a page at randomtldr --random-example show a single random exampleThe client caches a copy of all pages locally, in ~/.tldr.
There are more commands to control the local cache:
tldr --update download the latest pagestldr --clear-cache delete the entire local cacheAs a contributor, you might also need the following commands:
tldr --render <path> render a local page for testing purposesYou can configure the tldr client by adding a .tldrrc file in your HOME directory.
This file has to be valid JSON:
{
"colors": {
"text": "green",
"command-background": "black",
"command-foreground": "red",
"command-token": "white"
}
}
If you regularly need pages for a different platform (e.g. Linux), you can put it in the config file:
{
"platform": "linux"
}
The default platform value can be overwritten with command-line option:
tldr du --os=osx
Content type
Image
Digest
Size
15 MB
Last updated
almost 10 years ago
docker pull s3than/tldr