Frequently on a mac you need to get a custom app installed. If you can use the appstore or brew it’s great. However some smaller apps are not on these platforms. The mac has great security systems to protect you from this, but the assumption that everything is malicious can prevent the happy path from being easy.
Recently I resorted to using the following:
https://osxdaily.com/2019/02/13/fix-app-damaged-cant-be-opened-trash-error-mac/
This will after a checklist lead to the following command:xattr -cr /path/to/application.app
This removes the flag that indicates that the code has been downloaded.
Only do this if you trust the code being run (in my case it was an inhouse tool written by the company that I am contracting at).