SOLFIND
Web Lens
Portal home

GitHub CLI reference - GitHub Docs

https://docs.github.com/en/github-cli/github-cli/github-cli-reference • 66 KB fetched
Open original page


GitHub CLI reference - GitHub Docs Skip to main content GitHub Docs Version: Free, Pro, & Team Search or ask Copilot Search or ask Copilot Select language: current language is English Search or ask Copilot Search or ask Copilot Open menu Collapse sidebar Expand sidebar Scroll breadcrumbs left * Home * GitHub CLI * GitHub CLI * GitHub CLI reference Scroll breadcrumbs right GitHub CLI * * * GitHub CLI * About GitHub CLI * Quickstart * Attaching files with GitHub CLI * Accounts across platforms * Creating GitHub CLI extensions * Using GitHub CLI extensions * GitHub CLI telemetry * GitHub CLI reference GitHub CLI reference You can view all of the GitHub CLI commands in your terminal. The same information is available in the GitHub CLI manual. Copy as Markdown To view all top-level GitHub CLI commands, enter gh without arguments. gh To list all of the subcommands that you can use with a GitHub CLI command, use the top-level command without arguments. gh COMMAND For example, to view the environment variables that you can set to affect certain aspects of GitHub CLI, use the environment command. gh environment To view the configuration settings that you can set, use the config command. gh config To view help for a particular subcommand, use the --help flag. gh COMMAND [SUBCOMMAND ...] --help All of the information that's available by running these commands in the terminal is also included in the GitHub CLI online manual . Help and support Did you find what you needed? Yes No Privacy policy Help us make these docs great! All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request. Make a contribution Learn how to contribute Still need help? Ask the GitHub community Contact support Legal * © 2026 GitHub, Inc. * Terms * Privacy * Status * Pricing * Expert services * Blog

Links found on this page

  1. Skip to main content [direct]
  2. GitHub Docs [direct]
  3. GitHub CLI [direct]
  4. GitHub CLI [direct]
  5. About GitHub CLI [direct]
  6. Quickstart [direct]
  7. Attaching files with GitHub CLI [direct]
  8. Accounts across platforms [direct]
  9. Creating GitHub CLI extensions [direct]
  10. Using GitHub CLI extensions [direct]
  11. GitHub CLI telemetry [direct]
  12. GitHub CLI online manual [direct]
  13. Privacy policy [direct]
  14. Make a contribution [direct]
  15. Learn how to contribute [direct]
  16. Ask the GitHub community [direct]
  17. Contact support [direct]
  18. Terms [direct]
  19. Status [direct]
  20. Pricing [direct]
  21. Expert services [direct]
  22. Blog [direct]