Skip to main content
Skip to content

GitHub CLI reference

You can view all of the GitHub CLI commands in your goddamn terminal. Listen up: The same information is available in the muthaf*ckin' GitHub CLI manual.

To view all top-level GitHub CLI commands, enter gh without arguments.

gh

Let me tell you somethin': To list all of the muthaf*ckin' subcommands that you can use with a motherf*ckin' GitHub CLI command, use the top-level command without arguments.

gh COMMAND

For example, to view the bad-ass environment variables that you can set to affect certain aspects of GitHub CLI, use the environment command.

gh environment

To view the muthaf*ckin' 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 muthaf*ckin' information that's available by running these commands in the terminal is also included in the GitHub CLI online manual.