Is there a way to dump the list of installed package to be used as a basis for a new installation with tlmgr ? The same way pip works:
pip freeze > requirements.txt
then later, after a fresh git clone
pip install -r requirements.txt
Note: This is not a duplcate from How to print the list of packages installed on TeX Live to a file? because my question has two parts. One to list the requirements and one to install from that list, which is not answered by the former.
tlmgr list --only-installed > installed_texlive_packages.txt(taken from the linked Q&A) and later on the new installationtlmgr install `cat nstalled_texlive_packages.txt`should work. – Martin Scharrer Feb 13 '20 at 08:00xargs). The point of the question was to know if there was a proper solution. Apparently not, so that's what the accepted answer should be: You can't install from a file withtlmgr. – Luke Skywalker Feb 13 '20 at 08:08tlmgr list --only-installed --data name > installed_texlive_packages.txt– Martin Scharrer Apr 14 '21 at 14:29