CC

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

4.7万 stars 品質 72 トレンド 71MIT

GitHubの公式コマンドラインツール

概要

ghはコマンドライン上のGitHubのことです。プルリクエストやイシュー、その他のGitHubの概念を、すでにgitやコードで作業しているターミナルに届けてくれます。 GitHub CLIは、macOS、Windows、Linuxに対応した GitHub.com、GitHub Enterprise Cloud、GitHub Enterprise Server 2.20+のユーザー向けにサポートされています。 取り付け方法については下記を、使用方法についてはマニュアルをご覧ください。 コーディングエージェントからGHを駆動するためのエージェントスキルが利用可能です。組み込みのghスキルコマンドでインストールまたは更新してください: もし何か違和感や機能不足を感じる場合は、貢献ページをご覧ください。そこにはフィードバックの共有方法、ツールのローカル構築、プロジェクトへのプルリクエストの提出方法が記載されています。

概要(AI 翻訳)

GitHub CLI、またはgh CLIはコマンドライン上のGitHubです。プルリクエストやイシュー、その他のGitHubの概念を、すでにgit]やあなたのコードで作業している場所の隣のターミナルに届けます。

[!重要] GitHub CLIのLinuxパッケージリポジトリにおけるPGP署名キーローテーションは2026年9月5日に施行されます。パッケージのインストールやアップデートに問題があるユーザーは、一般の発表で解決策を見つけることができます。

GitHub CLIは、GitHub.com、GitHub Enterprise Cloud、およびmacOS、Windows、Linuxに対応したGitHub Enterprise Serverのユーザー向けにサポートされています。

ドキュメント

取り付け方法については下記を、使用方法についてはマニュアルをご覧ください。

エージェントのスキル

コーディングエージェントからghを駆動するエージェントスキルが利用可能です。組み込みのgh skillコマンドでインストールまたは更新してください:

貢献

もし何か違和感や機能不足を感じる場合は、貢献ページをご覧ください。そこにはフィードバックの共有方法、ツールのローカル構築、プロジェクトへのプルリクエストの提出方法が記載されています。

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

GitHub CLI

GitHub CLI, or the gh CLI, is GitHub on the command line. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already working with git and your code.

[!IMPORTANT] GitHub CLI’s PGP signing key rotation for Linux package repositories is effective September 5, 2026; users experiencing package installation or update problems can find solutions in the public announcement.

GitHub CLI is supported for users on GitHub.com, GitHub Enterprise Cloud, and supported GitHub Enterprise Server versions, with support for macOS, Windows, and Linux.

Documentation

For installation options see below, for usage instructions see the manual.

Agent skills

An agent skill is available for driving gh from coding agents. Install or update it with the built-in gh skill command:

# Install the skill (user scope recommended)
gh skill install cli/cli gh --scope user

# Update the skill after a `gh` release
gh skill update gh

Contributing

If anything feels off or if you feel that some functionality is missing, please check out the contributing page. There you will find instructions for sharing your feedback, building the tool locally, and submitting pull requests to the project.

If you are a hubber and are interested in shipping new commands for the CLI, check out our doc on internal contributions

Installation

macOS

For additional macOS packages and installers, see community-supported docs

Linux & Unix

For additional Linux & Unix packages and installers, see community-supported docs

Windows

For additional Windows packages and installers, see community-supported docs

Build from source

See here on how to build GitHub CLI from source.

GitHub Codespaces

GitHub で README 全文を見る

推奨ツール

別のキーワードを試すか、フィルタを外してください。

インストール

npx skillfish add cli/cli
MCP 初心者?mcpskill.org のガイドから始めましょう →