General 860 installs

GitHub CLI (gh)

by github/awesome-copilot

GitHub CLI (gh) comprehensive reference for repositories, issues, pull requests, Actions, projects, releases, gists, codespaces, organizations, extensions, and…

Skill content

Complete GitHub CLI reference for repositories, issues, pull requests, Actions, projects, releases, and all command-line GitHub operations.

- Covers 20+ command categories including repos, issues, PRs, workflows, projects, releases, gists, codespaces, organizations, and search with 100+ subcommands

- Supports authentication modes (interactive login, tokens, GitHub Enterprise), configuration via environment variables, and multi-account switching

- Includes JSON output filtering with jq, custom templates, pagination, and API request capabilities for advanced workflows

- Provides common patterns for bulk operations, fork syncing, CI/CD automation, and repository setup with shell integration and aliases

GitHub CLI (gh)

Comprehensive reference for GitHub CLI (gh) - work seamlessly with GitHub from the command line.

Version: 2.85.0 (current as of January 2026)

Prerequisites

Installation

# macOS
brew install gh

# Linux
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
sudo apt update
sudo apt install gh