Installation¶
This guide covers all installation methods for GitBridge, including optional components for corporate environments.
System Requirements¶
Minimum Requirements¶
- Python: 3.10 or higher
- Operating System: Windows 10+, macOS 10.14+, or Linux (Ubuntu 18.04+)
- Memory: 512 MB RAM
- Disk Space: 100 MB for GitBridge + space for repositories
- Network: HTTPS access to github.com
Recommended Requirements¶
- Python: 3.11 or higher
- Memory: 2 GB RAM
- For Browser Mode: Chrome/Chromium browser
Installation Methods¶
Method 1: From PyPI (Recommended)¶
GitBridge is available on PyPI as gitbridge:
| Bash | |
|---|---|
Note for Windows users: Windows-specific dependencies (pypac, wincertstore, pywin32) are automatically installed when you install GitBridge on Windows.
Method 2: Using uv¶
uv is a fast Python package manager that handles virtual environments automatically:
Method 3: From Source¶
Install directly from the GitHub repository:
| Bash | |
|---|---|
Optional Dependencies¶
GitBridge has several optional dependency groups for specific features:
Browser Automation¶
For browser-based synchronization fallback:
| Bash | |
|---|---|
This installs: - playwright: Browser automation framework
Windows Platform Support¶
Note: Windows dependencies are automatically installed on Windows systems. You don't need to specify them manually.
The following are included automatically on Windows: - pypac: PAC file parsing and proxy detection - wincertstore: Windows certificate store access - pywin32: Windows API access
Development Dependencies¶
For contributing to GitBridge:
| Bash | |
|---|---|
This installs: - pytest: Testing framework - pytest-cov: Coverage reporting - ruff: Linting and formatting - mypy: Type checking - Type stubs for better IDE support
All Extras¶
Install all optional dependencies:
Browser Mode Setup¶
If you plan to use the browser automation fallback method, you need:
1. Install Chrome or Chromium¶
Download from Google Chrome or use:
| PowerShell | |
|---|---|
2. Install Playwright Browsers¶
Playwright manages browser binaries automatically:
Verification¶
After installation, verify GitBridge is working:
| Bash | |
|---|---|
Expected output:
Corporate Environment Setup¶
For corporate environments with special requirements:
1. Behind a Proxy¶
| Bash | |
|---|---|
2. Custom Certificate Bundle¶
| Bash | |
|---|---|
3. Offline Installation¶
For air-gapped environments:
| Bash | |
|---|---|
Updating GitBridge¶
Update to Latest Version¶
| Bash | |
|---|---|
Check for Updates¶
| Bash | |
|---|---|
Uninstallation¶
To completely remove GitBridge:
| Bash | |
|---|---|
Troubleshooting Installation¶
Common Issues¶
Python Version Error
GitBridge requires Python 3.10+. Check your version:
| Bash | |
|---|---|
Use python3 if needed:
| Bash | |
|---|---|
SSL Certificate Error
For SSL errors in corporate environments:
| Bash | |
|---|---|
Getting Help¶
If you encounter issues:
- Check Troubleshooting Guide
- Search GitHub Issues
- Create a new issue with:
- Python version (
python --version) - GitBridge version (
gitbridge --version) - Full error message
- Operating system details
Next Steps¶
Now that GitBridge is installed:
- Quick Start Guide - Start syncing repositories
- Configuration - Set up your preferences
- Authentication - Access private repositories