# GitHub言語のサポート

GitHub機能でサポートされるプログラミング言語の概要。

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

## サポートされている言語について

ほとんどの GitHub 機能は、コードが記述されている言語に関係なく機能します。 コードを検索したり、 GitHub知られている任意の言語に基づいて構文の強調表示を有効にしたりできます。 詳細については、「[GitHubのコード検索構文を理解する](/ja/search-github/github-code-search/understanding-github-code-search-syntax#language-qualifier) または [コードブロックの作成と強調表示](/ja/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#syntax-highlighting) を参照してください。

一部の GitHub 製品には、現在、プログラミング言語のサブセットでのみサポートされている機能があります。

GitHub 機能のコア言語には、C、C++、C#、Go、Java、JavaScript、Kotlin、PHP、Python、Ruby、Rust、Scala、TypeScript があります。 パッケージ マネージャーをサポートする機能について、現在サポートされているパッケージ マネージャーを、関連する言語と共に表にまとめています。

一部の機能は、追加の言語またはパッケージ マネージャーでサポートされています。 機能で別の言語がサポートされているかどうかを知りたい場合や、言語のサポートを要求する場合は、 [GitHub コミュニティのディスカッション](https://github.com/orgs/community/discussions)にアクセスしてください。

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

## GitHub.comおよびGitHub Enterprise Cloudでサポートされている主要な言語

|言語 | [GitHub Copilot](/ja/copilot/about-github-copilot/what-is-github-copilot) | [Code navigation](/ja/repositories/working-with-files/using-files/navigating-code-on-github) | [Code scanning](/ja/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning) | [Dependency graph, Dependabot alerts](/ja/code-security/supply-chain-security/understanding-your-software-supply-chain/dependency-graph-supported-package-ecosystems#supported-package-ecosystems) | [Dependabot version updates, Dependabot security updates](/ja/code-security/dependabot/dependabot-version-updates/about-dependabot-version-updates#supported-repositories-and-ecosystems) | [GitHub Actions](/ja/actions/automating-builds-and-tests/about-continuous-integration#supported-languages) | [GitHub Packages](/ja/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]

GitHub Copilotの言語サポートは、その言語のトレーニング データの量と多様性によって異なります。
依存関係グラフと Dependabot alerts に対する Gradle のサポートは、 依存関係送信 APIを使用して取得したデータのアップロードに限定されます。

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