{"meta":{"title":"Using the advanced functionality of the CodeQL CLI","intro":"You can use the CodeQL CLI to locally develop, test and run CodeQL queries on software projects.","product":"Security and code quality","breadcrumbs":[{"href":"/en/code-security","title":"Security and code quality"},{"href":"/en/code-security/reference","title":"Reference"},{"href":"/en/code-security/reference/code-scanning","title":"Code scanning"},{"href":"/en/code-security/reference/code-scanning/codeql","title":"CodeQL"},{"href":"/en/code-security/reference/code-scanning/codeql/codeql-cli","title":"CodeQL CLI"}],"documentType":"subcategory"},"body":"# Using the advanced functionality of the CodeQL CLI\n\nYou can use the CodeQL CLI to locally develop, test and run CodeQL queries on software projects.\n\n## Links\n\n* [CodeQL CLI SARIF output](/en/code-security/reference/code-scanning/codeql/codeql-cli/sarif-output)\n\n  You can output SARIF from the CodeQL CLI and share static analysis results with other systems.\n\n* [CodeQL CLI CSV output](/en/code-security/reference/code-scanning/codeql/codeql-cli/csv-output)\n\n  Understand CSV results from the CodeQL CLI.\n\n* [CodeQL query packs reference](/en/code-security/reference/code-scanning/codeql/codeql-cli/codeql-query-packs)\n\n  Understand the compatibility, contents, and structure of CodeQL packs.\n\n* [Extractor options](/en/code-security/reference/code-scanning/codeql/codeql-cli/extractor-options)\n\n  Control how the CodeQL CLI builds databases for analysis with extractor options.\n\n* [Exit codes](/en/code-security/reference/code-scanning/codeql/codeql-cli/exit-codes)\n\n  Exit codes signify the status of a command after the CodeQL CLI runs it."}