GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
TLRC(1) tlrc manual TLRC(1)

tlrc - official tldr client written in Rust

tldr [options] [page]

Update the cache of tldr pages. This will first download the sha256sums of all archives and compare them to the old sums to determine which languages need updating. If you want to force a redownload, run tldr --clean-cache beforehand.
List all pages in the current platform.
List all pages.
List available platforms.
List available languages. Use --info for a language list with more information.
Show cache information (path, age, installed languages and the number of pages).
Render the specified markdown file.
Clean the cache directory (i.e. remove pages and old sha256sums). Useful to force a redownload when all pages are up to date.
Print the default config to standard output.
Print the default config path and create the config directory if it does not exist.
Specify the platform to use (linux, osx, windows, etc.).

Default: the operating system you are currently running

Specify the language to show pages in. Can be used multiple times. Overrides all other language detection methods. tlrc will not fall back to English when this option is used, and will instead show an error. Note that this option does not affect languages downloaded on --update. If you want to use languages not defined in environment variables, use the cache.languages option in the config file.

Default: taken from the config or the LANG and LANGUAGE environment variables. See https://github.com/tldr-pages/tldr/blob/main/CLIENT-SPECIFICATION.md#language for a detailed description of how tlrc determines the language.

In option placeholders, display short options wherever possible.
Example: "{{[-s|--long]}}" will be displayed as "-s" when using this option. Equivalent of setting output.option_style="short" in the config.

When used with --long-options, the above placeholder will be displayed as "[-s|--long]". Using both options is equivalent to setting output.option_style="both" in the config.

In option placeholders, display long options wherever possible.
Example: "{{[-s|--long]}}" will be displayed as "--long" when using this option. Equivalent of setting output.option_style="long" in the config.

This is the default.

Do not update the cache, even if it is stale and automatic updates are on. Similar to setting cache.auto_update=false in the config, except using this will show an error if the cache is empty.
Strip empty lines from output. Equivalent of setting output.compact=true in the config.
Do not strip empty lines from output. Equivalent of setting output.compact=false in the config. This always overrides --compact.
Print pages in raw markdown. Equivalent of setting output.raw_markdown=true in the config.
Render pages instead of printing raw file contents. Equivalent of setting output.raw_markdown=false in the config. This always overrides --raw.
Suppress status messages and warnings. In other words, this makes tlrc print only pages and errors.
Specify when to enable color.
Can be one of the following: 'always', 'never', 'auto'.
always forces colors on; never forces colors off; and auto only automatically enables colors when outputting onto a tty and the NO_COLOR environment variable is not set or is an empty string.

Default: auto

Specify an alternative path to the config file.

Default: platform-dependent (use --config-path to see the default path for your system)

Print version information.
Print a help message.

To generate a default config file, run:

tldr --gen-config > "$(tldr --config-path)"

See https://github.com/tldr-pages/tlrc#configuration for an example config file with explanations.

The default config path depends on your operating system:
Linux and BSD: $XDG_CONFIG_HOME/tlrc/config.toml or ~/.config/tlrc/config.toml if $XDG_CONFIG_HOME is unset
macOS: ~/Library/Application Support/tlrc/config.toml
Windows: %ROAMINGAPPDATA%\tlrc\config.toml

No matter the OS, you can set the $TLRC_CONFIG enviroment variable or use --config to override the default path.

See the tldr page for tar:

tldr tar

See the tldr page for diskpart, from platform windows:

tldr --platform windows diskpart

0
OK
1
I/O and various other errors
2
Invalid command-line arguments
3
TOML (config file) parse error
4
Errors related to cache updates (e.g. a failed HTTP GET request)
5
Tldr syntax error (e.g. a non-empty line that does not start with '# ', '> ', '- ' or '`')

tldr client specification
https://github.com/tldr-pages/tldr/blob/main/CLIENT-SPECIFICATION.md

tlrc repository (report issues with the client here)
https://github.com/tldr-pages/tlrc

tldr-pages repository (report issues with the pages here)
https://github.com/tldr-pages/tldr

An online version of this man page is available here:
https://tldr.sh/tlrc

2025-05-05 tlrc 1.11.1

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.