# GitHub CLI 2.89.0

DevFeed: [GitHub CLI 2.89.0](<https://devfeed.tech/articles/github-cli-2-89-0-75156.md>)

Original publisher: [Read original article](<https://github.com/cli/cli/releases/tag/v2.89.0>)

Published: 2026-03-26T14:22:43Z

Content type: release

Language: en

Sources: [GitHub CLI](<https://devfeed.tech/sources/github-cli.md>)

Topics: [GitHub CLI extension](<https://devfeed.tech/topics/gh-extension.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [GitHub Copilot CLI](<https://devfeed.tech/topics/github-copilot-cli.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [api](<https://devfeed.tech/tags/api.md>), [cli](<https://devfeed.tech/tags/cli.md>), [codespaces](<https://devfeed.tech/tags/codespaces.md>), [commands](<https://devfeed.tech/tags/commands.md>), [copilot](<https://devfeed.tech/tags/copilot.md>), [dependabot](<https://devfeed.tech/tags/dependabot.md>), [environment](<https://devfeed.tech/tags/environment.md>), [fetch](<https://devfeed.tech/tags/fetch.md>), [fetching](<https://devfeed.tech/tags/fetching.md>), [fields](<https://devfeed.tech/tags/fields.md>), [github](<https://devfeed.tech/tags/github.md>), [github-com](<https://devfeed.tech/tags/github-com.md>), [go](<https://devfeed.tech/tags/go.md>), [grpc](<https://devfeed.tech/tags/grpc.md>), [hosting](<https://devfeed.tech/tags/hosting.md>), [issue](<https://devfeed.tech/tags/issue.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [scopes](<https://devfeed.tech/tags/scopes.md>), [token](<https://devfeed.tech/tags/token.md>)

## AI overview

GitHub CLI 2.89.0 adds an experimental TUI-based prompter and updates `gh agent-task` to resolve the Copilot API URL dynamically for ghe.com tenancies. It also reduces the token scopes needed by `gh issue create` and `gh issue transfer` by fetching only the fields those operations require, alongside other feature, fix, and dependency changes.

## Source excerpt

## :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/cli/pull/13009) * Add experimental huh-only prompter gated by `GH_EXPERIMENTAL_PROMPTER` by [@BagToad](https://github.com/BagToad) in [#12859](https://github.com/cli/cli/pull/12859) ### 🐛 Fixes * fix(agent-task): resolve Copilot API URL dynamically for ghe.com tenancies by [@BagToad](https://github.com/BagToad) in [#12956](https://github.com/cli/cli/pull/12956) * fix(issue): avoid fetching unnecessary fields in `issue create` and `issue transfer` by [@babakks](https://github.com/babakks) in [#12884](https://github.com/cli/cli/pull/12884) * fix: resolve data race in codespaces port forwarder by [@Lslightly](https://github.com/Lslightly) in [#13033](https://github.com/cli/cli/pull/13033) ### 📚 Docs & Chores * Record agentic invocations in User-Agent header by [@williammartin](https://github.com/williammartin) in [#13023](