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