Skip to main content
This guide walks you through installing the CybeDefend CLI on macOS, ensuring you can quickly scan projects locally.

Requirements

  • macOS (Intel or Apple Silicon).
  • Personal Access Token (PAT) from your CybeDefend account.
  • Optional: Homebrew or direct binary installation.

Installation Methods

Check version:

2. Direct Download

  1. Download: cybedefend-darwin-amd64 (for Intel) or cybedefend-darwin-arm64 (for M1/M2) from Releases.
  2. Make Executable:
  3. Move to /usr/local/bin:
  4. 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

  1. Navigate to Your Code
  2. Authenticate (one-time setup)
  3. Run a Scan
  4. Check Results
You can also store your PAT in the CYBEDEFEND_PAT environment variable to avoid typing it each time: