I want to get model number/family number.


I have found the above link that have listed all the Model number.

That information does not exist in the SystemProfiler.

  • If it's okay for you to not get the Model number directly (i.e. you get the Name/identifier and still have to reverse look up the Model number), then there's already a question with good answers here
    – Asmus
    Commented Mar 2, 2015 at 9:55

1 Answer 1


Click the apple icon in the top left "About This Mac", admittedly not Terminal. Do you have any reason to do this in Terminal?

  • 1
    Yes I am doing the mac application. I want to get it programatically
    – user116629
    Commented Mar 2, 2015 at 9:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .