It's simple. You press : (without the apostrophes, of course) and type in the command, then you press enter. E.g., :set config.saving_style = 3 (this is a good thing), :quit (and the game is over). The standard line-editing facility is present (cursor keys and so), and the ex-mode input line has own history.