Install and run the CybeDefend CLI on macOS for secure local code scanning.
This guide walks you through installing the CybeDefend CLI on macOS, ensuring you can quickly scan projects locally.
Check version:
cybedefend-darwin-amd64
(for Intel) or cybedefend-darwin-arm64
(for M1/M2) from Releases.If you encounter a macOS Gatekeeper prompt, right-click the binary in Finder → Open, or remove quarantine attributes with xattr -d com.apple.quarantine cybedefend-darwin-*
.
You can also store your API key in the CYBEDEFEND_API_KEY environment variable to avoid typing it each time.