| title | intro | versions | type | ||||||
|---|---|---|---|---|---|---|---|---|---|
GitHub CLI reference |
You can view all of the {% data variables.product.prodname_cli %} commands in your terminal. The same information is available in the {% data variables.product.prodname_cli %} manual. |
|
reference |
To view all top-level {% data variables.product.prodname_cli %} commands, enter gh without arguments.
ghTo list all of the subcommands that you can use with a {% data variables.product.prodname_cli %} command, use the top-level command without arguments.
gh COMMANDFor example, to view the environment variables that you can set to affect certain aspects of {% data variables.product.prodname_cli %}, use the environment command.
gh environmentTo view the configuration settings that you can set, use the config command.
gh configTo view help for a particular subcommand, use the --help flag.
gh COMMAND [SUBCOMMAND ...] --helpAll of the information that's available by running these commands in the terminal is also included in the {% data variables.product.prodname_cli %} online manual.