# Homepage

{% hint style="warning" %}
This product is in Beta stage and breaking changes may be released. The documentation here matches the release version listed in the table of contents.&#x20;
{% endhint %}

Purpose-built for the era of agentic development, SonarQube CLI scans every code snippet an AI agent produces in real time. From a code security standpoint it automatically intercepts session tokens, API keys, and other sensitive credentials before they reach an LLM provider.

{% hint style="info" %}
This page documents the *SonarQube CLI*: a developer interface for managing projects, viewing issues, and scanning for secrets.

It is a distinct product from the *SonarScanner CLI*, a code analysis scanner for CI/CD pipelines invoked with the `sonar-scanner` command, available for [SonarQube Server](https://docs.sonarsource.com/sonarqube-server/analyzing-source-code/scanners/sonarscanner/) and [SonarQube Cloud](https://docs.sonarsource.com/sonarqube-cloud/advanced-setup/ci-based-analysis/sonarscanner-cli/).
{% endhint %}

As a software engineer, you can use the SonarQube CLI as your unified command-line interface to interact with the Sonar ecosystem, including SonarQube Server and SonarQube Cloud.

The SonarQube CLI provides you with essential commands to streamline your workflow:

* Integrate with AI tools like Claude Code and others.
* Analyze your code for common pitfalls, including [secrets-scanning](https://docs.sonarsource.com/sonarqube-cli/using/secrets-scanning "mention").
* View and manage the list of reported issues and projects.

## Setup your SonarQube CLI

Check out our [Quickstart guide](https://docs.sonarsource.com/sonarqube-cli/quickstart-guide) to get started. You'll find the installation commands and a list of guides designed around your AI agent.

## Command list

For a full list of available commands, see [commands](https://docs.sonarsource.com/sonarqube-cli/using/commands "mention") page.

Do you need help with flags and usage? See the [Help](https://docs.sonarsource.com/sonarqube-cli/help) page.

## Secrets scanning

Prevent secrets from leaking during AI coding sessions and before Git commits or pushes, and scan files for hardcoded secrets.

Check out the [secrets-scanning](https://docs.sonarsource.com/sonarqube-cli/using/secrets-scanning "mention") page for details.<br>
