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:
- Public repositories on GitHub.com, see GitHub CodeQL Terms and Conditions
- Organization-owned repositories on GitHub Enterprise Cloud with GitHub Advanced Security enabled
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.