
From the Privacy tab, enable 'Terminal' in Accessibility. In case the Terminal does not prompt you to do so, you can also manually enable access by navigating to System Preferences> Security and Privacy. If you haven't approved this before, the command will fail automatically and the Terminal will prompt you with the option to open System Preferences and enable Terminal access. This command will ask you to allow Terminal to control system events on your Mac. To increase the screen brightness on a Mac once (similar to pressing the Increase Brightness button once), enter the following command in Terminal: osascript -e 'tell application "System Events"' -e 'key code 144' -e ' end tell' You can change the brightness for the Mac directly from the Terminal.Ģ. How to do this involves using some simple commands in Terminal.ġ. If you're a dedicated Terminal user, you can also choose to change the brightness of your Mac directly from the Terminal.

You can also change the screen brightness from System Preferences by navigating to the Display section and changing the brightness level. Depending on the type of Mac you use, the keys may vary but they are always present. All Macs have two dedicated Fn keys designated to reduce or increase screen brightness. Changing the screen brightness on a Mac is easy.
