tlmgr-init-usertree
Create a user TeX Live tree for tlmgr user mode
TLDR
SYNOPSIS
tlmgr [--usertree dir] init-usertree
DESCRIPTION
tlmgr init-usertree prepares a texmf tree for TeX Live user mode. It is a tlmgr action, not a separate binary.User mode lets someone without write access to the system TeX Live installation install and update packages in a tree of their own. The action creates `web2c` and `tlpkg/tlpobj` under the user tree, plus a minimal `tlpkg/texlive.tlpdb`. The default location is the directory named by TEXMFHOME. --usertree selects another directory.Initialization does not turn user mode on. Later package commands must pass --usermode every time. No configuration-file setting enables it. With a non-default tree, pass --usertree on those commands as well.The user tree's `texlive.tlpdb` lists only packages that tlmgr installed there, plus options from the virtual package `00texlive.installation`. Only relocatable packages can be installed in user mode. Packages that ship executables, and a few core packages, are not relocatable. Most of the TeX Live catalogue is relocatable.
PARAMETERS
init-usertree
Create the directories and the minimal package database a user tree needs--usertree dir
Use dir instead of the default user tree (TEXMFHOME)
CAVEATS
Run init-usertree before --usermode package actions. tlmgr warns and refuses actions that user mode does not support. platform is not supported. gui is not supported in current releases.Actions that do not need write permission behave as in normal mode. Those include check, help, list, search, show, and version.In user mode, installing a collection installs its dependent packages but not dependent collections. A package that ships map files rewrites `updmap.cfg` under the user tree's `web2c` directory and keeps a backup of the previous file.User-mode logs are written under TEXMFVAR `/web2c/` rather than the system variable tree.
SEE ALSO
tlmgr(1), tlmgr-install(1), tlmgr-update(1), tlmgr-remove(1), tlmgr-option(1), tex(1)
