Text of cli.github.com › manual › gh_config_set 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 set Update configuration with a value for the given key gh config set <key> <value> [flags] Options -h , --host <string> Set per-host setting Examples $ gh config set editor vim $ gh config set editor "code --wait" $ gh config set git_protocol ssh --host github.com $ gh config set api_host api-gateway.example.com --host example.com $ gh config set prompt disabled See also gh config