If you’ve ever gotten that shitty This application is damaged and cannot be run error on MacOS when trying to run an application or binary you downloaded from the internet, it means that Apple is preventing that app from running because it’s not signed by their development software.

The fix is to run this:

1
xattr -d com.apple.quarantine /Applications/YourAppHere.app

I don’t think the command even returns anything whether successful or not, but it should stop preventing your app from running at that point. The garbage part of it is that MacOS will tag it yet again if it’s updated, which means you’re going to use this command a lot.

God. Dammit.