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.
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 theinfraonly
scheme 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 list of packages may grow as time goes by, and the size of this variation will grow correspondingly.
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.
Windows | macOS | Linux | |
---|---|---|---|
TinyTeX-0 | TinyTeX-0.zip (27 MB) | TinyTeX-0.tgz (1.4 MB) | TinyTeX-0.tar.gz (670 KB) |
TinyTeX-1 | TinyTeX-1.zip (99 MB) | TinyTeX-1.tgz (83 MB) | TinyTeX-1.tar.gz (64 MB) |
TinyTeX | TinyTeX.zip (200+ MB) | TinyTeX.tgz (188+ MB) | TinyTeX.tar.gz (160+ MB) |
tinitex binary (experimental) | tinitex.zip (15 MB) | tinitex.tgz (18 MB) | tinitex.tar.gz (21 MB) |
For those who are curious about how these packages are built, please read the FAQ 4 of TinyTeX.
TinyTeX can be installed in a variety of ways. You may use R, shell/batch scripts, Chocolatey, or Scoop to install it.
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")
# use version = "latest" if you want to install the latest release
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')
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
).
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 tinytex
This will install TinyTeX and make the TeX Live package manager, tlmgr
available on PATH.
To uninstall TinyTeX, use the command:
choco uninstall tinytex
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.git
Then type the following command to install TinyTeX:
scoop install tinytex
This will install TinyTeX and make the TeX Live package manager, tlmgr
available on PATH. To uninstall TinyTeX, use the command:
scoop uninstall tinytex
For more information on this scoop package, please see https://github.com/cderv/r-bucket/.
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.