Linux command
tlmgr-shell 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start an interactive tlmgr shell
tlmgr shell
Start a shell and run a command
tlmgr shell <<< "update --list"
Pipe multiple commands into the shell
printf "info [package]\nquit\n" | tlmgr shell
说明
tlmgr shell starts an interactive TeX Live Manager session where you can execute multiple tlmgr commands without restarting the program each time. This is faster for batch operations since the TeX Live package database is loaded only once. In general, all tlmgr actions that can be given on the command line work as commands in the shell (e.g., `update --list`, `install`, `info`, `search`). Type `quit` or `exit` (or send EOF) to leave the shell. The `protocol` command prints the current protocol version. The shell also supports machine-readable output for scripting by external tools.
FAQ
What is the tlmgr-shell command used for?
tlmgr shell starts an interactive TeX Live Manager session where you can execute multiple tlmgr commands without restarting the program each time. This is faster for batch operations since the TeX Live package database is loaded only once. In general, all tlmgr actions that can be given on the command line work as commands in the shell (e.g., `update --list`, `install`, `info`, `search`). Type `quit` or `exit` (or send EOF) to leave the shell. The `protocol` command prints the current protocol version. The shell also supports machine-readable output for scripting by external tools.
How do I run a basic tlmgr-shell example?
Run `tlmgr shell` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more tlmgr-shell examples?
This page includes 3 examples for tlmgr-shell, plus related commands for nearby Linux tasks.