GH-PROJECT(1)
π gh-project β your GitHub Projects bestie π
So this is the gh-project page from the GitHub CLI manual (yes, that manual, the GitHub CLI one π
). Sit down, grab a strawberry drink π, and let's get into it.
β¨ NAME β¨
gh-project β work with GitHub Projects. That's the whole vibe.
πΈ SYNOPSIS πΈ
gh project <command> [flags]
π¦ DESCRIPTION π¦
Work with GitHub Projects. Iconic. No notes. π
Okay so the important bit: the minimum required scope for your token is project. Literally the floor. You can verify your token scope by running gh auth status, and you add the project scope by running gh auth refresh -s project. Do that. Don't skip it. π
π AVAILABLE COMMANDS π
Like, there are so many of them. Full roster, no cuts:
gh-project-close(1)β close a projectgh-project-copy(1)β copy a projectgh-project-create(1)β create a projectgh-project-delete(1)β delete a projectgh-project-edit(1)β edit a projectgh-project-field-create(1)β create a field in a projectgh-project-field-delete(1)β delete a field in a projectgh-project-field-list(1)β list the fields in a projectgh-project-item-add(1)β add a pull request or an issue to a projectgh-project-item-archive(1)β archive an item in a projectgh-project-item-create(1)β create a draft issue item in a projectgh-project-item-delete(1)β delete an item from a project by IDgh-project-item-edit(1)β edit an item in a projectgh-project-item-list(1)β list the items in a projectgh-project-link(1)β link a project to a repository or a teamgh-project-list(1)β list the projects for an ownergh-project-mark-template(1)β mark a project as a templategh-project-unlink(1)β unlink a project from a repository or a teamgh-project-view(1)β view a project
That's nineteen. Counted them. Obsessed. π«Ά
π§ EXIT CODES π§
So when the command finishes, here's what the numbers mean:
0β successful execution (slay β¨)1β error π2β command canceled4β authentication required π
NOTE: specific commands may have additional exit codes. Check that command's help for more info. iykyk π
π EXAMPLE π
Real examples, straight up:
$ gh project create --owner monalisa --title "Roadmap"
$ gh project view 1 --owner cli --web
$ gh project field-list 1 --owner cli
$ gh project item-list 1 --owner cli
Look at those. Beautiful. Main character commands. β
π SEE ALSO π
gh(1)β the parent, the blueprint, the blueprint-haver
Okay bestie that's the whole page π β this was GitHub CLI v2.102.0, dated Oct 2026, and you understood all of it, periodt. π π₯
π¦ 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