How to get your Mac CPU Specs via the Terminal

To get full Mac CPU details directly from your Terminal’s command line, simply run this command:

sysctl -n machdep.cpu.brand_string

This will out the brand, the size, and the generation number of your Mac’s CPU.

the Mac CPU specs from Terminal