macOS
brew install --cask sonarqube-clilocal Homebrew cask metadata
cask / 順位 1663
sonarqube-cli のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install --cask sonarqube-clilocal Homebrew cask metadata
概要
Code quality and security for terminal workflows, scripts, and AI agents
履歴
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.
セキュリティ状態
sonarqube-cli に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
local files
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.
Config paths the tool may read or write during local use.
~/.sonar/sonarqube-cli/state.json実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
sonar | バイナリ | Homebrew cask バイナリ | sonarqube-cli-1.4.0.3748-macos-arm64.bin |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | cask:sonarqube-cli |
|---|---|
| バージョン | 1.4.0.3748 |
| パッケージマネージャ | Homebrew Cask |
| ホームページ | https://www.sonarsource.com/sonarqube/cli/ |
| 最終更新 | 2026-07-28T21:16:08+02:00 |
| Pulse | updated |
| SHA-256 | 2a23cbbd04c97204f84561032f4cf23f04a057d98f39c278805893fae54854f6 |
| ダウンロード URL | https://binaries.sonarsource.com/Distribution/sonarqube-cli/1.4.0.3748/macos/sonarqube-cli-1.4.0.3748-macos-arm64.bin |
| Bottle | 未記録 |
| サービス | 宣言なし |
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
sonarqube-cli
nix profile install nixpkgs#sonarqube-clisonar
nix profile install nixpkgs#sonarmain/sonar
scoop install main/sonarソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.