Make a backup of all packages

tlmgr backup

  • Manage backups of TeX Live packages.
    The default backup directory is specified by the `backupdir` option, and can be obtained with `tlmgr option`.
    More information: <https://www.tug.org/texlive/tlmgr.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

tlmgr backup --all

click the source code to copy install tlmgr backup on any operating system with command-not-found.com