Steps To Install brightness on Mac

Package Information:

Name: brightness
Use: Command-line display brightness control for OS X.
URL: https://github.com/nriley/brightness

Installation Steps:

  1. Open Terminal by pressing <command+space>. Type terminal and hit Enter key.
  2. Copy and run the command
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  3. Install brightness using brew
    brew install brightness

brightness is ready to use now!