Forrest logo
back to the tlmgr tool

tlmgr-info:tldr:89952

tlmgr-info: Print all available packages as JSON encoded array.
$ tlmgr info --json
try on your machine

The command "tlmgr info --json" is used to retrieve information about the installed packages in the TeX Live distribution in JSON format.

Here's a breakdown of the command:

  • "tlmgr": This stands for TeX Live Manager, a command-line tool for managing packages in the TeX Live distribution. It provides various operations like installing, updating, and removing packages.

  • "info": This is a subcommand of tlmgr used for obtaining information about packages.

  • "--json": This option specifies the output format for the information. In this case, it is set to JSON, which stands for JavaScript Object Notation. JSON is a lightweight data-interchange format that is easy for humans to read and write, and easy for machines to parse and generate.

By executing "tlmgr info --json", you will receive a JSON-formatted response containing information about the installed TeX Live packages, such as package name, version, description, and other relevant details. This structured data can then be parsed and processed by programs or scripts that are capable of working with JSON.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the tlmgr tool