gitzy CLI Documentation
Welcome to the gitzy CLI documentation!
About
gitzy is a cross-platform command-line tool for managing and switching between multiple GitHub identities. It helps developers easily maintain separate work, personal, and alternate GitHub profiles, and switch between them with a single command. gitzy is open source, works on Windows, Linux, and macOS, and is designed for security, portability, and ease of use.
🚀 Quick Navigation
📥 Installation
Option 1: Install from GitHub Releases (Recommended)
- Go to the Releases page
- Download the appropriate binary for your platform:
| Platform | File to Download |
|---|---|
| Windows | gitzy-windows-amd64.zip |
| Linux | gitzy-linux-amd64.zip |
| macOS | gitzy-darwin-amd64.zip |
- Extract and install:
🪟 Windows
# Extract the ZIP file and run as Administrator:
install_windows.bat
🐧 Linux
wget https://github.com/gh0stfrk/gitzy/releases/latest/download/gitzy-linux-amd64.zip
unzip gitzy-linux-amd64.zip -d gitzy
cd gitzy
chmod +x install_linux.sh
./install_linux.sh
🍎 macOS
# Extract the ZIP file and run:
chmod +x install_linux.sh
./install_linux.sh
Option 2: Install with Go
go install github.com/gh0stfrk/gitzy@latest
Option 3: Build from Source
git clone https://github.com/gh0stfrk/gitzy.git
cd gitzy
make build
Verify Installation
gitzy --help
⚡ Quick Start
-
Add a new profile:
bash gitzy add work -
Switch to a profile:
bash gitzy switch work -
List all profiles:
bash gitzy list -
Remove a profile:
bash gitzy wipe work
📚 Command Reference
- gitzy - Main command overview
- gitzy add - Add a new profile
- gitzy switch - Switch between profiles
- gitzy list - List all profiles
- gitzy wipe - Remove a profile
- gitzy doctor - Troubleshooting and diagnostics
🔧 Configuration
Storage Locations
- Windows:
%USERPROFILE%\.gitzy - Linux/macOS:
~/.gitzy(respectsXDG_CONFIG_HOMEif set) - Custom: Set
GITZY_HOMEenvironment variable
Security Notes
- Tokens are stored unencrypted in the configuration directory
- Follow GitHub token best practices
- Consider using tokens with minimal required scopes
📖 For more details, see the README or view on GitHub.