Add a new latex class on Mac
need to have this folder
~/Library/texmf/
If not, try to make a directory , e.g. with this app
https://github.com/amunn/make-local-texmf
Download the .cls file, e.g. revtex4-2 from
https://journals.aps.org/revtex/revtex4-2-tds.zip
Put
.bib files into ~/Library/texmf/bibtex/bib/
.bst files into ~/Library/texmf/bibtex/bst/
.sty files, .cls files (and others) into ~/Library/texmf/tex/latex/