Quick: How to get your full CPU info in macOS

Because I keep forgetting how to do this myself, too, here's an easy command that reports back your CPU's info:

sysctl -n machdep.cpu.brand_string

This will return a string looking something like this (taken from my Hackintosh):

Intel(R) Core(TM) i5-3570 CPU @ 3.40GHz

Or for a Macbook 12":

Intel(R) Core(TM) m7-6Y75 CPU @ 1.20GHz
Dave Jansen

Dave Jansen

South Korea