GH-PROJECT-VIEW(1)

πŸ’– gh-project-view(1) β€” GitHub CLI manual ✨

okay so bestie, you're reading the GitHub CLI manual page for gh project view and honestly? it's a little cutie. let's get into it 🫢


🌸 NAME 🌸

gh-project-view β€” view a project πŸ‘€βœ¨

like, literally just look at a project. nothing more, nothing less. it's giving "window shopping but for project boards."


πŸ¦‹ SYNOPSIS πŸ¦‹

gh project view [<number>] [flags]

the <number> is your project number, and it's optional (it's in square brackets, bestie, that's how you know πŸ’…). then you got your [flags] doing their little flag thing.


πŸŽ€ OPTIONS πŸŽ€

  • --format <string> β€” tells it how to spit out the output. the format is {json}. that's the whole menu, iykyk.
  • -q, --jq <expression> β€” filter your JSON output using a jq expression ✨ perfect for when the JSON is doing Too Much and you just want your fave bits.
  • --owner <string> β€” the login of the owner. and here's the slay: use "@me" for the current user πŸ’… (yes, you're that person, main character energy).
  • -t, --template <string> β€” format the JSON output using a Go template. also! see "gh help formatting" for the deets 🧚
  • -w, --web β€” opens the project in your browser 🌈 because sometimes you just wanna see it with your eyeballs.

πŸ’€ EXIT CODES πŸ’€

the vibes it can leave you with, fr fr:

  • 0: Successful execution βœ… slay
  • 1: Error 😭
  • 2: Command canceled πŸ™ˆ
  • 4: Authentication required πŸ” (go log in, bestie)
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information. don't come for me, i'm just the messenger πŸ’–

πŸ“ EXAMPLE πŸ“

these are real, do not touch the characters:

# View the current user's project "1"
$ gh project view 1

# Open user monalisa's project "1" in the browser
$ gh project view 1 --owner monalisa --web

monalisa stays iconic πŸ‘‘βœ¨


πŸ”₯ SEE ALSO πŸ”₯


and that's the tea, bestie πŸŽ€ that was GH-PROJECT-VIEW(1) from the GitHub CLI v2.102.0, dated Oct 2026 β€” periodt. go view some projects, you absolute legend πŸ’œ

πŸ“¦ where this page comes from