Skip to content

Add Homebrew support for CodeQL on Linux #21891

@ThePlenkov

Description

@ThePlenkov

Description of the issue

CodeQL currently supports installation via Homebrew on macOS, but this functionality is not available on Linux. This creates an inconsistency for developers using CodeQL across different operating systems.

Problem Summary:
Linux users cannot install CodeQL using brew install codeql, which is a convenient and standard way to install packages on systems with Homebrew support. While CodeQL is available for Linux through other installation methods, adding Homebrew support would significantly improve accessibility and ease of management for Linux developers.

Expected Behavior:
Users on Linux systems with Homebrew installed should be able to run brew install codeql and have CodeQL installed and configured properly, just like macOS users currently can.

Proposed Solution:

  • Extend the existing Homebrew formula to support Linux distributions
  • Ensure proper dependencies are resolved for Linux systems
  • Document the Linux installation process via Homebrew
  • Test across major Linux distributions (Ubuntu, Debian, Fedora, etc.)

Additional Context:
This enhancement would align with GitHub's push for cross-platform tooling and improve the developer experience for Linux users working with CodeQL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions