How to detect CPU on Darwin?

sysctl -n machdep.cpu.brand_string

01