gh-autoswitch

gh-autoswitch 1.1.2

Auto-switch the active gh account before HTTPS git remote operations, with a Ratatui config editor.

Download for Windows

About gh-autoswitch

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.

Technical details

Publisherpbrouillet
Version1.1.2
LicenseMIT
Installer typezip
Architecturex64, arm64
Package IDpbrouillet.gh-autoswitch

Install gh-autoswitch from the command line

Install with Windows Package Manager
winget install --id=pbrouillet.gh-autoswitch -e
Update to the latest version
winget upgrade --id=pbrouillet.gh-autoswitch -e
Uninstall
winget uninstall --id=pbrouillet.gh-autoswitch -e

gitgithubghclicredential-helperrust

Frequently asked questions

Is gh-autoswitch free?

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.