Downloads of v 2022.20220902:


Last Update:

02 Sep 2022

Package Maintainer(s):

Software Author(s):

  • TeX Live Team


texlive tex LaTeX

TeX Live Installer

This is not the latest version of TeX Live Installer available.

  • 1
  • 2
  • 3

2022.20220902 | Updated: 02 Sep 2022



Downloads of v 2022.20220902:



Software Author(s):

  • TeX Live Team


texlive tex LaTeX

  • 1
  • 2
  • 3
TeX Live Installer 2022.20220902

This is not the latest version of TeX Live Installer available.

  • 1
  • 2
  • 3

Some Checks Are Exempted or Have Failed

Not All Tests Have Passed

Validation Testing Passed

Verification Testing Exemption:

Exempted from verifier as installation takes longer than maximum alloted time.


Scan Testing Resulted in Flagged as a Note:

At least one file within this package has greater than 0 detections, but less than 5

Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install TeX Live Installer, run the following command from the command line or from PowerShell:


To upgrade TeX Live Installer, run the following command from the command line or from PowerShell:


To uninstall TeX Live Installer, run the following command from the command line or from PowerShell:


Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to

2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade texlive -y --source="'INTERNAL REPO URL'" --version="'2022.20220902'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:

choco upgrade texlive -y --source="'INTERNAL REPO URL'" --version="'2022.20220902'" 

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Install texlive
    name: texlive
    version: '2022.20220902'
    state: present

See docs at

chocolatey_package 'texlive' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '2022.20220902'

See docs at

cChocoPackageInstaller texlive
    Name     = "texlive"
    Version  = "2022.20220902"
    Source   = "INTERNAL REPO URL"

Requires cChoco DSC Resource. See docs at

package { 'texlive':
  ensure   => '2022.20220902',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',

Requires Puppet Chocolatey Provider module. See docs at

4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 03 Sep 2022.


TeX Live Installer


TeX Live is intended to be a straightforward way to get up and running with the TeX document production system. It provides a comprehensive TeX system with binaries for most flavors of Unix, including GNU/Linux, macOS, and also Windows. It includes all the major TeX-related programs, macro packages, and fonts that are free software, including support for many languages around the world.

This Chocolatey Package makes the process of installing TeX Live on CI/CD or No GUI computers but not limited to users to install on their Personal Computers.

You would need to specify a larger timeout depending on your install.

Package Specific

Package Parameters

The following package parameters can be set:

  • /collections: - The TeX Live Collection to install. Default to None. Data type is comma separated string. Allowed values are listed here.
  • /scheme: - The scheme(type) you need to install. Defaults to scheme-basic. Should be a string. Allowed values are listed here.
  • /InstallationPath: - Where to install the binaries to - defaults to "$env:SystemDrive\texlive\<version major>"
  • /extraPackages: - Extra LaTeX Packages that need to be installed using tlmgr. If multiple packages it needs comma separated.
  • /InstallerParameters: - Additional parameters that are to be passed to the installer (install-tl).

To pass parameters, use --params "''" (e.g. choco install texlive [other options] --params="'/collections:games /scheme:basic'").
To have choco remember parameters on upgrade, be sure to set choco feature enable -n=useRememberedArgumentsForUpgrades.

Allowed Values Collections

  • basic
  • bibtexextra
  • binextra
  • context
  • fontsextra
  • fontsrecommended
  • fontutils
  • formatsextra
  • games
  • humanities
  • langarabic
  • langchinese
  • langcjk
  • langcyrillic
  • langczechslovak
  • langenglish
  • langeuropean
  • langfrench
  • langgerman
  • langgreek
  • langitalian
  • langjapanese
  • langkorean
  • langother
  • langpolish
  • langportuguese
  • langspanish
  • latex
  • latexextra
  • latexrecommended
  • luatex
  • mathscience
  • metapost
  • music
  • pictures
  • plaingeneric
  • pstricks
  • publishers
  • texworks
  • wintools
  • xetex

Allowed Values Schemes

  • basic
  • bookpub
  • context
  • full
  • gust
  • infraonly
  • medium
  • minimal
  • small
  • tetex

Note: This Package is automatically Maintained and if issues faced contact the Maintainer.

Sponsor Norbert Preining for without which this is not possible.


$ErrorActionPreference = 'stop'; # stop on all errors
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
. "$toolsDir/helper.ps1"

$pp = Get-PackageParameters

# Check for additional parameters
$AdditionalInstallerParameters = ""
if ($pp['InstallerParameters']){
     $AdditionalInstallerParameters = $pp['InstallerParameters']
Write-Host "Additional parameters for installer: $AdditionalInstallerParameters"

if (!$pp['collections']) {
     $pp['collections'] = @()
else {
     if (($pp['collections']).GetType().BaseType.Name -ne "Array") {
          #checking whether array
          Write-Host "$($pp['collections']) is not an Array so converting to array." -ForegroundColor Yellow
          $pp['collections'] = ($pp['collections'] -split ",")
if (!$pp['scheme']) {
     $pp['scheme'] = 'basic'
if (!$pp['InstallationPath']) {
     $pp['InstallationPath'] = "$env:SystemDrive\texlive\$(Get-MajorVersion "$env:ChocolateyPackageVersion")" 
if (!$pp['extraPackages']) {
     $pp['extraPackages'] = $null
else {
     if (($pp['extraPackages']).GetType().BaseType.Name -ne "Array") {
          #checking whether array
          Write-Host "$($pp['extraPackages']) is not an Array so converting to array." -ForegroundColor Yellow
          $pp['extraPackages'] = ($pp['extraPackages'] -split ",")
$params = "/collections:$($pp['collections']) /scheme:$($pp['scheme']) /InstallationPath:$($pp['InstallationPath'])"
Write-Debug "Received Package Parameters: $params"
Write-Host "Writing Profile" -ForegroundColor Yellow
#write texlive profile
Write-Host "Writing Profile using Passed Parameters."

$profileArgs = @{
     InstallLocation = $pp['InstallationPath']
     installType     = $pp['scheme']
     collections     = $pp['collections']
     workingDir      = "$(Get-ToolsLocation)"
$profilelocation = Write-Profile @profileArgs
Write-Debug "Profile contents are `n $(gc $profilelocation.profileLoc)"
# extract
Write-Debug "Extracting and Moving Folders"
# this is done so that the line length doesn't exceeds.
$toolsDir="$(Get-ToolsLocation)\install-tl-$(Get-Date -Format ddMMyyHH)"
if (Test-Path -Path $toolsDir) {
     Write-Host "Removing $toolsDir as it already exists"
     Remove-Item -Path "$toolsDir" -Force -Recurse
Get-ChocolateyUnzip -FileFullPath "$zipLocation\" -Destination "$toolsDir" -PackageName "Texlive Installer"
Move-Item -Path "$toolsDir\install-tl-*\*" -Destination "$toolsDir" -Force 

if ($pp['scheme'] -eq "infraonly") {
     Write-Debug "Setting `$ErrorActionPreference to continue as Infra Only install detected"
     $ErrorActionPreference = "continue";

Write-Debug "Setting Environment variables TEXLIVE_INSTALL_ENV_NOCHECK and TEXLIVE_INSTALL_NO_WELCOME"
$env:TEXLIVE_INSTALL_ENV_NOCHECK = $true #powershell throws error without this

Write-Debug "Installer Version is $(& `"$($toolsDir)\install-tl-windows.bat`" -version)"
Write-Debug "Starting Installer with parameter -no-gui -profile=`"$($profilelocation.profileLoc)`""

& "$($toolsDir)\install-tl-windows.bat" -no-gui -profile="$($profilelocation.profileLoc)" $AdditionalInstallerParameters

if ($null -ne $pp['extraPackages']) {
     foreach ($c in $pp['extraPackages']) {
          Write-Host "Installing $c using tlmgr" -ForegroundColor DarkBlue
          $c = $c.Trim()
          & "$($pp['InstallationPath'])\bin\win32\tlmgr.bat" install $c
$files = get-childitem $toolsDir -include *.exe -recurse
foreach ($file in $files) {
     New-Item "$file.ignore" -type file -force | Out-Null
Remove-Item -Path "$toolsDir" -Force -Recurse
$ErrorActionPreference = 'continue'; # don't stop on all errors.
# There is an expected error when installing.

[array]$key = Get-UninstallRegistryKey -SoftwareName "Tex Live*"

if ($key.Count -eq 1) {
  $key | % { 
    $uninstStr = "$($_.UninstallString)".split('"') #should contain no quotes
    Write-Debug "Uninstall String was $uninstStr adding '--no-confirm' parameter"
    & "$uninstStr" --no-confirm
elseif ($key.Count -eq 0) {
  Write-Warning "$packageName has already been uninstalled by other means."
elseif ($key.Count -gt 1) {
  Write-Warning "$($key.Count) matches found!"
  Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
  Write-Warning "Please alert package maintainer the following keys were matched:"
  $key | % { Write-Warning "- $($_.DisplayName)" }
function Get-MajorVersion {
        # Version string to parse.
        [Parameter(Mandatory = $true)]
        [string] $Version
    $temp = $Version.Replace(".", "-")
    $temp = $($temp -split "-")
    return $temp[0]
function Write-Profile {
    param (
        [string]$InstallLocation = "$env:SystemDrive\texlive\$(Get-MajorVersion -Version $($env:ChocolateyPackageVersion) )",
        [string]$installType = "full", #also called scheme
        [array]$collections = @(),
        [string]$workingDir = "$env:TEMP"
    #installType = "full","medium","small","basic","minimal","context","gust","infraonly","tetex","custom"
    Write-Host "TeX Live Profile will be written to $workingDir\texlive.profile" -ForegroundColor Yellow
    $finalProfileStr = ""
    $finalProfileStr += "selected_scheme scheme-$($installType)`n" #select scheme
    $finalProfileStr += "TEXDIR $($InstallLocation)`n" #select texdir
    #collection loop
    if ($collections -ne $null) {
        foreach ($coll in $collections) {
            $finalProfileStr += "collection-$coll 1`n"
    New-Item -ItemType Directory -Force -Path "$workingDir"
    Set-Content -Path "$workingDir\texlive.profile" -Value "$finalProfileStr"
    Write-Debug "Written Profile in $workingDir\texlive.profile."
    return @{profileLoc = "$workingDir\texlive.profile" }
md5: 76FC601AB979C84B0A4428B7BC6C2778 | sha1: 436BAD9DEF515BE4B7E3E5446814C49EAE838695 | sha256: A92B679A53FE8F1A17316864DEE4AB9F46E919989F8C4A1C04CB659DF5E0FC12 | sha512: 5377895350434374E07685870AE2F9184202005FFABE42344577A6D7CE19B3091B28951B9A06F75C0D4C8A5A88D4EF6D6E9583120E95AA0DC32E784DDA6296EA


$Id: LICENSE.TL 52869 2019-11-20 02:36:55Z karl $


To the best of our knowledge, all software in the TeX Live distribution
is freely redistributable (libre, that is, not necessarily gratis),
within the Free Software Foundation's definition and the Debian Free
Software Guidelines.  Where the two conflict, we generally follow the
FSF.  If you find any non-free files included, please contact us
(references given at the end).

That said, TeX Live has neither a single copyright holder nor a single
license covering its entire contents, since it is a collection of many
independent packages.  Therefore, you may copy, modify, and/or
redistribute software from TeX Live only if you comply with the
requirements placed thereon by the owners of the respective packages.

To most easily learn these requirements, we suggest checking the TeX
Catalogue at: (or any
CTAN mirror).  Of course the legal statements within the packages
themselves are the final authority.

In some cases, TeX Live is distributed with a snapshot of the CTAN
archive, which is entirely independent of and separable from TeX Live
itself.  (The TeX Collection DVD is one example of this.)  Please be
aware that the CTAN snapshot contains many files which are *not* freely
redistributable; see LICENSE.CTAN for more information.

To state explicitly what is implied by the above: Because TeX Live is
free software, there is no warranty; not even for MERCHANTABILITY or


In general, you may redistribute TeX Live, with or without modification,
for profit or not, according to the usual free software tenets.  Here
are some general guidelines for doing so:

- If you make any changes to the TeX Live distribution or any
package it contains, besides complying with any licensing requirements,
you must prominently mention such changes in your modified distribution
so that users do not take your work for ours, and know to contact you,
not us, in case of questions or problems.  A new top-level file
README.<yourwork> is a good place to describe the general situation.

- Especially (but not necessarily) if changes or additions are made, we
recommend a clearly different title, such as "<your work> DVD, based on
TeX Live YYYY", where YYYY is the release year of TeX Live you are
using.  This credits both our work and yours.

- You absolutely may *not* place your own copyright on the entire
distribution, since it is not your work.  Statements such as "all rights
reserved" and "may not be reproduced" are especially reprehensible,
since they are antithetical to the free software principles under which
TeX Live is produced.

- You may use any cover or media label designs that you wish.  Such
packaging and marketing details are not covered by any TeX Live license.

- Finally, we make the following requests (not legal requirements):

a) Acknowledging that TeX Live is developed as a joint effort by all TeX
   user groups, and encouraging the user/reader to join their user group
   of choice, as listed on the web page

b) Referencing the TeX Live home page:

Such information may be placed on the label of your media, your cover,
and/or in accompanying text (for instance, in the acknowledgements
section of a book).

Finally, although it is again not a requirement, we'd like to invite any
redistributors to make a donation to the project, whether cash or
in-kind, for example via  Thanks.

If you have any questions or comments, *please* contact us.  In general,
we appreciate being given the chance to review any TeX Live-related
material in advance of publication, simply to avoid mistakes.  It is
much better to correct text on a CD label or in a book before thousands
of copies are made!

We are also happy to keep anyone planning a publication informed as to
our deadlines and progress.  Just let us know.  However, be aware that
TeX Live is produced entirely by volunteers, and no dates can be


Finally, we have been asked what license to use for new work.  To be
considered for inclusion on TeX Live, a package must use a free software
license, such as the LaTeX Project Public License, the GNU General
Public License, the modified BSD license, etc.  (Please use an existing
license instead of making up your own.)  Furthermore, all sources must
be available, including for documentation files.  Please see for more information, and other

Thanks for your interest in TeX.

- Karl Berry, for the TeX Live project

TeX Live mailing list:
TeX Live home page:

The FSF's free software definition:
Debian Free Software Guidelines:
FSF commentary on existing licenses:

LPPL: or texmf-dist/doc/latex/base/lppl.txt
LPPL rationale: texmf-dist/doc/latex/base/modguide.pdf


Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

Package can be verified like this:

1. Go to


   to download the zip file ``.

2. You can use one of the following methods to obtain the SHA256 checksum:
   - Use powershell function 'Get-FileHash'
   - Use Chocolatey utility 'checksum.exe'

   checksum: a92b679a53fe8f1a17316864dee4ab9f46e919989f8c4a1c04cb659df5e0fc12

File 'license.txt' is obtained from:

Note: The site is maintained by Norbert Preining,
who is one of the maintainers of TeX Live and also board member of 
the TeX User Group TUG. That site provides a daily archive of all 
TeX Live packages as discussed in

Tex Live maintainer updates the installer daily to CTAN,official 
download place as mentioned in
so the included `` is a copy of the file, located at 
when the package was published and can be verified from the site using the steps above.

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
TeX Live Installer 2022.20221102 1098 Wednesday, November 2, 2022 Approved
TeX Live Installer 2022.20221002 1190 Sunday, October 2, 2022 Approved
TeX Live Installer 2022.20220902 1225 Friday, September 2, 2022 Approved
TeX Live Installer 2022.20220802 950 Tuesday, August 2, 2022 Approved
TeX Live Installer 2022.20220702 684 Saturday, July 2, 2022 Approved
TeX Live Installer 2022.20220602 981 Thursday, June 2, 2022 Approved
TeX Live Installer 2022.20220601 94 Wednesday, June 1, 2022 Approved
TeX Live Installer 2022.20220502 1030 Monday, May 2, 2022 Approved
TeX Live Installer 2022.20220405 810 Tuesday, April 5, 2022 Approved
TeX Live Installer 2022.20220402 2158 Saturday, April 2, 2022 Approved
TeX Live Installer 2022.20220302 987 Wednesday, March 2, 2022 Approved
TeX Live Installer 2022.20220202 841 Wednesday, February 2, 2022 Approved
TeX Live Installer 2022.20220102 814 Sunday, January 2, 2022 Approved
TeX Live Installer 2021.20211202 782 Thursday, December 2, 2021 Approved
TeX Live Installer 2021.20211102 825 Tuesday, November 2, 2021 Approved
TeX Live Installer 2021.20211002 915 Saturday, October 2, 2021 Approved
TeX Live Installer 2021.20210902 711 Thursday, September 2, 2021 Approved
TeX Live Installer 2021.20210802 626 Monday, August 2, 2021 Approved
TeX Live Installer 2021.20210702 550 Friday, July 2, 2021 Approved
TeX Live Installer 2021.20210602 693 Wednesday, June 2, 2021 Approved
TeX Live Installer 2021.20210502 1032 Sunday, May 2, 2021 Approved
TeX Live Installer 2021.20210425 293 Sunday, April 25, 2021 Approved
TeX Live Installer 2021.20210402 1063 Friday, April 2, 2021 Approved
TeX Live Installer 2021.20210303 1040 Wednesday, March 3, 2021 Approved
TeX Live Installer 2021.20210203 400 Wednesday, February 3, 2021 Approved
TeX Live Installer 2021.20210103 1286 Sunday, January 3, 2021 Approved
TeX Live Installer 2020.120201213 536 Sunday, December 13, 2020 Approved
TeX Live Installer 2020.120201126 84 Thursday, November 26, 2020 Approved
TeX Live Installer 2020.120201026 919 Monday, October 26, 2020 Approved
TeX Live Installer 2020.28092020 277 Thursday, October 8, 2020 Approved

This package has no dependencies.

Discussion for the TeX Live Installer Package

Ground Rules:

  • This discussion is only about TeX Live Installer and the TeX Live Installer package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or TeX Live Installer, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus