gh-manager is a safety-first CLI + TUI for reviewing, backing up, deleting, and restoring GitHub repositories.
Default Catpucchin Mocha inspired Theme
ghauthenticated (gh auth login)git- SSH access to
git@github.com
go build -o gh-manager ./cmd/gh-managerLinux/macOS:
curl -fsSL https://raw.githubusercontent.com/pabumake/gh-manager/main/scripts/install.sh | bashWindows PowerShell:
irm https://raw.githubusercontent.com/pabumake/gh-manager/main/scripts/install.ps1 | iexUninstall one-liners:
Linux/macOS:
curl -fsSL https://raw.githubusercontent.com/pabumake/gh-manager/main/scripts/install.sh | bash -s -- --uninstallWindows PowerShell:
& ([scriptblock]::Create((irm https://raw.githubusercontent.com/pabumake/gh-manager/main/scripts/install.ps1))) -UninstallInstaller behavior:
- Linux/macOS installs
gh-managerto/usr/local/bin/gh-manager. - Windows installs to
%LOCALAPPDATA%\\Programs\\gh-manager\\bin\\gh-manager.exeand updates userPATH. - Installer auto-installs and applies
catppuccin-mocha. - Uninstaller mode removes binary and cleans PATH entry (Windows user PATH).
- If
PATHupdates are not visible immediately, open a new shell. - TUI checks for updates on startup and shows an update indicator next to version when available.
- Launch the TUI:
./gh-manager - Create and review a plan:
gh-manager planthengh-manager inspect --plan <plan.json> - Backup before deletion:
gh-manager backup --plan <plan.json> - Execute deletion safely:
gh-manager execute --plan <plan.json>
