Scroll to navigation

GH-PROJECT-LIST(1) GitHub CLI manual GH-PROJECT-LIST(1)

NAME

gh-project-list - List the projects for an owner

SYNOPSIS

gh project list [flags]

OPTIONS

Include closed projects

Output format: {json}

Filter JSON output using a jq expression

Maximum number of projects to fetch

Login of the owner

Format JSON output using a Go template; see "gh help formatting"

Open projects list in the browser

ALIASES

gh project ls

EXIT CODES

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.

EXAMPLE

# list the current user's projects
gh project list
# list the projects for org github including closed projects
gh project list --owner github --closed

SEE ALSO

gh-project(1)

Oct 2024 GitHub CLI v2.58.0