Yes, you can notarize command tools. Doing so ensures independent approval that the code isn’t malicious, and disapproval, letting macOS block code with revoked certificates or notarization.
notarytool
WWDC this year again featured a session on notarization. Here’s a summary of its status in Big Sur, and details of what’s next.
