macOS
brew install --cask codeqllocal Homebrew cask metadata
cask
Semantic code analysis engine. Version 2.26.1 via Homebrew Cask; verified 2026-07-16. Also installable with nix: nix profile install nixpkgs#codeql.
install
brew install --cask codeqllocal Homebrew cask metadata
overview
Semantic code analysis engine
history
CodeQL is GitHub's semantic code analysis engine and query language, packaged for command-line use through the CodeQL CLI. It is used for code scanning, security research, custom queries, and CI analysis.
CodeQL originated at Semmle, whose semantic analysis technology was acquired by GitHub in 2019. GitHub subsequently made CodeQL central to GitHub Advanced Security and to code scanning workflows, with the CLI distributed from GitHub-controlled release repositories.
Adoption moved from security research and Semmle users into GitHub's hosted code scanning product, GitHub Actions workflows, and enterprise security programs. The CLI remains important for users who need local analysis, custom queries, alternative CI systems, or prebuilt CodeQL databases.
The CLI creates CodeQL databases, runs queries, analyzes code, produces SARIF results, manages CodeQL packs, and uploads results to GitHub code scanning. GitHub recommends the CodeQL bundle because it includes the CLI plus compatible queries and libraries.
Package nerds care because the Homebrew cask wraps a large, versioned security-analysis toolchain that is otherwise commonly installed from GitHub release bundles. Its formula/cask packaging makes CodeQL feel like a normal terminal tool despite its bundled queries, extractors, and platform-specific binaries.
security posture
No matching local secret-handling manifest was found for codeql. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
codeql | binary | Homebrew cask binary | codeql |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/github/codeql-cli-binaries
install metadata
| Package key | cask:codeql |
|---|---|
| Version | 2.26.1 |
| Package manager | Homebrew Cask |
| Package manager page | https://formulae.brew.sh/cask/codeql |
| Homepage | https://codeql.github.com/ |
| Repository | https://github.com/github/codeql-cli-binaries |
| Upstream docs | https://codeql.github.com/ |
| Source archive | https://github.com/github/codeql-cli-binaries/releases/download/v2.26.1/codeql-osx64.zip |
| Last updated | 2026-07-16T10:20:31Z |
| Pulse | updated |
| SHA-256 | 61c5d2b53e1cd8ee2bd57c31a55c57af53ffaafdf19c46d2341704c6cacf35d3 |
| Download URL | https://github.com/github/codeql-cli-binaries/releases/download/v2.26.1/codeql-osx64.zip |
| Bottle | not recorded |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew cask API |
|---|---|
| Tap | homebrew/cask |
| Full Token | codeql |
| Names |
|
| Artifacts | |
| Deprecated | no |
| Disabled | no |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
codeql
nix profile install nixpkgs#codeqlmain/codeql
scoop install main/codeqlsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.