Create a personal access token with at least package read permissions, and export in your shell with the HOMEBREW_GITHUB_API_TOKEN
# install
export HOMEBREW_GITHUB_API_TOKEN=ghp_<token>
brew tap MontuGroup/formulae
brew install platform-cli
# or
# update
export HOMEBREW_GITHUB_API_TOKEN=ghp_<token>
brew update
brew upgrade platform-cli