LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

gh-mintty

GitHub CLI help topic for MinTTY terminal compatibility on Windows

TLDR

Show MinTTY compatibility help
$ gh help mintty
copy
Work around MinTTY input issues using winpty (may cause UI bugs)
$ winpty gh auth login
copy

SYNOPSIS

gh help mintty

DESCRIPTION

gh-mintty is a help topic in the GitHub CLI describing known compatibility issues between gh and MinTTY, the default terminal emulator shipped with Git for Windows. MinTTY lacks proper pseudo-console support, which breaks gh's interactive prompts.Three workarounds exist:1. Reinstall Git for Windows with "Enable experimental support for pseudo consoles" checked.2. Run `C:\Program Files\Git\bin\bash.exe` from a different terminal emulator (e.g. Windows Terminal), which provides access to Git for Windows tools without MinTTY.3. Prefix gh commands with `winpty` (e.g. `winpty gh auth login`), though this can cause UI rendering bugs.

INSTALL

sudo apt install gh
copy
sudo dnf install gh
copy
sudo pacman -S github-cli
copy
sudo apk add github-cli
copy
sudo zypper install gh
copy
brew install gh
copy
nix profile install nixpkgs#gh
copy

CAVEATS

Windows-specific topic. The `winpty` workaround may cause UI bugs. The experimental pseudo-console option in Git for Windows is the most complete fix.

SEE ALSO

gh(1), gh-help(1), gh-config(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid