Quick Install
The fastest way to get started:- Downloads the latest binary for your platform
- Installs to
/usr/local/bin/connect - Makes the CLI available globally
- Requires no additional dependencies
Verify Installation
After installation, verify the CLI is available:Platform-Specific Instructions
- macOS
- Linux
- Windows (WSL)
- Docker
macOS Installation
Recommended: Install script- Download the latest macOS binary from releases
- Extract and move to
/usr/local/bin:
macOS Permissions
On first run, macOS may block the binary. If you see a security warning:- Go to System Preferences → Security & Privacy
- Click “Allow Anyway” next to the blocked app
- Run
connect upagain
Build from Source
For development or custom builds:Development Mode
Run the entire stack locally (API + Web + Agent):First-Time Setup
After installation, authenticate:Configuration
Config File Location
Private Connect stores configuration at:- macOS/Linux:
~/.connect/config.json - Windows (WSL):
~/.connect/config.json
Multiple Agents
Run multiple agents on the same machine with different configs:Environment Variables
Configure via environment variables:Update
Update to the latest version:Uninstall
Remove Private Connect:Next Steps
Quickstart
Create your first tunnel in under 2 minutes
CLI Reference
Complete command reference and options
Background Daemon
Run Private Connect as a background service
CI/CD Integration
Use Private Connect in GitHub Actions, GitLab CI, and more
Troubleshooting
Binary not found
Make sure/usr/local/bin is in your PATH:
Permission denied
Make sure the binary is executable:macOS security warning
Remove quarantine attribute:Installation fails
Try manual installation:- Download binary from releases
- Extract and copy to
/usr/local/bin/ - Make executable:
chmod +x /usr/local/bin/connect