We’re excited to announce the public release of SonarQube CLI, now officially in Open Beta!
This represents a significant advancement for how you interact with your SonarQube Cloud or Server instances, both within your automation pipelines and in your agent-based workflows. One install. One authentication step. Every SonarQube capability available through one tool.
What is SonarQube CLI?
SonarQube CLI is the unified, automation-native command-line tool for the SonarQube ecosystem, providing a single, coherent command structure for all your verification needs.
In the era of agentic development, this CLI will allow you to integrate SonarQube capabilities with every place modern development actually executes: AI agent environments, git hooks, platform automation scripts, and CI pipelines.
What’s available today?
Project Queries
Find projects quickly with free-text search and pagination:
sonar list projects
Issue explorer
Query SonarQube issues and filter them by severity, branch, or pull request
sonar list issues
Analyze a file for quality and security issues
Runs the SonarQube analysis on a file of a project using the SonarQube Agentic Analysis available for SonarQube Cloud projects
sonar verify
Secrets Scanning
Analyze files and piped inputs for leaked secrets and credentials:
sonar analyze secrets
Set up Claude Code integration
Seamlessly configures SonarQube for Claude Code and sets up hooks and skills that can be used by the agent.
sonar integrate claude
How to get started
Full documentation and installation instructions are available at: cli.sonarqube.com
We’d love to hear what you think. Whether you run into an issue, have a feature request, or just want to share how you’re using it, your feedback directly shapes what we build next. You can use this feedback form to let us know your first impressions.
Stay tuned for what’s coming next. ![]()
The Developing Experience squad