I have been using Mac exclusively, and have been installing openEMR on my macs for the last 2 years.
I have used many ways:
Initial: XAMPP (worse option, outdated, the way to go 15 years ago)
Second: Direct on Mac UNIX using terminal. Downloaded MySQL from website and installed package. Installed php and apache via brew package installer. (much better option)
Third: Docker !!! Went to Docker website to install Docker Desktop Mac. Looked at OpenEMR docker video tutorials. Copied openemr command-line utilities. Used terminal for docker commands. (By far and away, the best, easiest, and most versatile option)
If using Mac, before “openemr-cmd up”, you need to use command:
chmod -R 755 openemr/.git
Please see my thread: