# GitHub language support

An overview of the programming languages supported by GitHub features.

<!-- If you make changes to this article, also update any feature-level articles to reflect the same changes in language support. -->

## About supported languages

Most GitHub features work regardless of which languages your code is written in. You can search for code or enable syntax highlighting based on any language known to GitHub. For more information, see [Searching code](/en/enterprise-server@3.21/search-github/searching-on-github/searching-code#search-by-language) or [Creating and highlighting code blocks](/en/enterprise-server@3.21/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#syntax-highlighting).

Some GitHub products have features that are currently only supported for a subset of programming languages.

Core languages for GitHub features include C, C++, C#, Go, Java, JavaScript, Kotlin, PHP, Python, Ruby, Rust, Scala, and TypeScript. For features that support package managers, the currently supported package managers are included in the table with their relevant languages.

Some features are supported for additional languages or package managers. If you want to know whether another language is supported for a feature or to request support for a language, visit [GitHub Community discussions](https://github.com/orgs/community/discussions).

<!-- Source for the following tables lives in data/tables/supported-code-languages.yml -->

## Core languages supported in GitHub Enterprise Server

| Language   | [Code scanning](/en/enterprise-server@3.21/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning) | [Dependency graph, Dependabot alerts](/en/enterprise-server@3.21/code-security/supply-chain-security/understanding-your-software-supply-chain/dependency-graph-supported-package-ecosystems#supported-package-ecosystems) | [Dependabot version updates, Dependabot security updates](/en/enterprise-server@3.21/code-security/dependabot/dependabot-version-updates/about-dependabot-version-updates#supported-repositories-and-ecosystems) | [GitHub Actions](/en/enterprise-server@3.21/actions/automating-builds-and-tests/about-continuous-integration#supported-languages) | [GitHub Packages](/en/enterprise-server@3.21/packages/learn-github-packages/introduction-to-github-packages#supported-clients-and-formats) |
| :--------- | :-----------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------: |
| C          |                                                             ✓                                                             |                                                                                                             ✗                                                                                                             |                                                                                                         ✗                                                                                                        |                                                                 ✓                                                                 |                                                                      ✗                                                                     |
| C++        |                                                             ✓                                                             |                                                                                                             ✗                                                                                                             |                                                                                                         ✗                                                                                                        |                                                                 ✓                                                                 |                                                                      ✗                                                                     |
| C#         |                                                             ✓                                                             |                                                                                                        `dotnet` CLI                                                                                                       |                                                                                                   `dotnet` CLI                                                                                                   |                                                                 ✓                                                                 |                                                                `dotnet` CLI                                                                |
| Go         |                                                             ✓                                                             |                                                                                                         Go modules                                                                                                        |                                                                                                    Go modules                                                                                                    |                                                                 ✓                                                                 |                                                                      ✗                                                                     |
| Java       |                                                             ✓                                                             |                                                                                                       Maven, Gradle                                                                                                       |                                                                                                   Maven, Gradle                                                                                                  |                                                                 ✓                                                                 |                                                                Maven, Gradle                                                               |
| JavaScript |                                                             ✓                                                             |                                                                                                         npm, Yarn                                                                                                         |                                                                                                        npm                                                                                                       |                                                                 ✓                                                                 |                                                                     npm                                                                    |
| Kotlin     |                                                             ✓                                                             |                                                                                                       Maven, Gradle                                                                                                       |                                                                                                   Maven, Gradle                                                                                                  |                                                                 ✓                                                                 |                                                                Maven, Gradle                                                               |
| PHP        |                                                      third-party [^1]                                                     |                                                                                                          Composer                                                                                                         |                                                                                                     Composer                                                                                                     |                                                                 ✓                                                                 |                                                                      ✗                                                                     |
| Python     |                                                             ✓                                                             |                                                                                                            pip                                                                                                            |                                                                                                        pip                                                                                                       |                                                                 ✓                                                                 |                                                                      ✗                                                                     |
| Ruby       |                                                             ✓                                                             |                                                                                                          RubyGems                                                                                                         |                                                                                                     RubyGems                                                                                                     |                                                                 ✓                                                                 |                                                                  RubyGems                                                                  |
| Rust       |                                                             ✓                                                             |                                                                                                             ✓                                                                                                             |                                                                                                         ✓                                                                                                        |                                                                 ✓                                                                 |                                                                      ✗                                                                     |
| Scala      |                                                      third-party [^1]                                                     |                                                                                                           Maven                                                                                                           |                                                                                                   Maven, Gradle                                                                                                  |                                                                 ✓                                                                 |                                                                      ✗                                                                     |
| Swift      |                                                             ✓                                                             |                                                                                                             ✓                                                                                                             |                                                                                                         ✓                                                                                                        |                                                                 ✓                                                                 |                                                            Swift Package Manager                                                           |
| TypeScript |                                                             ✓                                                             |                                                                                                         npm, Yarn                                                                                                         |                                                                                                        npm                                                                                                       |                                                                 ✓                                                                 |                                                                     npm                                                                    |

> \[!NOTE]
>
> The support of Gradle for the dependency graph and Dependabot alerts is limited to the upload of data obtained using the dependency submission API.

[^1]: PHP and Scala are supported for code scanning by third-party actions, but not by CodeQL.