How to raise the brightness on a computer using terminal
Install Homebrew. (Bonus points for already having it installed)

Once that's all well and good, enter brew install brightness

Now, all you have to do is type in brightness &lt;level&gt; to change your laptop's brightness. Change level to your desired brightness on a scale of 0 to 1.

(example: enter brightness .27 for 27% brightness)



Some bonus tips:


entering brightness -lv will print some detailed info about your display, as well as your brightness level.
brightness -l will give you some information about your display, but considerably less than -lv. It still prints your current brightness.
The project is open-source on GitHub. Kudos to @nriley for making this project.