🍺 BREW Explorer

← all formulae

sonar-scanner

brew install sonar-scanner v8.1.0.6389 LGPL-3.0-or-later

Command-line code analyzer for SonarQube that runs static analysis in CI/CD pipelines and local projects.

Why you might care

SonarScanner is the generic launcher for SonarQube analysis when your build system (Maven, Gradle, etc.) doesn't have a built-in scanner. It's useful for integrating code quality checks into CI/CD workflows, detecting bugs, vulnerabilities, and code smells across multiple languages. Requires Java runtime but works standalone without a specific build tool.

Categories

Alternatives

SonarQube CLI Checkmarx Veracode CodeQL
4.7k
30-day installs · #629
14.2k
90-day · #670
56.2k
365-day · #628

Runtime dependencies

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "SonarQube CLI",
    "Checkmarx",
    "Veracode",
    "CodeQL"
  ],
  "build_dependencies": [],
  "categories": [
    "scanner",
    "sysadmin",
    "observability"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "openjdk"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Launcher to analyze a project with SonarQube",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:40:59+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "sonar-scanner",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://docs.sonarqube.org/latest/analysis/scan/sonarscanner/",
  "homepage_og_description": "The SonarScanner CLI is a code analysis scanner for CI/CD pipelines, used when no build-system-specific scanner is available. Distinct from the SonarQube CLI, a developer management interface.",
  "homepage_og_image": "https://docs.sonarsource.com/sonarqube-server/~gitbook/ogimage/FMo5W6UQeGqf0nEf7e9X",
  "homepage_title": "SonarScanner CLI | SonarQube Server | Sonar Documentation",
  "installs_30d": 4671,
  "installs_365d": 56182,
  "installs_90d": 14234,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "LGPL-3.0-or-later",
  "llm_generated_at": "2026-06-20T23:46:01+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "sonar-scanner",
  "oldnames": [],
  "one_liner": "Command-line code analyzer for SonarQube that runs static analysis in CI/CD pipelines and local projects.",
  "optional_dependencies": [],
  "rank_30d": 629,
  "rank_365d": 628,
  "rank_90d": 670,
  "raw_hash": "76c3578e8d117ab8",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/s/sonar-scanner.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "8.1.0.6389",
  "versioned_formulae": [],
  "why_use_this": "SonarScanner is the generic launcher for SonarQube analysis when your build system (Maven, Gradle, etc.) doesn\u0027t have a built-in scanner. It\u0027s useful for integrating code quality checks into CI/CD workflows, detecting bugs, vulnerabilities, and code smells across multiple languages. Requires Java runtime but works standalone without a specific build tool."
}