Chocolatey Community Coffee Break

Join the Chocolatey Team on our regular monthly stream where we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Announcing Chocolatey Central Management 0.10.0

Livestream from
Thursday, 06 October 2022

We recently released our largest update to Chocolatey Central Management so far. Join Gary and Steph to find out more about Chocolatey Central Management and the new features and fixes we've added to this release.

Watch On-Demand
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand
Chocolatey Product Spotlight: Chocolatey 1.2.0 and Chocolatey Licensed Extension 5.0.0

Livestream from
Thursday, 03 November 2022

Join Paul and Gary for this months Chocolatey product livestream where we look at the latest release of Chocolatey 1.2.0, Chocolatey Licensed Extension 5.0.0 and shine a spotlight on the new hook scripts functionality. This opens up so many possibilities for Chocolatey CLI users!

Watch On-Demand
Chocolatey Coding Livestream

Livestream from
Tuesday, 29 November 2022

Join Josh as he adds the ability to manage Chocolatey GUI config and features with the Chocolatey Ansible Collection.

Watch On-Demand
Introduction into Chocolatey with Veeam

Webinar from
Tuesday, 13 December 2022

Join Gary, Paul, and Maurice as they introduce and demonstrate how to use Chocolatey! Questions will be answered live in an Ask Me Anything format.

Watch On-Demand



Downloads of v 2023.20230602:


Last Update:

02 Jun 2023

Package Maintainer(s):

Software Author(s):

  • TeX Live Team


texlive tex LaTeX

TeX Live Installer

  • 1
  • 2
  • 3

2023.20230602 | Updated: 02 Jun 2023



Downloads of v 2023.20230602:



Software Author(s):

  • TeX Live Team


texlive tex LaTeX

TeX Live Installer 2023.20230602

  • 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:


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'" [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'" 

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: '2023.20230602'
    state: present

See docs at

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

See docs at

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

Requires cChoco DSC Resource. See docs at

package { 'texlive':
  ensure   => '2023.20230602',
  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.

Package Approved

This package was approved as a trusted package on 02 Jun 2023.


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\windows\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: A9DC42533F22598AA7EF3CA65C5DCA5F | sha1: DD4AD91FC1A3D8FF8B160FF00CAF335AF3380235 | sha256: 7B1F2E184941B436982B6073600AA3291F3A3C56FED6983A848E269B66D2FC8C | sha512: 9C9E1E6770D6DFD8DA7321A3A1283C603EB96E2E0F9D8CAD9419B147491EC1500A953EADB18B4D755700B1A07775FC7EB72D008EC96052F5E41CAF826ADA957D


$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: 7b1f2e184941b436982b6073600aa3291f3a3c56fed6983a848e269b66d2fc8c

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 2023.20230502 1071 Tuesday, May 2, 2023 Approved
TeX Live Installer 2023.20230402 1019 Sunday, April 2, 2023 Approved
TeX Live Installer 2023.20230321 555 Tuesday, March 21, 2023 Approved
TeX Live Installer 2023.20230320 127 Monday, March 20, 2023 Approved
TeX Live Installer 2023.20230302 703 Thursday, March 2, 2023 Approved
TeX Live Installer 2023.20230202 1006 Thursday, February 2, 2023 Approved
TeX Live Installer 2023.20230102 918 Monday, January 2, 2023 Approved
TeX Live Installer 2022.20221202 961 Friday, December 2, 2022 Approved
TeX Live Installer 2022.20221102 1111 Wednesday, November 2, 2022 Approved
TeX Live Installer 2022.20221002 1198 Sunday, October 2, 2022 Approved
TeX Live Installer 2022.20220902 1235 Friday, September 2, 2022 Approved
TeX Live Installer 2022.20220802 962 Tuesday, August 2, 2022 Approved
TeX Live Installer 2022.20220702 700 Saturday, July 2, 2022 Approved
TeX Live Installer 2022.20220602 1003 Thursday, June 2, 2022 Approved
TeX Live Installer 2022.20220601 103 Wednesday, June 1, 2022 Approved
TeX Live Installer 2022.20220502 1060 Monday, May 2, 2022 Approved
TeX Live Installer 2022.20220405 824 Tuesday, April 5, 2022 Approved
TeX Live Installer 2022.20220402 2165 Saturday, April 2, 2022 Approved
TeX Live Installer 2022.20220302 994 Wednesday, March 2, 2022 Approved
TeX Live Installer 2022.20220202 850 Wednesday, February 2, 2022 Approved
TeX Live Installer 2022.20220102 820 Sunday, January 2, 2022 Approved
TeX Live Installer 2021.20211202 793 Thursday, December 2, 2021 Approved
TeX Live Installer 2021.20211102 833 Tuesday, November 2, 2021 Approved
TeX Live Installer 2021.20211002 926 Saturday, October 2, 2021 Approved
TeX Live Installer 2021.20210902 719 Thursday, September 2, 2021 Approved
TeX Live Installer 2021.20210802 631 Monday, August 2, 2021 Approved
TeX Live Installer 2021.20210702 556 Friday, July 2, 2021 Approved
TeX Live Installer 2021.20210602 699 Wednesday, June 2, 2021 Approved
TeX Live Installer 2021.20210502 1039 Sunday, May 2, 2021 Approved
TeX Live Installer 2021.20210425 298 Sunday, April 25, 2021 Approved
TeX Live Installer 2021.20210402 1073 Friday, April 2, 2021 Approved
TeX Live Installer 2021.20210303 1047 Wednesday, March 3, 2021 Approved
TeX Live Installer 2021.20210203 413 Wednesday, February 3, 2021 Approved
TeX Live Installer 2021.20210103 1295 Sunday, January 3, 2021 Approved
TeX Live Installer 2020.120201213 550 Sunday, December 13, 2020 Approved
TeX Live Installer 2020.120201126 100 Thursday, November 26, 2020 Approved
TeX Live Installer 2020.120201026 927 Monday, October 26, 2020 Approved
TeX Live Installer 2020.28092020 283 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