GH-EXTENSION-CREATE(1)
πΈ NAME πΈ
okay bestie, welcome to GH-EXTENSION-CREATE(1) from the GitHub CLI manual π this page is literally about one thing: create a new extension. slay.
β¨ SYNOPSIS β¨
gh extension create [<name>] [flags]
thatβs the whole vibe. short, iconic, to the point π
π OPTIONS π
--precompiled <string>β create a precompiled extension, no cap. the possible values are exactlygoandother. pick your fighter π«Ά
π EXIT CODES π
bestie, hereβs the vibe check on what the exit codes mean:
0: successful execution β¨1: error π2: command canceled π4: authentication required π
NOTE: specific commands may have additional exit codes. refer to the commandβs help for more information, fr fr.
π₯ EXAMPLE π₯
# Use interactively
$ gh extension create
# Create a script-based extension
$ gh extension create foobar
# Create a Go extension
$ gh extension create --precompiled=go foobar
# Create a non-Go precompiled extension
$ gh extension create --precompiled=other foobar
look at those examples go π every single one is doing its little main character thing.
π¦ SEE ALSO π¦
gh-extension(1)β also see this one, bestie π«Ά
mwah π this lil page is from GitHub CLI v2.102.0, dated Oct 2026 β iconic, timestamped, and officially done.
π¦ where this page comes from
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms