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: Using pip (Standard)¶
The simplest installation method using Python's package manager:
Bash | |
---|---|
Method 2: Using uv (Recommended)¶
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:
PAC Proxy Support¶
For automatic proxy detection from PAC scripts (Windows/Chrome):
Bash | |
---|---|
This installs: - pypac
: PAC file parsing and proxy detection
Windows Certificate Support¶
For automatic certificate extraction from Windows certificate store:
Bash | |
---|---|
This installs: - 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
Full Installation¶
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 ChromeDriver¶
ChromeDriver is automatically managed by Selenium, but you can install it manually:
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