Export GitHub Issues to Excel with GitHub CLI Tool

Ayyaz Zafar
3 min readApr 17, 2024


As developers and project managers, keeping track of issues and tasks is crucial for maintaining a smooth workflow and ensuring timely delivery. GitHub, being one of the most popular version control platforms, provides a robust issue tracking system. However, there may be situations where you need to export your GitHub issues to an Excel spreadsheet for further analysis, reporting, or sharing with stakeholders. In this article, we’ll walk you through a simple and efficient method to export your GitHub issues to Excel using the GitHub CLI tool.

Step 1: Install GitHub CLI Before we begin, make sure you have the GitHub CLI tool installed on your system. If you haven’t already, you can easily install it by running the following command in your terminal:

brew install gh

This command will download and install the GitHub CLI on your machine, enabling you to interact with GitHub from the command line.

Step 2: Authenticate with GitHub Once you have the GitHub CLI installed, you need to authenticate it with your GitHub account. Run the following command in your terminal:

gh auth login

You will be prompted to log in to your GitHub account. Follow the instructions provided by the CLI to complete…