Text of cli.github.com › manual › gh_config as Styx crawled it on Nov 18, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

GitHub CLI | Take GitHub to the command line

CLI manual gh config Display or change configuration settings for gh. Current respected settings: api_host : experimental: the hostname to use when making API requests for a GitHub host. Note: this is not a security boundary and requests to the canonical host will remain authenticated git_protocol : the protocol to use for git clone and push operations {https | ssh} (default https ) editor : the text editor program to use for authoring text prompt : toggle interactive prompting in the terminal {enabled | disabled} (default enabled ) prefer_editor_prompt : toggle preference for editor-based interactive prompting in the terminal {enabled | disabled} (default disabled ) expiring_credentials : toggle preference for expiring credentials that gh refreshes automatically when logging in {enabled | disabled} (default disabled ) pager : the terminal pager program to send standard output to http_unix_socket : the path to a Unix socket through which to make an HTTP connection browser : the web browser to use for opening URLs clipboard : whether to copy one-time OAuth device codes to the clipboard {enabled | disabled} (default enabled ) color_labels : whether to display labels using their RGB hex color codes in terminals that support truecolor {enabled | disabled} (default disabled ) accessible_colors : whether customizable, 4-bit accessible colors should be used {enabled | disabled} (default disabled ) accessible_prompter : whether an accessible prompter should be used {enabled | disabled} (default disabled ) spinner : whether to use an animated spinner as a progress indicator {enabled | disabled} (default enabled ) telemetry : whether telemetry is enabled, disabled, or logging {enabled | disabled | log} (default enabled ) Available commands gh config clear-cache gh config get gh config list gh config set See also gh