.NET SDK (8 or later) required for application to run and dotnet command should be available on your path variable.
You can either download from Microsoft download page or using the following Brew cask.
brew install dotnet-sdk --cask
brew tap photo-cli/homebrew-photo-clibrew install photo-clibrew uninstall photo-clibrew untap photo-cli/homebrew-photo-clibrew install --build-from-source ./photo-cli.rb