Kpathsea
$ kpsewhich -all texmf.cnf
code:memo
/usr/local/texlive/2022/texmf.cnf
/usr/local/texlive/2022/texmf-dist/web2c/texmf.cnf
$ cat /usr/local/texlive/2022/texmf.cnf
code:memo
% (Public domain.)
% This texmf.cnf file should contain only your personal changes from the
% original texmf.cnf (for example, as chosen in the installer).
%
% That is, if you need to make changes to texmf.cnf, put your custom
% settings in this file, which is .../texlive/YYYY/texmf.cnf, rather than
% the distributed file (which is .../texlive/YYYY/texmf-dist/web2c/texmf.cnf).
% And include *only* your changed values, not a copy of the whole thing!
%
TEXMFHOME = ~/Library/texmf
TEXMFVAR = ~/Library/texlive/2022/texmf-var
TEXMFCONFIG = ~/Library/texlive/2022/texmf-config
TEXMFHOMEの確認
$ kpsewhich -var-value TEXMF
code:memo
{{}/Users/username/Library/texlive/2022/texmf-config,/Users/username/Library/texlive/2022/texmf-var,/Users/username/Library/texmf,!!/usr/local/texlive/texmf-local,!!/usr/local/texlive/2022/texmf-config,!!/usr/local/texlive/2022/texmf-var,!!/usr/local/texlive/2022/texmf-dist}
確認用
Q. Kpathsea
Q. texmf.cnf
参考
メモ