Downloads of v 22.10:


Last Update:

03 Nov 2022

Package Maintainer(s):

Software Author(s):

  • Christian Schenk


miktex tex latex pdf typesetting foss embedded


  • 1
  • 2
  • 3

22.10 | Updated: 03 Nov 2022



Downloads of v 22.10:



Software Author(s):

  • Christian Schenk

  • 1
  • 2
  • 3
MiKTeX 22.10

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests

Validation Testing Passed

Verification Testing Passed


Scan Testing Successful:

No detections found in any package files

Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install MiKTeX, run the following command from the command line or from PowerShell:


To upgrade MiKTeX, run the following command from the command line or from PowerShell:


To uninstall MiKTeX, 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 miktex -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 miktex -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 miktex
    name: miktex
    version: '22.10'
    state: present

See docs at

chocolatey_package 'miktex' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '22.10'

See docs at

cChocoPackageInstaller miktex
    Name     = "miktex"
    Version  = "22.10"
    Source   = "INTERNAL REPO URL"

Requires cChoco DSC Resource. See docs at

package { 'miktex':
  ensure   => '22.10',
  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 is likely a meta/virtual (*) or an installer (*.install) or portable (*.portable) application package.

  • Meta/virtual (*) - has a dependency on the *.install or the *.portable package - it is provided for discoverability and for other packages to take a dependency on.
  • Portable (*.portable/*.commandline (deprecated naming convention)/*.tool (deprecated naming convention)) - usually zips or archives that require no administrative access to install.
  • Install (*.install/*.app (deprecated naming convention)) - uses native installers, usually requires administrative access to install.

Learn more about chocolatey's distinction of installed versus portable apps and/or learn about this kind of package.

This package was approved as a trusted package on 04 Nov 2022.


MiKTeX (pronounced mick-tech) is an up-to-date implementation of TeX/LaTeX and related programs. TeX is a typesetting system written by Donald Ervin Knuth who says that it is intended for the creation of beautiful books - and especially for books that contain a lot of mathematics.

MiKTeX comes with TeXworks, a TeX frontend which you can use it to edit and preview LaTeX documents.

The sky is the limit when it comes to TeX/LaTeX, with drawings, chemical equations, syntax trees, circuit diagrams, mathematical expressions, proof systems, chessboards and more! (Image source)

MiKTeX's integrated package manager installs missing components from the Internet, if required.

Package Set Parameter (optional)

  • /Set:(option) - Download and install the essential, basic (default), or complete set of TeX packages/tools.
  • /Mirror:(URL) - This will use the (url), a CTAN mirror to download MiKTeX. It is recommended to only use this if the default mirror as chosen by the MiKTeX setup utility doesn't work for some reason.* Hint: Including /Mirror (valid or not) will write the list of "official", URLs to the Chocolatey log.
  • /ThisUser - This will install MiKTeX for only this user. **Note: This can cause confusion for other users as Chocolatey will claim MiKTeX is installed but other users will (potentially) not be able to see/use it.

Custom Repository Parameter (optional)

This package has only the MiKTeX setup utility embedded. Any new install of MiKTeX involves using the setup utility to download and create a (temporary by default) repository and then installing from that repository. This Chocolatey package can both establish a more permenant repository (for sharing with other computers) and use a specific (possibly private) repository from which to install MiKTeX. Thus a single computer within a network could download MiKTeX from the internet and create a repository, and all other computers on the network could use that repository to install MiKTeX saving external bandwidth.

Using a Custom Repository:

  • /RepoPath:(path) -- with a local or UNC path. This will install or update MiKTeX from a specific existing repository. No attempt to update the repository itself will be made. Upgrades should use this repository in the future by default. Note: If both /RepoPath (with a UNC path) and /Mirror are used, /Mirror will be ignored.

Creating a Custom Repository:

  • /RepoPath:(path) - with a local directory as (path). This will create (or update) the repository in the location. MiKTeX will also be installed. Note: The repository will not be shared or accessible to other systems without additional administrator actions and will not be removed on an uninstall.


  • On a server, you might use:

choco install miktex.install --params '"/Set:complete /RepoPath:""c:\Shared Files\MiKTeX-Repo"""'
Double-double quotes (i.e. ""path"") are necessary for paths containing a space.

  • On a workstation in the same network, you might use:

choco install miktex.install --params '"/RepoPath:\\localserver\MiKTeX-Repo"'

# This is just a virtual package for miktex.install

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
MiKTeX 22.8.28 7476 Tuesday, August 30, 2022 Approved
MiKTeX 22.7.30 4711 Saturday, August 6, 2022 Approved
MiKTeX 22.7 2810 Saturday, July 23, 2022 Approved
MiKTeX 22.3 8647 Saturday, March 26, 2022 Approved
MiKTeX 22.1 6146 Wednesday, February 2, 2022 Approved
MiKTeX 21.12 4830 Wednesday, December 29, 2021 Approved
MiKTeX 21.10 6154 Saturday, November 6, 2021 Approved
MiKTeX 21.8 6192 Thursday, September 16, 2021 Approved
MiKTeX 21.6.28 9356 Tuesday, July 13, 2021 Approved
MiKTeX 21.3 9488 Saturday, April 3, 2021 Approved
MiKTeX 21.2 5684 Wednesday, February 24, 2021 Approved
MiKTeX 21.1 6388 Wednesday, January 20, 2021 Approved
MiKTeX 20.12 3704 Monday, December 28, 2020 Approved
MiKTeX 5014 Friday, November 20, 2020 Approved
MiKTeX 20.11 3610 Monday, November 2, 2020 Approved
MiKTeX 1142 Friday, October 30, 2020 Approved
MiKTeX 20.10 2002 Sunday, October 25, 2020 Approved
MiKTeX 20.7 8085 Saturday, August 8, 2020 Approved
MiKTeX 196 Tuesday, July 28, 2020 Approved
MiKTeX 20.6.29 5470 Sunday, July 19, 2020 Approved
MiKTeX 2.9.7219 40990 Wednesday, October 9, 2019 Approved
MiKTeX 2.9.7216 2299 Sunday, October 6, 2019 Approved
MiKTeX 2.9.7152 18085 Saturday, August 3, 2019 Approved
MiKTeX 2.9.7100 13097 Tuesday, June 11, 2019 Approved
MiKTeX 2.9.7086 4461 Wednesday, May 29, 2019 Approved
MiKTeX 2.9.7079 2945 Wednesday, May 22, 2019 Approved
MiKTeX 2.9.7031.01 4769 Thursday, May 9, 2019 Approved
MiKTeX 2.9.6942 6689 Sunday, February 3, 2019 Approved
MiKTeX 2.9.6850 6593 Thursday, October 4, 2018 Approved
MiKTeX 2.9.6813 2915 Saturday, September 8, 2018 Approved
MiKTeX 2.9.6643 8381 Monday, March 12, 2018 Approved
MiKTeX 2.9.6615 2337 Wednesday, February 21, 2018 Approved
MiKTeX 2.9.6520 6232 Thursday, November 9, 2017 Approved
MiKTeX 2.9.6361 7550 Saturday, June 3, 2017 Approved
MiKTeX 2.9.6326 2483 Saturday, April 29, 2017 Approved
MiKTeX 2.9.6236 4500 Sunday, January 29, 2017 Approved
MiKTeX 2.9.6219 1867 Thursday, January 12, 2017 Approved
MiKTeX 2.9.6161.01 2475 Tuesday, November 15, 2016 Approved
MiKTeX (Portable) 2.9.6161 469 Tuesday, November 15, 2016 Approved
MiKTeX 2.9.6069.3 2064 Wednesday, October 12, 2016 Approved
MiKTeX 2.9.6069.2 2602 Friday, September 9, 2016 Approved
MiKTeX 2.9.6069.1 1356 Monday, August 22, 2016 Approved
MiKTeX 2.9.6069 1387 Tuesday, August 16, 2016 Approved
MiKTeX 2.9.6022 974 Tuesday, June 28, 2016 Approved
MiKTeX 2.9.5997 436 Saturday, June 4, 2016 Approved
MiKTeX 2.9.5987 415 Wednesday, May 25, 2016 Approved
MiKTeX 2.9.5872 1847 Monday, February 8, 2016 Approved
MiKTeX 2.9.5857 945 Saturday, January 23, 2016 Approved
MiKTeX 2.9.5823.01 732 Wednesday, January 13, 2016 Approved
MiKTeX 2.9.5721 1563 Sunday, September 27, 2015 Approved
MiKTeX 2.9.5105 3739 Tuesday, January 14, 2014 Approved
MiKTeX 2.9.4813 911 Wednesday, July 31, 2013 Approved
Discussion for the MiKTeX Package

Ground Rules:

  • This discussion is only about MiKTeX and the MiKTeX 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 MiKTeX, 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