As far as I can tell, the quick start guide for Macs is out of date. Some of my students have had trouble installing rstan and brms on Big Sur on a Mac. The problem seems to be the toolchain instructions. The following post seems to explain how to install gfortran. The toolchain per se cannot be installed as instructed on the quick start guide for rstan etc.