Adjust screen brightness from command line

Sep 28, 2009 - Leave a Comment

Terminal in OS X

Here’s a handy little command line utility that lets you set the screen brightness from the command line. It’s precompiled but the source code is available here if you are interested to see it.

Once you have the precompiled binary in your path, just type something between brightness 0 (min) and 1 (max) to set it. Handy for us who live in the Terminal!

Want to try it yourself? Download now (tar gz download link)

This fun little find is via

If you know of another way of adjusting the brightness from the command line, let us know in the comments.

Enjoy this tip? Subscribe to the OSXDaily newsletter to get more of our great Apple tips, tricks, and important news delivered to your inbox! Enter your email address below:

Related articles:

Posted by: Manish Patel in Command Line, Mac OS X

Leave a Reply


Shop on and help support OSXDaily!

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates

Tips & Tricks


iPhone / iPad



Shop on Amazon to help support this site