First add this tap to your homebrew using (you only need to do this once to initialize the tap):
brew tap KDAB/tap
Then install a formula using
brew install <formula>
If you're a developer trying to update a formula, go here.
brew help
, man brew
or check Homebrew's documentation.