pkg.soopen package index

cask / 排名 1663

使用 Homebrew Cask 安装 sonarqube-cli

查看 sonarqube-cli 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew Cask已验证 · 100%
brew install --cask sonarqube-cli

local Homebrew cask metadata

概览

软件包摘要

Code quality and security for terminal workflows, scripts, and AI agents

命令和别名

  • sonar

历史

项目历史与用法

SonarQube CLI is SonarSource's command-line interface for SonarQube Cloud and SonarQube Server workflows, combining project and issue queries, secrets scanning, local analysis, and AI-agent integrations under the `sonar` command.

项目历史

The project is published by SonarSource as a public GitHub repository and documented on the official SonarSource documentation site. Its README describes the CLI as a terminal-oriented interface for catching code quality and security issues before production, with integrations for Git hooks, Claude Code, GitHub Copilot, Codex, CI/CD, and custom automation.

The 1.0.0 release on June 10, 2026 marked the CLI becoming an official public release after beta. That milestone positioned the tool as a practical day-to-day terminal interface for SonarQube, centered on `sonar auth`, `sonar analyze`, `sonar list`, and `sonar integrate`.

采用历史

SonarSource distributes the CLI through official install scripts, GitHub releases, and Homebrew Cask packaging. Its packaging relevance comes from making SonarQube's quality, security, and secrets workflows available from local shells, automation scripts, and AI-agent setups rather than only from CI pipelines or web UI workflows.

使用方式

Typical use starts with installation, authentication against SonarQube Cloud or SonarQube Server, and commands such as `sonar auth status`, `sonar analyze`, `sonar list issues`, and `sonar integrate`. The official command reference groups commands into authentication, integrations, analysis, information, configuration, and maintenance.

For headless use, the official environment-variable documentation supports `SONARQUBE_CLI_TOKEN` with either `SONARQUBE_CLI_ORG` for SonarQube Cloud or `SONARQUBE_CLI_SERVER` for SonarQube Server. Saved interactive credentials are otherwise read from the system keychain.

为什么软件包爱好者会关心

For package-manager users, SonarQube CLI is notable because it packages a vendor-backed code-quality and security workflow as a single local executable named `sonar`. It also installs or coordinates add-on binaries, hooks, MCP configuration, and agent instructions, making its filesystem state and credentials behavior important to understand when packaging, sandboxing, or auditing it.

时间线

  • 2026-06-10: SonarQube CLI 1.0.0 became the official public release after beta.
  • 2026-06-22: SonarQube CLI 1.1.0 added Antigravity and Cursor integrations, dependency-risk scanning in git hooks, and security fixes.
  • 2026-07-06: GitHub listed 1.3.0.3493 as the latest release, matching the Homebrew Cask source version in the input.

Related projects

  • SonarQube CLI is distinct from SonarScanner CLI: SonarSource documents SonarQube CLI as a developer management and agent-integration interface, while SonarScanner CLI is the CI/CD code-analysis scanner invoked as `sonar-scanner`.
  • The CLI integrates with SonarQube Cloud, SonarQube Server, SonarQube MCP Server, and AI coding agents such as OpenAI Codex, Claude Code, GitHub Copilot, Cursor, and Antigravity.

安全态势

尚未找到受保护工具覆盖

没有找到 sonarqube-cli 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.sonar/sonarqube-cli/state.json

可执行文件

已安装的可执行文件

命令类型暴露范围备注
sonar二进制Homebrew cask 二进制sonarqube-cli-1.4.0.3748-macos-arm64.bin

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本1.4.0.3748
管理器更新时间2026-07-28
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键cask:sonarqube-cli
版本1.4.0.3748
软件包管理器Homebrew Cask
主页https://www.sonarsource.com/sonarqube/cli/
最后更新2026-07-28T21:16:08+02:00
Pulseupdated
SHA-2562a23cbbd04c97204f84561032f4cf23f04a057d98f39c278805893fae54854f6
下载 URLhttps://binaries.sonarsource.com/Distribution/sonarqube-cli/1.4.0.3748/macos/sonarqube-cli-1.4.0.3748-macos-arm64.bin
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

sonarqube-cli

nix profile install nixpkgs#sonarqube-cli
  • normalized package name match
  • 匹配方式:Sonarqube Cli
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/so/sonarqube-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Nix92%

sonar

nix profile install nixpkgs#sonar
  • installed executable or alias match
  • 匹配方式:Sonar
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/so/sonar/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Scoop92%

main/sonar

scoop install main/sonar
  • installed executable or alias match
  • 匹配方式:Sonar
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/sonar.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation