CodeQL documentation


The CodeQL command-line interface (CLI) is used to create databases for security research. You can query CodeQL databases directly from the command line or using the Visual Studio Code extension.

  • Using the CodeQL CLI: Software developers and security researchers can secure their code using the CodeQL CLI.
  • CodeQL CLI reference: Learn more about the files you can use when running CodeQL processes and the results format and exit codes that CodeQL generates.
  • CodeQL CLI manual: Detailed information about all the commands available with the CodeQL CLI.