texlive-runtime-installer

Detects existing TeX Live installations and installs a managed full TeX Live runtime.

Updated Jul 31, 2026
One-click install
npx skills add https://github.com/AarnavBaddam/skills --skill texlive-runtime-installer-aarnavbaddam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: texlive-runtime-installer
Source: https://github.com/AarnavBaddam/skills/tree/main/texlive-runtime-installer
Command: npx skills add https://github.com/AarnavBaddam/skills --skill texlive-runtime-installer-aarnavbaddam

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Setting up LaTeX support often risks conflicting with existing TeX Live or MacTeX installations, or requires invasive system changes with sudo. This Skill first detects any existing TeX installation and only installs a separate, Codex-managed TeX Live runtime when none is found or when explicitly requested. ## Core Features & Use Cases - Detect-Only Default: Runs a detection pass that exits without changes when an existing TeX Live or MacTeX installation is found. - Managed Full Install: Installs a complete TeX Live runtime under ~/.cache/codex-runtimes/codex-texlive/full without sudo, without touching /Library/TeX or /usr/local/texlive, and without modifying shell startup files. - Force Mode: Supports a --force-managed flag for cases where an existing TeX installation is partial or broken but the user still wants a separate managed runtime. - Use Case: A user needs LaTeX compilation support for document generation. Run the detection script first; if no TeX is found and the user confirms, install the managed runtime without affecting the system. ## Quick Start Ask the assistant to check whether TeX Live is already installed on this machine and, only after your confirmation, install the managed full TeX Live runtime.

Frequently Asked Questions about texlive-runtime-installer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install TeX Live without affecting my existing MacTeX installation?

Run the detection script first, which exits without changes if TeX Live or MacTeX is found. The managed install places the runtime under ~/.cache/codex-runtimes/codex-texlive/full and never writes to /Library/TeX or /usr/local/texlive.

How to check if TeX Live is already installed on my system?

Run python3 scripts/install_texlive.py with no flags. It performs a detect-only pass and exits without installing anything when an existing TeX Live or MacTeX installation is detected.

Does the TeX Live installer require sudo or admin privileges?

No. The managed installer does not use sudo, does not write to system directories like /Library/TeX or /usr/local/texlive, and does not modify shell startup files. Everything stays in the user cache directory.

What should I do if my existing TeX installation is broken or partial?

Use force mode with python3 scripts/install_texlive.py --install-managed-full --force-managed to install a separate managed runtime alongside the broken installation. Only use this flag when you explicitly want a parallel managed runtime.

Why does the installer ask for confirmation before installing?

The full install downloads and runs the upstream TeX Live installer, which is large and can take a long time. Confirmation ensures the user explicitly approves the download and the lengthy installation process before it begins.