gh-autoswitch is a cross-platform Rust binary that acts as a git credential helper to automatically run gh auth switch to the right GitHub account before every HTTPS git remote operation (push, pull, fetch, clone), based on the remote owner/org. It also ships a Ratatui TUI to scaffold and edit its YAML config and to detect the path to gh.
Yes. gh-autoswitch is free and open-source software released under the MIT license.
What is the latest version of gh-autoswitch?
The latest version is 1.1.2.
Is it safe to download gh-autoswitch?
The download button links to the official installer published on github.com, the same file Windows Package Manager installs. You can verify the downloaded file by comparing its SHA-256 checksum with 910a607e5bc5f0c89484c886ad5d10e7dca1c53daf4ac49ca2867ae1cf9410c0.
Which Windows versions does gh-autoswitch support?
gh-autoswitch runs on Windows and is available for 64-bit (x64), ARM64 systems.
How do I uninstall gh-autoswitch?
Open Settings › Apps › Installed apps, find gh-autoswitch and select Uninstall. From the command line, run winget uninstall --id=pbrouillet.gh-autoswitch -e.
Is there a portable version of gh-autoswitch?
Yes. gh-autoswitch is available as a portable ZIP archive (gh-autoswitch-v1.1.2-x86_64-pc-windows-msvc.zip, 64-bit (x64)) that runs without installation. Copy it to any folder or USB drive and run it from there.
Alternatives to gh-autoswitch
Other Development kits programs for Windows from different developers.