LaTeX on macOS
Texpile can install TeX Live for you. See From Texpile. To install a distribution yourself, read on.
Install MacTeX.
After the install finishes, restart Texpile by long pressing the Texpile icon in the Dock and then pressing Quit. Then start it again.