Skip to main content

This version of GitHub Enterprise was discontinued on 2022-06-03. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

GitHub language support

An overview of the programming languages supported by GitHub features.

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" or "Creating and highlighting code blocks."

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

Core languages supported by GitHub features

Core languages for GitHub features include C, C++, C#, Go, Java, JavaScript, PHP, Python, Ruby, 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 the Community Forum.

LanguageCode scanningDependency graph, Dependabot alertsGitHub ActionsGitHub Packages
C
C++
C#
dotnet CLI

dotnet CLI
Go
Java
Maven

Maven, Gradle
JavaScript
npm, Yarn

npm
PHP1
Composer
Python
pip
Ruby1
RubyGems

RubyGems
Scala1
Maven, Gradle
TypeScript
npm, Yarn

npm

[1] These languages are supported for code scanning by third-party actions.