SonarQube CLI v1.7.0 - Quality Gate command and improved git integration

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.

:sparkles: 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)

:link: 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: Bug Fixes

  • Fixed MCP config generation on Windows (sonar instead of sonar.exe) for cross-platform teams and SONAR_USER_HOME is 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

1 Like