brew install 2js/ksp-mods/<formula>
Or brew tap 2js/ksp-mods
and then brew install <formula>
.
Or install via URL (which will not receive updates):
brew install https://raw.githubusercontent.com/2JS/homebrew-ksp-mods/master/Formula/<formula>.rb
brew help
, man brew
or check Homebrew's documentation.