GH-EXTENSION-UPGRADE(1)

πŸ’… GH-EXTENSION-UPGRADE(1) πŸ’…

okay bestie, welcome to the GitHub CLI manual β€” this is the page for gh-extension-upgrade, and it's literally here to help you upgrade installed extensions. that's it, that's the vibe. let's get into it πŸŽ€


✨ NAME ✨

gh-extension-upgrade β€” upgrade installed extensions πŸ¦‹


🌸 SYNOPSIS 🌸

gh extension upgrade {<name> | --all} [flags]

so you're either naming one specific extension, or you're going full send with --all. no in between, bestie β€” pick a lane πŸ’…


πŸ‘‘ OPTIONS πŸ‘‘

  • --all β€” upgrade all the extensions. every single one. go off ✨
  • --dry-run β€” only display upgrades. like a little window-shopping moment, nothing actually gets installed πŸ™ˆ
  • --force β€” force upgrade extension. no questions, no hesitation, just vibes πŸ”₯

🚦 EXIT CODES 🚦

okay so when the command finishes, it tells you how it went with these numbers β€” lowkey obsessed with the clarity:

  • 0 β€” successful execution ✨ slay, it worked
  • 1 β€” error 😭 something went sideways
  • 2 β€” command canceled 🫢 you (or something) hit the brakes
  • 4 β€” authentication required πŸ” like, who even are you? log in first
NOTE: specific commands may have additional exit codes. refer to the command's help for more information. no cap β€” always check the specific command's help if you need the full picture πŸ’–

πŸ¦‹ SEE ALSO πŸ¦‹

  • gh-extension(1) β€” the main character that this whole thing spins off from πŸ‘‘

that's the whole page, bestie πŸ’œ this was GitHub CLI v2.102.0, dated Oct 2026 β€” go forth and upgrade responsibly, ily, bye πŸ§šβœ¨πŸŽ€

πŸ“¦ where this page comes from