| description | Reference for the codeql pack install command |
|---|
The codeql pack install command is used to install library dependencies declared in a CodeQL pack.
The following is an example use of the command for installing dependencies in the current directory:
codeql pack installThe codeql pack install command can also target specific directories and control dependency resolution:
# Install dependencies for a specific pack directory
codeql pack install ./my-pack/
# Update dependencies to latest compatible versions
codeql pack install --update
# Force update to latest versions
codeql pack install --update --forceRun codeql pack install -h for more information.
Run codeql pack install -h -vv for much more information.
codeql pack ls- List available CodeQL packs
codeql query compile- Compile queries using installed dependenciescodeql query run- Run queries with installed library dependenciescodeql database analyze- Analyze databases with installed query packs