TinyTeX releases for Windows, macOS, and Linux
TinyTeX is a lightweight, cross-platform, portable, and easy-to-maintain LaTeX distribution based on TeX Live. You may see the Github repo (https://github.com/yihui/tinytex) and project homepage (https://yihui.org/tinytex/) for more info.
Releases
The binary packages of TinyTeX are published (usually monthly) to the Github Releases of this repository: https://github.com/yihui/tinytex-releases/releases Each release contains three variations:
-
TinyTeX-0.*contains theinfraonlyscheme of TeX Live, without any LaTeX packages. If you install this variation, you may install any other packages viatlmgr(which is a utility included in this variation), e.g.,tlmgr install latex-bin framed. -
TinyTeX-1.*contains about 90 LaTeX packages enough to compile common R Markdown documents (which was the original motivation of the TinyTeX project). -
TinyTeX.*contains more LaTeX packages requested by the community.
The zip packages are for Windows. The tgz packages are for macOS. The tar.gz packages are for Linux. If you prefer using the daily build instead of monthly releases, you may also download them from URLs of the form https://yihui.org/tinytex/VARIATION.EXT, where VARIATION can be TinyTeX-0, TinyTeX-1, or TinyTeX, and EXT can be zip, tgz, or tar.gz, e.g., https://yihui.org/tinytex/TinyTeX.zip.
For those who are curious about how these packages are built, please read the FAQ 3 of TinyTeX.
Installation
TinyTeX can be installed in a variety of ways. You may use R, shell/batch scripts, Chocolatey, or Scoop to install it.
R
You may use the R package tinytex to install TinyTeX. By default, the function tinytex::install_tinytex() installs the latest daily build of TinyTeX. If you want to install a specific version in this repo, you may use the version argument, e.g.,
tinytex::install_tinytex(version = "2020.10")Note that install_tinytex() installs the variation TinyTeX-1.*. If you want to install TinyTeX.* or TinyTeX-0.*, you need to use the function install_prebuilt(), e.g.,
tinytex:::install_prebuilt('TinyTeX')
# Or tinytex:::install_prebuilt('TinyTeX-0')
# You can also specify the version, e.g,
# tinytex:::install_prebuilt('TinyTeX', version = '2020.10')Shell/Batch scripts
Please see https://yihui.org/tinytex/#installation for how to install TinyTeX via a Unix Shell or Windows Batch script. They also install the latest daily build by default, and you may specify the TinyTeX version via an environment variable TINYTEX_VERSION before running the installation script, e.g., TINYTEX_VERSION=2020.10. You may also specify other variations of TinyTeX via the environment variable TINYTEX_INSTALLER, e.g., TINYTEX_INSTALLER=TinyTeX (the default is TinyTeX-1).
Chocolatey
You may install TinyTeX as a Chocolatey package. First, you would need to install the Chocolatey Package Manager if it has not already been installed. Next type in the following command to install TinyTeX:
choco install tinytexThis will install TinyTeX and make the TeX Live package manager, tlmgr available on PATH.
To uninstall TinyTeX, use the command:
choco uninstall tinytexScoop
Scoop is another package manager for Windows. You need to install scoop first to use it from powershell.
Apps for scoop are available through "buckets". For now, TinyTeX binary packages are not available in the default main or extras buckets that comes with a new installation of scoop, but through the scoop bucket r-bucket. You need first to add this bucket:
scoop bucket add r-bucket https://github.com/cderv/r-bucket.gitThen type the following command to install TinyTeX:
scoop install tinytexThis will install TinyTeX and make the TeX Live package manager, tlmgr available on PATH. To uninstall TinyTeX, use the command:
scoop uninstall tinytexFor more information on this scoop package, please see https://github.com/cderv/r-bucket/.
License
All code in this repository and TinyTeX are licensed under GPL-2. Per copying conditions of TeX Live, we (TinyTeX authors) want to clarify that:
-
We did not make changes to the TeX Live distribution, but basically packaged up a subset of its packages and redistributed them as TinyTeX.
-
We do not claim copyright on TinyTeX. Again, TinyTeX is a subset of TeX Live (https://tug.org/texlive/), and TeX Live is developed as a joint effort by all TeX user groups.
Note that TinyTeX does not bundle the source code of LaTeX packages (to keep the size small). If you do want to obtain the source, you may find them on CTAN. Alternatively, you can reinstall a package with the command tlmgr install --reinstall --with-src <PKG> to obtain the source.
