GitHub CLI version history
10 releases tracked, newest first.
v2.95.0
Jun 17, 2026- Added `gh repo read-file` and `gh repo read-dir` commands to inspect repository contents without cloning
- Improved skills listing during non-interactive installation
- Fixed staging updates in a temp directory for skills
- Updated dependencies and documentation
21 downloads
v2.94.0
Jun 10, 2026- Added `gh discussion` command set for managing GitHub Discussions (preview feature).
- Introduced Issues 2.0 support: issue types, sub-issues, and relationships in `gh issue`.
- Added `gh skill list` and improved skill management features.
- Various fixes, docs updates, and dependency bumps.
21 downloads
v2.93.0
May 27, 2026- Fixed security vulnerability in authorization headers for TUF repository mirrors
- Added support for agent secrets in `gh secret` commands
- Improved PR validation and error messaging
- Various bug fixes and dependency updates
21 downloads
v2.92.0
Apr 28, 2026## Security
A security vulnerability has been identified, and fixed, that could allow terminal escape sequence injection when users view GitHub Actions workflow logs using `gh run view --log` or `gh run view --log-failed`.
Users are advised to update gh to version v2.92.0 as soon as possible.
For more information see: https://github.com/cli/cli/security/advisories/GHSA-crc3-h8v6-qh57
## Support GitHub Enterprise Cloud (GHEC) in `skill` commandset
Now `gh skill` subcommands (`install`, `preview`, `publish`, `search`, `update`) are able to work with [GHEC](https://docs.github.com/en/enterprise-cloud@latest/admin/overview/about-github-enterprise-cloud) hosts with data residency.
## Add `--allow-hidden-dirs` flag to `skill preview`
Following the addition of `--allow-hidden-dirs` to `skill install` in the previous release, now the flag is also supported in `skill preview`, allowing users to preview skills located in hidden (dot-prefixed) directories such as `.claude/skills/`, `.agents/skills/`, and `.github/skills/`.
## What's Changed
### ✨ Features
* feat(skills): add --allow-hidden-dirs flag to preview command by @SamMorrowDrums in https://github.com/cli/c
21 downloads
v2.91.0
Apr 22, 2026## GitHub CLI now collects pseudonymous telemetry
To better understand how features are used in practice, especially as agentic adoption grows, GitHub CLI now sends pseudonymous telemetry.
See [Telemetry](https://cli.github.com/telemetry) for more details on what's collected, why, and how to opt out.
## Support more agents in `gh skill`
Thanks to community feedback, `gh` now supports a large number of agent hosts. Run `gh skill install --help` for the list of available agents.
## Improve skill discovery
`gh skill install` now adds the `--allow-hidden-dirs` flag to support discovering skills in hidden (dot-prefixed) directories such as `.claude/skills/`, `.agents/skills/`, and `.github/skills/`.
## Detect skills re-published from other sources
GitHub CLI now detects if the skill to be installed is re-published from an upstream source and offers the option to install it from there. The `--upstream` flag is also added for non-interactive use cases.
## What's Changed
### :sparkles: Features
* Add support for installation in multiple agent hosts in `gh skills install` by @tommaso-moro in https://github.com/cli/cli/pull/13209
* Add --allow-hidden-dir
21 downloads
v2.90.0
Apr 16, 2026## Manage agent skills with `gh skill` (Public Preview)
[Agent skills](https://agentskills.io) are portable sets of instructions, scripts, and resources that teach AI coding agents how to perform specific tasks. The new `gh skill` command makes it easy to discover, install, manage, and publish agent skills from GitHub repositories - right from the CLI.
```
# Discover skills
gh skill search copilot
# Preview a skill without installing
gh skill preview github/awesome-copilot documentation-writer
# Install a skill
gh skill install github/awesome-copilot documentation-writer
# Pin to a specific version
gh skill install github/awesome-copilot documentation-writer --pin v1.2.0
# Check installed skills for updates
gh skill update --all
# Validate and publish your own skills
gh skill publish --dry-run
```
Skills are automatically installed to the correct directory for your agent host. `gh skill` supports GitHub Copilot, Claude Code, Cursor, Codex, Gemini CLI, and Antigravity. Target a specific agent and scope with `--agent` and `--scope` flags.
`gh skill publish` validates skills against the [Agent Skills specification](https://agentskills.io/specificatio
21 downloads
v2.89.0
Mar 26, 2026## :copilot: `gh agent-task` now works on ghe.com tenancies
`gh agent-task` commands previously failed with `401 Unauthorized` for users on ghe.com tenancy hosts because the Copilot API URL was hardcoded. The URL is now resolved dynamically per host, so `gh agent-task` works correctly regardless of your GitHub hosting environment.
## Experimental new prompter
A new TUI-based prompter powered by [charmbracelet/huh](https://github.com/charmbracelet/huh) is available behind the `GH_EXPERIMENTAL_PROMPTER` environment variable. This is an early preview — try it out and share feedback!
```
export GH_EXPERIMENTAL_PROMPTER=1
```
## `gh issue create` and `gh issue transfer` no longer require extra token scopes
`gh issue create` and `gh issue transfer` previously fetched repository fields they didn't need, which could require additional token scopes. These commands now fetch only the minimal fields necessary for issue operations.
## What's Changed
### ✨ Features
* `gh pr create`, `gh issue create`, `gh issue edit`: search-based assignee selection and login-based mutation on github.com by [@BagToad](https://github.com/BagToad) in [#13009](https://github.com/cli/cl
21 downloads
v2.88.1
Mar 12, 2026## Fix `pr` commands failing with `read:project` scope error
v2.88.0 introduced a regression where `pr` commands would fail with the error:
```
error: your authentication token is missing required scopes [read:project]
To request it, run: gh auth refresh -s read:project
```
Previously, missing read:project scope was gracefully handled, and project data was silently skipped. A change inadvertently broke the error matching that enabled this graceful degradation. v2.88.1 reverts these changes so that `pr` commands work correctly without requiring the `read:project` scope.
## What's Changed
* Migrate Windows code signing from client secret to OIDC by @BagToad in https://github.com/cli/cli/pull/12911
* Revert "refactor: deduplicate scope error handling between api/client.go and project queries" by @williammartin in https://github.com/cli/cli/pull/12914
* Revert "fix: clarify scope error while creating issues for projects" by @williammartin in https://github.com/cli/cli/pull/12915
**Full Changelog**: https://github.com/cli/cli/compare/v2.88.0...v2.88.1
21 downloads
v2.88.0
Mar 10, 2026## :copilot: Request Copilot Code Review from `gh`
<img width="80%" height="80%" alt="image" src="https://github.com/user-attachments/assets/c9b86700-5934-44b6-9210-227495a18d8e" />
`gh pr create` and `gh pr edit` now support [Copilot Code Review](https://docs.github.com/en/copilot/using-github-copilot/code-review/using-copilot-code-review) as a reviewer. Request a review with `--add-reviewer @copilot`, or select Copilot interactively from the searchable reviewer prompt.
Create a pull request and request review from Copilot:
```
gh pr create --reviewer @copilot
```
Edit a pull request and request review from Copilot:
```
gh pr edit --add-reviewer @copilot
```
## Close issues as duplicates with `gh issue close --duplicate-of`
You can now close issues as duplicates and link to a duplicate issue directly from the CLI. The new `--duplicate-of` flag accepts an issue number or URL and marks the closed issue as a duplicate of the referenced one. You can also use `--reason duplicate` to set the close reason without linking a specific issue.
```
# Close as duplicate, linking to the original issue
gh issue close 123 --duplicate-of 456
# Close with duplicate re
21 downloads
v2.87.3
Feb 23, 2026## What's Changed
* Fix project mutation query variable usage by @williammartin in https://github.com/cli/cli/pull/12757
**Full Changelog**: https://github.com/cli/cli/compare/v2.87.2...v2.87.3
21 downloads