Know Mac Model Number using Terminal

system_profiler command-line utility on macOS can be used to get detailed information about your Mac's hardware and software configuration.

If you want to get the details about the Mac Model Number, make you can get it as follows.

% system_profiler SPHardwareDataType SPSoftwareDataType | grep "Model Number"

Model Number: MGN63HN/A

Know Mac Model Number using Terminal

Comments & Discussion

Facing issues? Have questions? Post them here! We're happy to help!