Dear community,
We are thrilled to announce that SonarQube CLI is becoming an official public release and getting out of open beta.
SonarQube CLI 1.0 makes SonarQube a practical day-to-day tool in the terminal. It helps developers catch secrets, surface code quality and security issues on local work, and plug SonarQube into AI assistants, git hooks, and automation so feedback arrives earlier than CI.
The main commands are simple: sonar auth connects to SonarQube, sonar analyze runs local analysis workflows, sonar list queries projects and issues, and sonar integrate sets up agent and git integrations. That gives teams one CLI for interactive use, scripting, and AI-assisted development.
For more information, explore our interactive command browser, or dive into the detailed documentation.
This specific version introduces the sonar system status and sonar system reset commands, a fully interactive sonar integrate experience, automatic project discovery from Git remotes, and a wide range of polish and bug fixes across the board.
Latest release updates
SonarQube CLI 1.0 introduces two new commands:
sonar system status: providing a full overview of your CLI health including authentication, installed binaries, active integrations, MCP server state, and recommended actions.sonar system reset: It cleanly uninstalls all Sonar-managed integrations, hooks, binaries, and auth state, conducting a “factory-reset” and leaving your environment as it was before
We’ve also revamped the sonar integrate command: to make it interactive and present, when manually running the command, a per-feature opt-in prompt during installation, giving you fine-grained control over what gets installed and where (global vs. project scope).
We’ve also brought improvements to the existing capabilities such as automatically resolving the project key and organization from the Git remote and adding a new PostToolUse hook for our Codex integration `that runs Agentic Analysis inline after each file edit, mirroring the Claude Code hook experience.
Find out more about this release here and enjoy using SonarQube directly from your terminal!
Stay tuned for more updates.
Farah.