Skip to main content

Use the CodeQL CLI to secure your code

Use CodeQL CLI to run CodeQL analyses locally.

Who can use this feature?

CodeQL is available for the following repository types:

Getting started with the CodeQL CLI

You can use the CodeQL CLI to locally develop, test and run CodeQL queries on software projects.

Using the advanced functionality of the CodeQL CLI

You can use the CodeQL CLI to locally develop, test and run CodeQL queries on software projects.

CodeQL CLI commands manual

Reference information for the commands available in the most recent release of CodeQL CLI.