See Port Buddy's Installation Guide.
brew install amak-tech/tap/portbuddy
Or brew tap amak-tech/tap and then brew install portbuddy.
Or, in a brew bundle Brewfile:
tap "amak-tech/tap"
brew "portbuddy"brew help, man brew or check Homebrew's documentation.