Dump the TeX Live package database. More information: https://www.tug.org/texlive/tlmgr.html.
tlmgr dump-tlpdb --local
tlmgr dump-tlpdb --remote
tlmgr dump-tlpdb --local --json