Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
forked fromcli/cli

GitHub’s official command line tool

License

NotificationsYou must be signed in to change notification settings

Ice-YcY/gh-cli

 
 

Repository files navigation

gh 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 withgit and your code.

screenshot of gh pr status

GitHub CLI is available for repositories hosted on GitHub.com and GitHub Enterprise Server 2.20+, and to install on macOS, Windows, and Linux.

Documentation

See the manual for setup and usage instructions.

Contributing

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

Installation

macOS

gh is available viaHomebrew,MacPorts,Conda,Spack, and as a downloadable binary from thereleases page.

Homebrew

Install:Upgrade:
brew install ghbrew upgrade gh

MacPorts

Install:Upgrade:
sudo port install ghsudo port selfupdate && sudo port upgrade gh

Conda

Install:Upgrade:
conda install gh --channel conda-forgeconda update gh --channel conda-forge

Additional Conda installation options available on thegh-feedstock page.

Spack

Install:Upgrade:
spack install ghspack uninstall gh && spack install gh

Linux & BSD

gh is available viaHomebrew,Conda,Spack, and as downloadable binaries from thereleases page.

For instructions on specific distributions and package managers, seeLinux & BSD installation.

Windows

gh is available viaWinGet,scoop,Chocolatey,Conda, and as downloadable MSI.

WinGet

Install:Upgrade:
winget install --id GitHub.cliwinget upgrade --id GitHub.cli

scoop

Install:Upgrade:
scoop install ghscoop update gh

Chocolatey

Install:Upgrade:
choco install ghchoco upgrade gh

Signed MSI

MSI installers are available for download on thereleases page.

GitHub Actions

GitHub CLI comes pre-installed in allGitHub-Hosted Runners.

Other platforms

Download packaged binaries from thereleases page.

Build from source

See here on how tobuild GitHub CLI from source.

Comparison with hub

For many years,hub was the unofficial GitHub CLI tool.gh is a new project that helps us explorewhat an official GitHub CLI tool can look like with a fundamentally different design. While bothtools bring GitHub to the terminal,hub behaves as a proxy togit, andgh is a standalonetool. Check out ourmore detailed explanation to learn more.

About

GitHub’s official command line tool

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go99.8%
  • Other0.2%

[8]ページ先頭

©2009-2025 Movatter.jp