Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

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

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
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

Downloads:

335,902

Downloads of v 20.6.29.20200727:

261

Last Update:

28 Jul 2020

Package Maintainer(s):

Software Author(s):

  • Christian Schenk

Tags:

miktex tex latex pdf typesetting foss embedded

MiKTeX

This is not the latest version of MiKTeX available.

  • 1
  • 2
  • 3

20.6.29.20200727 | Updated: 28 Jul 2020

Downloads:

335,902

Downloads of v 20.6.29.20200727:

261

Maintainer(s):

Software Author(s):

  • Christian Schenk

MiKTeX 20.6.29.20200727

This is not the latest version of MiKTeX available.

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Christian Schenk. The inclusion of Christian Schenk trademark(s), if any, upon this webpage is solely to identify Christian Schenk goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
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 https://community.chocolatey.org/api/v2/)


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 https://community.chocolatey.org/api/v2/. 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'" --version="'20.6.29.20200727'" [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'" --version="'20.6.29.20200727'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Install miktex
  win_chocolatey:
    name: miktex
    version: '20.6.29.20200727'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


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

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller miktex
{
    Name     = "miktex"
    Version  = "20.6.29.20200727"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'miktex':
  ensure   => '20.6.29.20200727',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

NOTE

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.

Package Approved

This package was approved by moderator flcdrg on 27 Aug 2020.

Description

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.

<img src="https://mathvault.ca/wp-content/uploads/fancy-latex-output.png" width=80% /><br/>
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.

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 share or URL as (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.

Creating a Custom Repository:

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

Examples:

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

choco install miktek.install --params '"/RepoPath:https://localserver.org/MiKTeX-Repo"'


tools\chocolateyinstall.ps1
# 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 24.3.0 6093 Wednesday, March 13, 2024 Approved
MiKTeX 23.12.0 6473 Tuesday, January 9, 2024 Approved
MiKTeX 23.10.12 6681 Tuesday, October 17, 2023 Approved
MiKTeX 23.9.24 3600 Tuesday, September 26, 2023 Approved
MiKTeX 23.5 11913 Sunday, May 14, 2023 Approved
MiKTeX 23.4 1835 Sunday, April 30, 2023 Approved
MiKTeX 22.10 12997 Thursday, November 3, 2022 Approved
MiKTeX 22.8.28 7539 Tuesday, August 30, 2022 Approved
MiKTeX 22.7.30 4766 Saturday, August 6, 2022 Approved
MiKTeX 22.7 2881 Saturday, July 23, 2022 Approved
MiKTeX 22.3 8719 Saturday, March 26, 2022 Approved
MiKTeX 22.1 6204 Wednesday, February 2, 2022 Approved
MiKTeX 21.12 4887 Wednesday, December 29, 2021 Approved
MiKTeX 21.10 6218 Saturday, November 6, 2021 Approved
MiKTeX 21.8 6244 Thursday, September 16, 2021 Approved
MiKTeX 21.6.28 9427 Tuesday, July 13, 2021 Approved
MiKTeX 21.3 9547 Saturday, April 3, 2021 Approved
MiKTeX 21.2 5745 Wednesday, February 24, 2021 Approved
MiKTeX 21.1 6550 Wednesday, January 20, 2021 Approved
MiKTeX 20.12 3783 Monday, December 28, 2020 Approved
MiKTeX 20.11.0.20201119 5086 Friday, November 20, 2020 Approved
MiKTeX 20.11 3679 Monday, November 2, 2020 Approved
MiKTeX 20.10.0.20201030 1197 Friday, October 30, 2020 Approved
MiKTeX 20.10 2073 Sunday, October 25, 2020 Approved
MiKTeX 20.7 8156 Saturday, August 8, 2020 Approved
MiKTeX 20.6.29.20200727 261 Tuesday, July 28, 2020 Approved
MiKTeX 20.6.29 5558 Sunday, July 19, 2020 Approved
MiKTeX 2.9.7219 42271 Wednesday, October 9, 2019 Approved
MiKTeX 2.9.7216 2386 Sunday, October 6, 2019 Approved
MiKTeX 2.9.7152 18158 Saturday, August 3, 2019 Approved
MiKTeX 2.9.7100 13158 Tuesday, June 11, 2019 Approved
MiKTeX 2.9.7086 4531 Wednesday, May 29, 2019 Approved
MiKTeX 2.9.7079 3022 Wednesday, May 22, 2019 Approved
MiKTeX 2.9.7031.01 4831 Thursday, May 9, 2019 Approved
MiKTeX 2.9.6942 6790 Sunday, February 3, 2019 Approved
MiKTeX 2.9.6850 6695 Thursday, October 4, 2018 Approved
MiKTeX 2.9.6813 3041 Saturday, September 8, 2018 Approved
MiKTeX 2.9.6643 8491 Monday, March 12, 2018 Approved
MiKTeX 2.9.6615 2419 Wednesday, February 21, 2018 Approved
MiKTeX 2.9.6520 6317 Thursday, November 9, 2017 Approved
MiKTeX 2.9.6361 7637 Saturday, June 3, 2017 Approved
MiKTeX 2.9.6326 2549 Saturday, April 29, 2017 Approved
MiKTeX 2.9.6236 4583 Sunday, January 29, 2017 Approved
MiKTeX 2.9.6219 1949 Thursday, January 12, 2017 Approved
MiKTeX 2.9.6161.01 2554 Tuesday, November 15, 2016 Approved
MiKTeX (Portable) 2.9.6161 549 Tuesday, November 15, 2016 Approved
MiKTeX 2.9.6069.3 2139 Wednesday, October 12, 2016 Approved
MiKTeX 2.9.6069.2 2672 Friday, September 9, 2016 Approved
MiKTeX 2.9.6069.1 1426 Monday, August 22, 2016 Approved
MiKTeX 2.9.6069 1466 Tuesday, August 16, 2016 Approved
MiKTeX 2.9.6022 1060 Tuesday, June 28, 2016 Approved
MiKTeX 2.9.5997 507 Saturday, June 4, 2016 Approved
MiKTeX 2.9.5987 494 Wednesday, May 25, 2016 Approved
MiKTeX 2.9.5872 1922 Monday, February 8, 2016 Approved
MiKTeX 2.9.5857 1032 Saturday, January 23, 2016 Approved
MiKTeX 2.9.5823.01 808 Wednesday, January 13, 2016 Approved
MiKTeX 2.9.5721 1653 Sunday, September 27, 2015 Approved
MiKTeX 2.9.5105 3816 Tuesday, January 14, 2014 Approved
MiKTeX 2.9.4813 979 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