GH-CONFIG-LIST(1)

πŸ’… gh-config-list(1) β€” the GitHub CLI manual, bestie edition πŸŽ€

okay so real quick β€” this is the page for gh-config-list, straight out of the GitHub CLI manual. it's short, it's sweet, and it's literally just "show me my config keys and values." iconic behavior. let's go πŸ¦‹


✨ NAME ✨

gh-config-list β€” print a list of configuration keys and values. that's it. that's the whole job. and honestly? she ate. πŸ‘‘


🌸 SYNOPSIS 🌸

gh config list [flags]

run it, get your config keys and values dumped out. no cap. πŸ’–


πŸ”₯ OPTIONS πŸ”₯

  • -h, --host <string> β€” get per-host configuration. so if you want the deets for one specific host instead of everything, this is your girl. pass the host in as a string and she'll scope it for you ✨

🫢 ALIASES 🫢

  • gh config ls

yep β€” ls is the same thing. same energy, fewer letters. lowkey the move, ngl. πŸ’…


⭐ EXIT CODES ⭐

the vibe check at the end of the run. here's what the numbers mean:

  • 0 β€” Successful execution πŸŽ‰ everything went off without a hitch
  • 1 β€” Error 😭 something went wrong
  • 2 β€” Command canceled πŸ™ˆ you (or something) backed out
  • 4 β€” Authentication required πŸ” it needs you to log in first
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information. so like, don't come for me if you see a number that isn't on this list β€” check that command's own help page first, bestie 🫢

πŸ‘‘ SEE ALSO πŸ‘‘


that's the whole page, fr fr β€” no filler, just facts with flavor πŸ’œ

GitHub CLI v2.102.0 πŸ¦‹ Oct 2026 β€” mwah, catch you on the next manpage, bestie πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from