← 返回首页
docs/content/github-cli/github-cli/about-github-cli.md at main · github/docs · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

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

Provide feedback

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

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Latest commit

 

History

History
37 lines (27 loc) · 1.87 KB
 main
Top

File metadata and controls

  • Preview
  • Code
  • Blame
37 lines (27 loc) · 1.87 KB
title intro versions redirect_from contentType category
About GitHub CLI
{% data reusables.cli.cli-intro %}
fpt ghes ghec
*
*
*
/github/getting-started-with-github/github-cli
/github/getting-started-with-github/using-github/github-cli
/actions/guides/managing-github-actions-with-github-cli
/get-started/using-github/github-cli
concepts
Learn the basics

About {% data variables.product.prodname_cli %}

{% data reusables.cli.about-cli %}

{% data reusables.cli.cli-features %}

For more information about what you can do with {% data variables.product.prodname_cli %}, see the {% data variables.product.prodname_cli %} manual.

What's the difference between {% data variables.product.prodname_cli %} and Git on the command line?

The Git command line interface (git) allows you to work with a local or remote Git repository. The remote repository may be hosted on {% data variables.product.prodname_dotcom %} or it may be hosted by another service.

{% data variables.product.prodname_cli %} (gh) is specifically for working with {% data variables.product.prodname_dotcom %}. It allows you to use the command line to interact with {% data variables.product.prodname_dotcom %} in all sorts of ways, as illustrated by the previous list. If you tend to work on the command line, you may prefer using {% data variables.product.prodname_cli %} instead of using {% data variables.product.prodname_dotcom %} in a browser. {% data variables.product.prodname_cli %} also makes it easier for you to create scripts to automate {% data variables.product.prodname_dotcom %} operations.

Installing {% data variables.product.prodname_cli %}

{% data reusables.cli.cli-installation %}

Sharing feedback

If you have feedback or feature requests, you can open an issue in the cli/cli repository.

Footer

© 2026 GitHub, Inc.