Text of cli.github.com › manual › gh_help_mintty as Styx crawled it on Nov 18, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

GitHub CLI | Take GitHub to the command line

CLI manual gh mintty MinTTY is the terminal emulator that comes by default with Git for Windows. It has known issues with gh's ability to prompt a user for input. There are a few workarounds to make gh work with MinTTY: Reinstall Git for Windows, checking "Enable experimental support for pseudo consoles". Use a different terminal emulator with Git for Windows like Windows Terminal. You can run C:\Program Files\Git\bin\bash.exe from any terminal emulator to continue using all of the tooling in Git For Windows without MinTTY.

Prefix invocations of gh with winpty , eg: winpty gh auth login . NOTE: this can lead to some UI bugs. See also gh