Skip to main content
CybeDefend’s CLI offers support for a wide range of Linux distributions. Install the CLI, provide your API key, and scan code right from your terminal or Docker-based environments.

Requirements


Installation Steps

  1. Download the Binary
    From Releases, pick cybedefend-linux-amd64 (64-bit) or cybedefend-linux-386 (32-bit).
  2. Make Executable
    chmod +x cybedefend-linux-amd64
    
  3. Move to PATH
    sudo mv cybedefend-linux-amd64 /usr/local/bin/cybedefend
    
  4. Test
    cybedefend version
    
If you’re running Alpine or a musl-based distro, ensure compatibility or build from source using go build.

Scanning Your Project

  1. Authenticate (one-time setup)
    cybedefend login --pat YOUR_PAT --region eu
    
  2. In Terminal
    cd ~/my-app
    cybedefend scan --dir . --project-id YOUR_PROJECT_ID
    
  3. Check Results
    cybedefend results --project-id YOUR_PROJECT_ID --all --output json
    

If you run scans inside Docker, mount your source directory as a volume and pass your PAT via the CYBEDEFEND_PAT environment variable.

This process easily integrates into Jenkins, GitLab CI, or GitHub Actions running on Linux hosts.