Release

June 10, 20261 Minute Read

List, view, and create discussions in GitHub CLI

Example GitHub discussion update for sign-in flow design feedback in Mona's Cafe v2, including the prompt, feedback request, and a link to the discussion.

GitHub Discussions now has a first-class home in GitHub CLI through the new gh discussion command group. This means you can browse, create, and update discussions right where you already work, without falling back to raw gh api calls.

The new command group covers the core workflows you reach for most:

  • gh discussion list to scan recent discussions in a repository
  • gh discussion view to read a discussion and its replies in the terminal
  • gh discussion create to start a new discussion
  • gh discussion edit to update an existing discussion
  • gh discussion comment to comment on a discussion

A terminal running gh discussion list showing discussions with their categories and answered status

Install or upgrade to GitHub CLI v2.94.0 to get started on any repository where GitHub Discussions is enabled.

Have feedback or found an issue? Open an issue in the cli/cli repository.

Subscribe to our developer newsletter

Discover tips, technical guides, and best practices in our biweekly newsletter just for devs.

By submitting, I agree to let GitHub and its affiliates use my information for personalized communications, targeted advertising, and campaign effectiveness. See the GitHub Privacy Statement for more details.

List, view, and create discussions in GitHub CLI - GitHub Changelog