MonitorControl: Control external monitor brightness and volume on your Mac
For a command-line option, ddcctl (<a href="https://github.com/kfix/ddcctl" rel="nofollow">https://github.com/kfix/ddcctl</a>) works nicely in my experience, with a Dell Ultrasharp connected via USB-C.<p>I have a script hacked together to fetch the internal display's brightness once a minute and apply it, with a scaling factor, to the external, so that they're both effectively controlled by the laptop's ambient light sensor. It's really nice for working in a room with lots of windows.<p>A more batteries-included alternative, which appears to also provide brightness sync, is Lunar (<a href="https://lunar.fyi/" rel="nofollow">https://lunar.fyi/</a>). I haven't had a chance to try it, but the Github repo makes it look pretty solid.