对于 Windows 8 及更高版本的微软用户,可以直接装载 iso 映像。而后,执行安装脚本,将 TeX Live 安装在你的系统中。
Windows 用户右键单击
install-tl-windows.bat
,右键以管理员权限执行;
*nix 用户执行
install-tl
。
★
注意:TeX Live 2025 安装卡在“running package-specific postactions”不再继续进行, 用 gui 模式安装 TeX Live 2025,很多人都遇到了同样的问题。
所以建议用命令行安装。下面我们讲解无界面安装 TeX Live 2025 全过程。
Windows 下的 no gui 安装过程
首先,我们下载下来的镜像如下图:
image-20250319215617237
右键,把镜像进行装载如下图:
image-20250319215813451
点击打开:
image-20250319220732734
打开下装载镜像路径,需要注意这个路径后面要用到:
image-20250319221120119
启动命令提示符 (cmd.exe) ,命令提示符是 Windows 的默认命令行解释器。它比常规 GUI 更快并且使用更少的内存。我们在操作系统任务栏搜索里,输入 cmd 命令,如下图:
★
注意:cmd 必须要以管理员身份运行。
image-20250319221238257
命令行切换到镜像装载的路径下去:
image-20250319223232180
可以输入 dir 来列出来详细文件列表:
image-20250319223311074
输入:
install-tl-windows.bat --no-gui
image-20250319223410593
如下是启动之后的内容:
image-20250319223626291
======================> TeX Live installation procedure <=====================
======> Letters/digits in indicate <======= ======> menu items for actions or customizations <======= = help> https://tug.org/texlive/doc/install-tl.html <=======
Detected platform: Windows (64-bit)
set binary platforms: 1 out of 15
set installation scheme: scheme-full
set installation collections: 41 collections out of 41, disk space required: 9033 MB (free: 261418 MB)
set directories: TEXDIR (the main TeX directory): C:/texlive/2025 TEXMFLOCAL (directory for site-wide local files): C:/texlive/texmf-local TEXMFSYSVAR (directory for variable and automatically generated data): C:/texlive/2025/texmf-var TEXMFSYSCONFIG (directory forlocal config): C:/texlive/2025/texmf-config TEXMFVAR (personal directory for variable and automatically generated data): ~/.texlive2025/texmf-var TEXMFCONFIG (personal directory forlocal config): ~/.texlive2025/texmf-config TEXMFHOME (directory for user-specific files): ~/texmf
options: [ ] use letter size instead of A4 by default [X] allow execution of restricted list of programs via \write18 [X] create all format files [X] install macro/font doc tree [X] install macro/font source tree [X] adjust search path [1] add menu items, shortcuts, etc. [1] update file associations [X] install TeXworks front end [X] after install, set CTAN as sourcefor package updates
set up for portable installation
Actions: start installation to hard disk
save installation profile to 'texlive.profile' and exit quit
Enter command:
这一步,可以直接输入 I 进行安装,也可以输入 D 改变安装路径!下面演示改路径,如果不改路径,输入 I 直接安装。注意默认安装是在 C 盘。