SonarQube CLI 1.9 — Global agents integrations and repo multi project import

Dear community,

We’re excited to announce SonarQube CLI v1.9.0, a release that makes sonar integrate work globally across all your projects, introduces sonar import in beta, and delivers quality-of-life improvements across authentication, output formatting, and CI onboarding — plus several bug fixes and security hardening items.

What’s new

Integrations now configure globally

sonar integrate has been redesigned to configure integrations once, globally, instead of per project. This unifies configuration, cuts down on duplication, and simplifies management across multiple repos.

  • On first run of v1.9.0, an automatic migration cleans up existing project-level integration artifacts and moves them to the global configuration.
  • If your project key can’t be auto-discovered during migration, run sonar link <project-key> to connect it to SonarQube manually.

Import repositories with sonar import (Open Beta)

The new sonar import command lets you import repositories from a connected DevOps platform straight into SonarQube.

Smaller improvements

  • sonar update --status is now a proper sonar update status subcommand (consistent with sonar auth status / sonar system status), and supports --format for JSON output.
  • sonar auth login --with-token lets you pass a token directly for non-interactive authentication flows.
  • All data commands now accept a uniform --format flag for JSON output.
  • sonar admin onboard-ci gitlab accepts a --job-template <file> flag so you can inject your own YAML job definition instead of the default template.
  • sonar auth status now clearly flags when your token has no membership for the configured organization, instead of silently showing Connected while features like Vortex stay unavailable.

You can find more information about this release here.

Run the sonar update command to get the latest SonarQube CLI version and enjoy these new capabilities!

Happy coding,
Farah

Hi sonar team,

I work for a large enterprise where Sonarqube is mandated on all pull request pipelines through enterprise controls. We also have very tight security controls over where apps may be installed. We are allowed to install from proxied choco on windows and brew on Mac. We are not allowed to use power shell to install from scripts and CDNs so the install for the cli gets blocked on Windows.

We would like to incorporate the cli into some local copilot skills. However, my team is half Mac and half Windows so it is currently not possible for all. Moving context manually into agentic workflows is menial and tedious. So my ask; please is there chance of publishing the windows version of sonarqube-cli to chocolatey so it can be used more easily in locked down enterprise environments?

Thanks,

Tim