This is how releaselink would show the releases of cli/cli. Yours stays private, shown under a name you choose. Data comes live from GitHub; nothing is saved.

cli

Releases

  1. GitHub CLI 2.105.0

    Latest

    v2.105.0 ยท

    What's Changed

    Subscribe to GitHub Event Streams with gh event (preview)

    The new gh event command set lets agents, integrations, and scripts wait for pull request changes instead of polling GitHub:

    # Wait for a review event
    gh event listen --resource https://github.com/OWNER/REPO/pull/NUMBER --event com.github.pull_request.review.submitted.v1 --timeout 30m
    
    # Wait for a check suite completion event
    gh event listen --resource https://github.com/OWNER/REPO/pull/NUMBER --event com.github.pull_request.check_suite.status.changed.v1 --jq .data.conclusion
    
    # List active event subscriptions
    gh event subscription list

    By default, gh event listen exits after the first event. Use --count to wait for several events or --follow to keep listening. Events are printed as CloudEvent JSON objects, with data.api_url pointing to the resource that changed.

    Supported events include submitted reviews, pull request state and head changes, merge conflicts, and completed check suites. The subscription create, list, view, and delete commands manage subscriptions directly.

    Note

    GitHub Event Streams is in preview. Join the wait list, read the announcement, or see the Event Streams documentation.

    What's Changed

    โœจ Features

    • Add a server-sent events reader and Event Subscriptions API client by @babakks in #15071
    • Add gh event listen to wait for pull request events without polling by @babakks in #15072
    • Add gh event subscription list by @babakks in #15073
    • Add gh event subscription create by @babakks in #15074
    • Add gh event subscription view by @babakks in #15075
    • Add gh event subscription delete by @babakks in #15076
    • Suggest gh event listen to agents using gh pr and gh api by @babakks in #15077
    • Support check suite events and suggest them from gh run view and gh run watch by @babakks in #15081

    ๐Ÿ› Fixes

    • fix(event listen): print each event without waiting for the next heartbeat by @babakks and @iancanderson in #15079
    • fix(event listen): report deleted subscriptions clearly by @babakks in #15080
    • fix(event): improve stream framing, Retry-After handling, evals, and regression coverage by @babakks in #15083

    ๐Ÿ“š Docs & Chores

    • Make issue-triage formatting checks nonblocking by @BagToad in #15052
    • Add event-driven agent evals, gh skill guidance, and preview documentation by @babakks in #15078

    :dependabot: Dependencies

    • chore(deps): bump golang.org/x/text from 0.43.0 to 0.44.0 by @dependabot in #15049
    • chore(deps): bump golang.org/x/term from 0.47.0 to 0.48.0 by @dependabot in #15048
    • chore(deps): bump golang.org/x/crypto from 0.58.0 to 0.59.0 by @dependabot in #15064
    • chore(deps): bump zod from 4.3.6 to 4.6.6 in evals by @dependabot in #15086
    • chore(deps): bump @hono/node-server from 2.1.5 to 2.1.9 in evals by @dependabot in #15085
    • chore(deps): bump hono from 4.13.13 to 4.13.19 in evals by @dependabot in #15084

    Full Changelog: v2.104.0...v2.105.0

  2. GitHub CLI 2.104.0

    v2.104.0 ยท

    Protect private forks when deleting repositories

    gh repo delete now warns when deleting a private or internal repository will also delete its forks. The additional confirmation is required even with --yes.

    Non-interactive workflows and agents must explicitly accept the cascading deletion:

    gh repo delete OWNER/REPO --yes --accept-cascading-deletion-of-private-forks

    What's Changed

    โœจ Features

    • Require confirmation before gh repo delete deletes private forks by @BagToad in #14858

    ๐Ÿ› Fixes

    • fix(auth status): surface underlying rate-limit, server, and network errors in terminal output by @babakks and @Copilot in #15009
    • fix(auth): skip token refresh when gh's state directory is not writable by @babakks in #14845

    ๐Ÿ“š Docs & Chores

    • Use REST to apply issue triage labels by @BagToad in #15041
    • Prevent repeated Dependabot triage assessments by @BagToad in #15002
    • Apply issue triage labels directly by @BagToad in #15001
    • Provide verified build versions to issue triage by @BagToad in #15000
    • Use a synthetic namespace for triage fixtures by @BagToad in #14976
    • Remove the accidental issue-triage model pin by @BagToad in #14972
    • Add a fake GitHub API runner for reproductions by @BagToad in #14951
    • Clarify which hosts use GH_ENTERPRISE_TOKEN by @BagToad in #14918
    • Regenerate triage workflows with gh-aw v1.0.1 by @tidy-dev in #14910
    • Test the ShowRefs option separator by @BagToad in #14879
    • Fix local extension-install test path normalization by @bobrik in #14854
    • Save Go caches only from trunk by @williammartin in #14840
    • Add a private vulnerability report form by @BagToad in #14825
    • Replace msgpack with a minimal node ID encoder by @tj-smith47 in #14801
    • Test the Git client with real repositories by @williammartin in #14348

    :dependabot: Dependencies

    • chore(deps): bump github.com/klauspost/compress from 1.20.3 to 1.20.4 by @dependabot in #15040
    • chore(deps): bump charm.land/lipgloss/v2 from 2.0.6 to 2.1.0 by @dependabot in #15039
    • chore(deps): bump Go toolchain from 1.27.3 to 1.27.4 by @github-actions[bot] in #15028
    • chore(deps): bump golang.org/x/sys from 0.49.0 to 0.50.0 by @dependabot in #15010
    • chore(deps): bump golang.org/x/sync from 0.24.0 to 0.25.0 by @dependabot in #14998
    • chore(deps): bump the codeql-actions group across 1 directory with 3 updates by @dependabot in #14964
    • chore(deps): bump github.com/spf13/pflag from 1.0.10 to 1.1.0 by @dependabot in #14963
    • chore(deps): bump github.com/yuin/goldmark from 1.8.6 to 1.8.7 by @dependabot in #14907
    • chore(deps): bump charm.land/bubbletea/v2 from 2.1.0 to 2.1.1 by @dependabot in #14906
    • chore(deps): bump github.com/sigstore/sigstore-go from 1.3.0 to 1.4.0 by @dependabot in #14905
    • chore(deps): bump google.golang.org/grpc from 1.84.0 to 1.85.0 by @dependabot in #14878
    • chore(deps): bump the codeql-actions group with 3 updates by @dependabot in #14824

    New Contributors

    • @tj-smith47 made their first contribution in #14801
    • @bobrik made their first contribution in #14854

    Full Changelog: v2.103.3...v2.104.0

  3. GitHub CLI 2.103.3

    v2.103.3 ยท

    What's Changed

    ๐Ÿ› Fixes

    • fix(gh auth status): explain expired expiring tokens with --no-refresh by @babakks in #14815

    Full Changelog: v2.103.2...v2.103.3

  4. GitHub CLI 2.103.2

    v2.103.2 ยท

    ๐Ÿ› Fixes

    • Allow server to arbitrate which GitHub App installation tokens can attach files by @martinajir in #14804
    • Defer --attach credential checks to the upload endpoint by @BagToad in #14805

    New Contributors

    Full Changelog: v2.103.1...v2.103.2

  5. GitHub CLI 2.103.1

    v2.103.1 ยท

    What's Changed

    ๐Ÿ› Fixes

    • Avoid repeating the skill installation safety warning by @tommaso-moro in #14784
    • feat(gh auth login): hint at --expiring when no preference is set by @babakks in #14798

    ๐Ÿ“š Docs & Chores

    :dependabot: Dependencies

    • Update github.com/digitorus/pkcs7 dependency by @bdehamer in #14791

    Full Changelog: v2.103.0...v2.103.1

  6. GitHub CLI 2.103.0

    v2.103.0 ยท

    Expiring, auto-refreshing OAuth tokens (preview)

    gh can now sign in with expiring OAuth credentials that it refreshes automatically. When you opt in, gh stores a short-lived access token alongside a rotating refresh token and refreshes the access token whenever it is needed, so you stay signed in without having to authenticate again.

    To opt in for a single sign-in, run:

    gh auth login --expiring

    To prefer expiring credentials for every sign-in, run:

    gh config set expiring_credentials enabled

    gh auth status shows whether a credential is refreshable and when the current access token expires. Both gh auth status and gh auth token automatically refresh the access token when needed. Expiring tokens are available on github.com and GHE.com; on hosts that do not issue them, gh falls back to a regular non-expiring token.

    If you use HTTPS as your git protocol, we advise using git 2.46 or newer and letting gh act as your git credential helper by running gh auth setup-git. This way gh serves and refreshes the expiring credential for git, and git does not cache it past its lifetime.

    Important

    Expiring access tokens should not be cached. Scripts and extensions that store the output of gh auth token will eventually hold an expired token, so run gh auth token again each time a token is needed. Tokens supplied through GH_TOKEN or GITHUB_TOKEN are never refreshed.

    For more information, see Authenticating with GitHub CLI.

    Manage issue artifacts with gh issue artifact (private preview)

    gh issue artifact brings issue artifacts to the command line. Users and organizations enrolled in the private preview can use the list, view, create, edit, download, and delete commands to manage issue artifacts.

    # Create a Markdown document with an attached image
    gh issue artifact create 142 signin-plan.md --attach ./signin-flow.png
    
    # Create an HTML document
    gh issue artifact create 142 menu-prototype.html
    
    # List or view artifacts
    gh issue artifact list 142
    gh issue artifact view 142 2
    
    # Update a document or restore an earlier version
    gh issue artifact edit 142 2 --body-file signin-plan-v2.md
    gh issue artifact edit 142 2 --restore-version 5

    Artifacts can also be addressed by their GitHub URLs, and Markdown documents support image and video attachments with --attach.

    Important

    Issue artifacts are in private preview. These commands only work for repositories enrolled in the preview. See the Issue Artifacts private preview announcement and feedback discussion for access instructions and to share feedback.

    What's Changed

    โœจ Features

    • Replace extension browse with Bubble Tea by @williammartin in #14578
    • gh issue artifact stack 1/12: Resolve --attach references against the body file's directory by @BagToad in #14564
    • gh issue artifact stack 2/12: Attach one set of files to several Markdown documents by @BagToad in #14565
    • gh issue artifact stack 3/12: Add the command group and list by @BagToad in #14566
    • gh issue artifact stack 4/12: Add view by @BagToad in #14567
    • gh issue artifact stack 5/12: Add delete by @BagToad in #14568
    • gh issue artifact stack 6/12: Add download by @BagToad in #14569
    • gh issue artifact stack 7/12: Add create by @BagToad in #14570
    • gh issue artifact stack 8/12: Add edit by @BagToad in #14571
    • gh issue artifact stack 10/12: Add edit --restore-version by @BagToad in #14580
    • gh issue artifact stack 11/12: Address review feedback by @BagToad in #14640
    • gh issue artifact stack 12/12: Add artifact URLs by @BagToad in #14678
    • Support HTML documents in gh issue artifact by @BagToad in #14720
    • Refreshable tokens (1/7): foundation credential model, storage migration, and file lock by @babakks in #14450
    • Refreshable tokens (2/7): refresher domain, OAuth refresher, storage, and wiring by @babakks in #14451
    • Refreshable tokens (3/7): short-lived login, refresh, and git credential path by @babakks in #14452
    • Refreshable tokens (4/7): gh auth token refresh and secure-storage handling by @babakks in #14453
    • Refreshable tokens (5/7): gh auth status short-lived token details by @babakks in #14454
    • Refreshable tokens (6/7): agent-task and CAPI per-request refresh by @babakks in #14455
    • Refreshable tokens: review fixes across the stack by @babakks in #14663
    • Refreshable tokens: rename --short-lived flag to --expiring by @babakks in #14665
    • Refreshable tokens: add prefer_expiring_credentials config option by @babakks in #14672
    • Refreshable tokens: capture auth_invocation telemetry on login and refresh by @babakks in #14673
    • Refreshable tokens: review fixes (round 2) by @babakks in #14717
    • Refreshable tokens: show relative time-to-expiry in gh auth status by @babakks in #14745
    • Refreshable tokens: build-gated debug overrides for testing token expiry by @babakks in #14752
    • Refreshable tokens: bump cli/oauth to v1.3.0 and fix gh status column width by @babakks in #14768

    ๐Ÿ› Fixes

    • Bump go-runewidth to v0.0.30 for faster startup by @williammartin in #14577
    • Avoid spawning git for each extension at startup by @williammartin in #14620
    • Fix the unclean background colors of gh-search-code by @A4-Tacks in #14648
    • Fix help text that references nonexistent flags by @BagToad in #14719

    ๐Ÿ“š Docs & Chores

    • docs: recommend nix-shell and declarative config for Nix/NixOS by @reginaldalfret in #14592
    • Clarify issue view comment output modes by @babakks with @Copilot in #14616
    • Add ACCESSIBILITY.md by @BagToad in #14583
    • Bump shell-quote to 1.11.0 in cli-exercise skill by @williammartin in #14625
    • Leave validation checks to CI in bump-go script by @williammartin in #14631
    • Remove CLAUDE.md in favor of AGENTS.md by @jarrensj in #14474
    • Clarify --repo and --owner checks for attestation bundles by @bdehamer in #14650
    • Fix Go vendoring in Dependabot triage and bump gh-aw by @williammartin in #14682
    • gh issue artifact stack 9/12: Document gh issue artifact in the gh skill by @BagToad in #14572
    • Clarify --comments behavior when piped in view commands by @arsalanyavari in #14714
    • Clarify release creation atomicity and immutability by @bdehamer in #14722
    • Add deterministic Dependabot scheduler by @williammartin in #14750
    • Merge v2.102.1 release branch into trunk by @BagToad in #14770
    • Refreshable tokens (7/7): guided end-to-end verification scripts by @babakks in #14456
    • Document expiring tokens in the gh skill by @babakks in #14782

    :dependabot: Dependencies

    • Bump Go to 1.27.2 by @github-actions[bot] in #14632
    • chore(deps): bump golang.org/x/sync from 0.23.0 to 0.24.0 by @dependabot[bot] in #14633
    • chore(deps): bump github.com/mattn/go-colorable from 0.1.15 to 0.1.16 by @dependabot[bot] in #14634
    • chore(deps): bump golang.org/x/crypto from 0.57.0 to 0.58.0 by @dependabot[bot] in #14660
    • chore(deps): bump actions/upload-artifact from 7.0.1 to 7.0.2 by @dependabot[bot] in #14656
    • chore(deps): bump actions/download-artifact from 8.0.1 to 8.0.2 by @dependabot[bot] in #14655
    • chore(deps): bump the codeql-actions group with 3 updates by @dependabot[bot] in #14654
    • chore(deps): bump charm.land/bubbletea/v2 from 2.0.10 to 2.1.0 by @dependabot[bot] in #14657
    • chore(deps): bump google.golang.org/grpc from 1.83.2 to 1.84.0 by @dependabot[bot] in #14485
    • chore(deps): bump github.com/cli/go-gh/v2 from 2.16.1 to 2.16.2 by @dependabot[bot] in #14696
    • chore(deps): bump actions/setup-node from 7.0.0 to 7.1.0 by @dependabot[bot] in #14697
    • chore(deps): bump goreleaser/goreleaser-action from 7.2.3 to 7.3.0 by @dependabot[bot] in #14707
    • chore(deps): bump github.com/klauspost/compress from 1.20.1 to 1.20.3 by @dependabot[bot] in #14705
    • chore(deps): bump actions/create-github-app-token from 3.2.0 to 3.3.0 by @dependabot[bot] in #14706
    • chore(deps): bump the codeql-actions group with 3 updates by @dependabot[bot] in #14751
    • Bump Go to 1.27.3 by @github-actions[bot] in #14767
    • chore(deps): bump github.com/gabriel-vasile/mimetype from 1.4.15 to 1.4.16 by @dependabot[bot] in #14766
    • Update glamour to v2 by @heaths in #14148

    New Contributors

    Full Changelog: v2.102.1...v2.103.0

  7. GitHub CLI 2.102.1

    v2.102.1 ยท

    What's Changed

    :dependabot: Dependencies

    chore(deps): bump Go toolchain from 1.27.1 to 1.27.3 and golang.org/x/net from 0.58.0 to 0.60.0

    Full Changelog: v2.102.0...v2.102.1

  8. GitHub CLI 2.102.0

    v2.102.0 ยท

    Security

    Four security vulnerabilities have been identified, and fixed, in this release. Users are advised to update gh to version v2.102.0 as soon as possible.

    gh release download, gh run download, gh repo read-file --output, and gh attestation download could write remote content to an unintended local file when the destination contained symbolic links.

    See GHSA-39wj-f2f4-978v for more information.

    gh attestation verify compared the --source-ref value case-insensitively, so an attestation built from a branch whose name differs only in case could satisfy a policy that named a different branch.

    See GHSA-4mq3-hpgx-9cx8 for more information.

    Interactive gh skill search passed repository paths from search results to gh skill install without an option separator, so a search result could inject installer options and change where skill files were written.

    See GHSA-qcwj-mr2r-2cx7 for more information.

    gh attestation verify matched the --signer-workflow value against only the start of the signing certificate's identity, so an attestation signed by a different workflow in the pinned repository could pass verification when its path began with the pinned value.

    See GHSA-wjmr-j3rp-mh2g for more information.

    What's Changed

    ๐Ÿ› Fixes

    • Allow ghu_ tokens for supported actors to attach files by @BagToad in #14516
    • Allow repo set-default --unset without an argument by @williammartin in #14540

    ๐Ÿ“š Docs & Chores

    • Prioritize HackerOne for vulnerability reports by @BagToad in #14497
    • Clarify reviewer-facing PR guidance by @williammartin in #14509
    • Add a skill for chaptered CLI recordings by @BagToad in #14475
    • Improve CLI recording rendering by @williammartin in #14507
    • Mention gh CLI in the README intro by @BagToad in #14517
    • Document search operator support in gh search help by @waldyrious in #14519
    • Remove host versions from gh project item-list help by @BagToad in #14553

    :dependabot: Dependencies

    • chore(deps): bump the codeql-actions group with 3 updates by @dependabot in #14486
    • chore(deps): bump nodeselector/setup-apple-codesign from 0.0.2 to 0.0.3 by @dependabot in #14487
    • chore(deps): bump charm.land/bubbletea/v2 from 2.0.9 to 2.0.10 by @dependabot in #14541
    • chore(deps): bump github.com/klauspost/compress from 1.20.0 to 1.20.1 by @dependabot in #14542
    • chore(deps): bump the codeql-actions group with 3 updates by @dependabot in #14543

    Full Changelog: v2.101.0...v2.102.0

  9. GitHub CLI 2.101.0

    v2.101.0 ยท

    Linux package repository signing key rotation

    GitHub CLI's APT and RPM repositories, along with individual RPM packages, are now signed only with the new PGP key (fingerprint: 7F38BBB59D064DBCB3D84D725612B36462313325)

    Important

    Linux users who installed gh from the official APT or RPM repositories before April 8, 2026, and have not refreshed their keyring, may now see package installation or update failures. Follow the PGP signing key rotation guidance to check and update your keyring. Users on Windows or macOS, and users who installed gh through Homebrew, GitHub Releases, another package manager, or from source, are not affected.

    Copy authentication codes to the clipboard by default

    gh auth login and gh auth refresh now copy OAuth device codes to the clipboard by default, saving a manual copy step during authentication.

    To persistently opt out, run:

    gh config set clipboard disabled

    Explicit clipboard options still take precedence for an individual invocation.

    What's Changed

    โœจ Features

    • Add clipboard preference for auth flows and default to enabled by @williammartin in #14345

    ๐Ÿ› Fixes

    • Use API SSH URLs for repository clones by @williammartin in #14346
    • Validate repository names during interactive creation by @sergiou87 in #14313
    • Finalize telemetry at invocation completion by @williammartin in #14390
    • Record attachment operation counts in telemetry by @BagToad in #14360
    • Propagate gh path to extensions by @williammartin in #14282
    • Delete repo garden command by @williammartin in #14416
    • Fix remote branch deletion for owner case mismatch by @williammartin in #14429
    • Retire multi-account migration by @williammartin in #14430

    ๐Ÿ“š Docs & Chores

    • docs: announce Linux PGP key rotation by @babakks in #14340
    • Require verified SHAs in issue-triage permalinks by @sergiou87 in #14343
    • Add VHS demo skill by @williammartin in #14334
    • docs: fix broken "GitHub language" link in primer foundations by @areesh-ali in #14363
    • Fix and validate Go bump workflow by @williammartin in #14347
    • chore: sign Linux repositories only with the new PGP key by @babakks in #14197
    • Rewrite CLI agent guidance by @williammartin in #14388
    • Prepare exit errors for Go 1.27 by @williammartin in #14397
    • Reduce rate limiting and reduce time taken for acceptance tests by @williammartin in #14320
    • Filter acceptance tests for installation token capabilities by @williammartin in #14354
    • Fix Go bump workflow authentication by @williammartin in #14412
    • Run acceptance tests in Actions with a GitHub App token by @williammartin in #14356
    • Fix acceptance script paths on Windows by @williammartin in #14414
    • Wait for repository readiness before archiving by @williammartin in #14415
    • Update Go bump validation tools by @williammartin in #14428
    • Recognize maintainer authorization by @williammartin in #14438
    • Safely replace stale Go bump branches by @williammartin in #14441
    • Use internal Apple codesign action by @williammartin in #14437
    • Test explicit default repository resolution by @williammartin in #14460
    • Revert "Use internal Apple codesign action" by @williammartin in #14462

    :dependabot: Dependencies

    • chore(deps): bump github.com/klauspost/compress from 1.19.2 to 1.20.0 by @dependabot[bot] in #14376
    • chore(deps): bump github.com/google/go-containerregistry from 0.22.0 to 0.22.1 by @dependabot[bot] in #14377
    • chore(deps): bump github.com/yuin/goldmark from 1.8.5 to 1.8.6 by @dependabot[bot] in #14378
    • chore(deps): bump golang.org/x/sync from 0.22.0 to 0.23.0 by @dependabot[bot] in #14391
    • chore(deps): bump github.com/microsoft/dev-tunnels from 0.1.27 to 0.2.0 by @dependabot[bot] in #14375
    • chore(deps): bump golang.org/x/sys from 0.47.0 to 0.48.0 by @dependabot[bot] in #14417
    • Bump Go to 1.27.1 by @github-actions[bot] in #14442
    • chore(deps): bump azure/login from 3.0.2 to 3.1.0 by @dependabot[bot] in #14447
    • chore(deps): bump the codeql-actions group with 3 updates by @dependabot[bot] in #14446
    • chore(deps): bump golang.org/x/term from 0.45.0 to 0.46.0 by @dependabot[bot] in #14445
    • chore(deps): bump golang.org/x/text from 0.41.0 to 0.42.0 by @dependabot[bot] in #14444
    • chore(deps): bump golang.org/x/crypto from 0.56.0 to 0.57.0 by @dependabot[bot] in #14443
    • Bump github.com/cli/go-gh/v2 to v2.16.1 by @niik in #14461

    New Contributors

    Full Changelog: v2.100.0...v2.101.0

  10. GitHub CLI 2.100.0

    v2.100.0 ยท

    Experimental: Route GitHub API traffic through a custom host

    Organizations can now route a GitHub host's API traffic through a gateway using the new per-host api_host configuration:

    # Route API traffic for github.com through a gateway
    gh config set api_host gh-gateway.example.com --host github.com
    
    # Read the configured API host
    gh config get api_host --host github.com

    The original host remains in use for authentication, Git remotes, and browser URLs.

    Note

    api_host is experimental and is not a security boundary. Requests may still reach the original host.

    What's Changed

    โœจ Features

    • Honor per-host api_host routing across GitHub API requests by @williammartin in #14104
    • Expose api_host through gh config get and gh config set by @williammartin in #14332
    • Add webhook as an official extension by @williammartin in #14326
    • Print full command help after command misuse when gh is invoked by a coding agent by @niik in #14198

    ๐Ÿ› Fixes

    • fix(api): disable telemetry for unauthenticated GHES requests using absolute hostnames by @williammartin in #14337

    ๐Ÿ“š Docs & Chores

    • Fix discussion acceptance test flags by @williammartin in #14321
    • Clarify supported GHES versions by @williammartin in #14324
    • Improve automated issue triage analysis by @sergiou87 in #14318
    • Record attachment counts in telemetry by @BagToad in #14327

    :dependabot: Dependencies

    • chore(deps): bump golang.org/x/crypto from 0.55.0 to 0.56.0 by @babakks in #14331
    • chore(deps): bump Go toolchain from 1.26.7 to 1.26.8 by @babakks in #14330
    • chore(deps): bump github.com/cli/go-gh/v2 from 2.15.0 to 2.16.0 by @williammartin in #14338

    Full Changelog: v2.99.0...v2.100.0