Usage

Tealdeer is straightforward to use, through the binary named tldr.

You can view the available options using tldr --help:

Usage:

    tldr [options] <command>...
    tldr [options]

Options:

    -h --help             Show this screen
    -v --version          Show version information
    -l --list             List all commands in the cache
    -f --render <file>    Render a specific markdown file
    -o --os <type>        Override the operating system [linux, osx, sunos, windows]
    -L --language <lang>  Override the language settings
    -u --update           Update the local cache
    -c --clear-cache      Clear the local cache
    -p --pager            Use a pager to page output
    -m --markdown         Display the raw markdown instead of rendering it
    -q --quiet            Suppress informational messages
    --show-paths          Show file and directory paths used by tealdeer
    --config-path         Show config file path (deprecated)
    --seed-config         Create a basic config
    --color <when>        Control when to use color [always, auto, never] [default: auto]

Examples:

    $ tldr tar
    $ tldr --list

To control the cache:

    $ tldr --update
    $ tldr --clear-cache

To render a local file (for testing):

    $ tldr --render /path/to/file.md