How to Set Display Settings Using Command Line on macOS

command linedisplay

I would like to configure the 'Scaled' property of my Macbook Pro display using the command line. How could I do that?

Best Answer

I have an early 2013 MacBook Pro with Retina Display running OS X 10.8.5 and I've tested cscreen command line utility and it works to change resolution via the command line. You can download the cscreenIntel.dmg from the link provided. In a terminal use cscreen -h to output the internal help information. An example of use: cscreen -d 32 -x 1680 -y 1050

BTW As far as I know Intel based versions of OS X do not include a native executable and why I'm pointing you to a third-party utility.