Requirements
- macOS (Intel or Apple Silicon).
- API Key from your CybeDefend account.
- Optional: Homebrew or direct binary installation.
Installation Methods
1. Homebrew (Recommended)
2. Direct Download
- Download:
cybedefend-darwin-amd64
(for Intel) orcybedefend-darwin-arm64
(for M1/M2) from Releases. - Make Executable:
- Move to /usr/local/bin:
- Verify:
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-*
.Scanning on macOS
- Navigate to Your Code
- Run a Scan
- Check Results
You can also store your API key in the CYBEDEFEND_API_KEY environment variable to avoid typing it each time.