GH-PROJECT-DELETE(1)
โจ GH-PROJECT-DELETE(1) โจ
okay bestie, so this is the gh-project-delete page from the GitHub CLI manual, and it's literally the whole vibe for yeeting a project into the void ๐
๐ธ NAME ๐ธ
gh-project-delete โ delete a project, no cap. gone. poof. ๐ซถ
๐ฆ SYNOPSIS ๐ฆ
gh project delete [<number>] [flags]
that's it, that's the whole invocation. the <number> is optional and it's the project number you're about to send to the shadow realm ๐ญ
๐ OPTIONS ๐
--format <string>โ output format, and the only value on the menu is{json}. that's the format. that's the whole format list. icon status honestly โญ-q,--jq <expression>โ filter that JSON output using a jq expression. you get your json, then you curate your json. main character behavior โจ--owner <string>โ the login of the owner. use"@me"for the current user. yes, literally"@me", it's giving self-care ๐-t,--template <string>โ format JSON output using a Go template; see"gh help formatting"for the details. fancy formatting era ๐
๐ EXIT CODES ๐
so when the command finishes, it tells you how it went with one of these numbers. pay attention, bestie, this is the vibe check at the end ๐ฅ
0: successful execution โ slay, it worked ๐1: error โ something went sideways ๐2: command canceled โ nope, not doing it, we changed our minds4: authentication required โ you gotta log in first, babe
NOTE: specific commands may have additional exit codes. refer to the command's help for more information. fr fr, always check the individual command's help ๐
๐ EXAMPLE ๐
# Delete the current user's project "1"
$ gh project delete 1 --owner "@me"
see how it's done? project number, owner set to "@me", and it's gone. chef's kiss ๐ง
๐ฎ SEE ALSO ๐ฎ
gh-project(1)โ the parent page, the source of truth, the origin story ๐
and that's the wrap, bestie ๐ซ this page came from the GitHub CLI, version v2.102.0, dated Oct 2026 โ mwah, bye ๐๐
๐ฆ
๐ฆ 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