Check page 10 in this manual.
http://www.abusemark.com/downloads/naze32_rev3.pdf
If you already know how to get to the terminal then:
WARNING
Any changes to settings in cli, in particular related to motor output (throttle
values, etc) are accepted REALTIME and may result in motors starting...