Hello everyone,
We’re excited to announce the release of SonarQube CLI 1.7.0 that brings a new Quality Gate command for your terminal, more reliable git hook chaining, and a handful of important bug fixes.
A step towards fixing your quality gate from your terminal
You can now check your project’s Quality Gate status without leaving the terminal with the command sonar quality-gate status (or sonar qg status). You’ll know if the Quality Gate passed or the list of failing conditions listed)
Global git hooks now play nice with others
If you’ve installed sonar integrate git globally, it now chains to any existing local hooks instead of silently overriding them.
Bug Fixes
- Fixed MCP config generation on Windows (
sonarinstead ofsonar.exe) for cross-platform teams andSONAR_USER_HOMEis now correctly picked up in generated MCP configs. - Claude Code hooks are now anchored to
${CLAUDE_PROJECT_DIR}, fixing failures in worktrees. - Fixed a stdin listener leak that could keep hook processes alive after timeout.
- Binary installs no longer fail due to unexpected version-string formats.
- Shared binaries (like
sonar-secrets) are no longer wiped out when removing an unrelated integration feature.
Get Started
Update to the latest version to benefit from improved Vortex visibility and entitlement management:
sonar update
Find out more about this release here and enjoy using SonarQube directly from your terminal!
Stay tuned for more updates.
Farah