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.

See the following links to learn how to get set up and run CodeQL commands:

For further information about the CLI commands, technical concepts, and terminology, see the CodeQL glossary and CLI reference.