Print all TeX Live settings in JSON format

tlmgr option

tlmgr option showall --json

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