Latex is a complex but very powerful typesetting tool, if you do not want to install 3G large MacTeX on MAC system, you can try Basictex.
Installation
The MacTeX installation package is very large and comes with many graphics applications. I prefer to use the command line, so I choose Basictex. Installing with Homebrew is simple and a single command is required.
brew cask install basictex
The installation is not ready for direct use, and you need to add texlive to the environment variable to find the relevant command.
export PATH=/usr/local/texlive/2017basic/bin/x86_64-darwin:$PATH
Then it is the installation of the associated package, and the update package.
sudo tlmgr update --self --repository http://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/tlnetsudo tlmgr install latexmk --repository http://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/tlnet
It is recommended to use Tsinghua's Ctan image when installing the package, otherwise the download speed will make you suspect life.
Use
Compile a resume PDF below and first find the template you like on the Web. For example, I downloaded the https://github.com/billryan/resume template. Go to the folder and execute the following command to compile it.
xelatex resume-zh_CN.tex
If the compilation fails, you are prompted to say that some packages are missing. Like what:
! LaTeX Error: File `nth.sty' not found.
Then go to the search for which package it is contained in, such as Nth.sty is included in the Gen-misc. Then tlmgr you can use the installation.
sudo tlmgr install gen-misc
https://www.ouyangsong.com/posts/57080/
MAC installation Basictex