Install and Configure

Dependencies

lux-cli

In tutorial, you have found the core program is lx, a package manager written in rust. It is provided by lux-cli. The version must be >= 0.53.1 due to many bug fixes.

Without any package managers: you can download compiled programs from Internet. This is an example for GNU/Linux. For other OSes, search download link.

For cargo:

cargo install lux-cli

For ArchLinux:

paru -S lux-cli

For Nix:

nix-env -iA nixos.lux-cli

Configure

~/.config/lux/config.toml:

extra_servers = [
  "https://ustctug.github.io/texrocks/",
]
# lualatex uses lua 5.3.
lua_version = "5.3"
generated by LDoc 1.5.0 Last updated 2026-11-01 18:22:30