π₯ Professional Cross-Platform Proxy Manager CLI Tool - Manage HTTP/SOCKS proxies with ease across Windows, macOS, and Linux. Features beautiful formatted output, multiple proxy protocols, authentication support, and both system-wide and local proxy server modes.
π₯ Download β’ π Usage Guide β’ β Features β’ π Report Issues
proxy manager, proxy cli, proxy tool, socks proxy, http proxy, socks5 proxy, proxy configuration, cross-platform proxy, windows proxy, macos proxy, linux proxy, command line proxy, proxy server, proxy authentication, proxy profile management
π Multi-Platform Proxy Management
- Cross-platform compatibility - Seamlessly works on Windows, macOS, and Linux
- Multiple proxy protocols - Full support for HTTP, SOCKS4, and SOCKS5 proxies
- Dual operation modes - System-wide proxy settings or local proxy server mode
π§ Advanced Proxy Configuration
- Profile management - Create, list, modify, and delete proxy configurations easily
- Secure authentication - Username/password authentication for protected proxies
- Flexible configuration - Support for various proxy server types and settings
π¨ Enhanced User Experience
- Rich formatted output - Beautiful CLI interface with colors, tables, and styled panels
- Intuitive commands - Easy-to-use command-line interface for all operations
- Interactive prompts - User-friendly confirmation dialogs and guidance
π¦ Easy Installation & Deployment
- Lightweight and portable - Minimal resource usage, easy to distribute
- Multiple installation methods - Scripts, manual installation, or standalone executables
- No external dependencies - Self-contained proxy management solution
- Python 3.6+ with pip
- Windows, macOS, or Linux operating system
Choose one of the following methods:
On Windows:
install.bat
On Linux/macOS:
chmod +x install.sh
./install.sh
- Clone or download this repository
- Create and activate a virtual environment:
# Create virtual environment python -m venv .venv # Activate virtual environment source .venv/bin/activate # Linux/macOS .venv\Scripts\activate # Windows
- Install the required dependencies:
pip install -r requirements.txt
The proxy manager CLI offers multiple ways to use it:
Simply run the tool without any arguments to access the user-friendly menu:
On Windows:
proxy-cli.bat
On Linux/macOS:
./proxy-cli.sh
This opens an interactive menu with numbered options:
- [1] π List all proxy profiles
- [2] β Add a new proxy profile
- [3] ποΈ Delete a proxy profile
- [4]
βΆοΈ Use/Activate a proxy profile - [5] β Show help and usage information
- [0] β Exit
On Windows:
proxy-cli.bat <command> [options]
On Linux/macOS:
./proxy-cli.sh <command> [options]
python main.py <command> [options]
# Windows
dist\proxy-cli.exe <command> [options]
# Linux/macOS
dist/proxy-cli <command> [options]
When you run the tool without arguments, you'll see an interactive menu:
π Welcome to Proxy Manager CLI
Available Options:
[1] π List all proxy profiles
[2] β Add a new proxy profile
[3] ποΈ Delete a proxy profile
[4] βΆοΈ Use/Activate a proxy profile
[5] β Show help and usage information
[0] β Exit
proxy-cli.bat add <name> --type <http|socks4|socks5> --host <proxy_host> --port <port_number> --username <username> --password <password>
Examples:
# Add an HTTP proxy
proxy-cli.bat add corporate_proxy --type http --host proxy.company.com --port 8080
# Add a SOCKS5 proxy with authentication
proxy-cli.bat add secure_proxy --type socks5 --host 192.168.1.100 --port 1080 --username myuser --password mypass
proxy-cli.bat list
Displays a formatted table with all proxy profiles and their details.
proxy-cli.bat delete <name>
proxy-cli.bat use <name> --mode <system|local>
System-wide proxy mode: Sets the proxy globally on your operating system.
Local proxy server mode:
Starts a local proxy server on localhost:8080
that forwards to your configured proxy.
# Access comprehensive help from the interactive menu (option 5)
# Or run the tool without arguments and select option 5
The CLI tool features beautiful, rich-formatted output including:
- Color-coded status messages
- Formatted tables for listing profiles
- Styled panels for important information
- Consistent formatting across all commands
- Interactive confirmation prompts (when available)
To create a standalone executable:
python build.py
The executable will be created in the dist/
folder and can be run without Python or dependencies.
proxy-cli/
βββ .venv/ # Python virtual environment
βββ profiles/ # Directory for proxy profiles
βββ config_manager.py # Handles proxy profile configuration
βββ proxy_server.py # Implements local proxy server functionality
βββ main.py # Main CLI application with rich formatting
βββ requirements.txt # Python dependencies
βββ build.py # Build script for creating executables
βββ README.md # This documentation
βββ USAGE.md # Complete usage guide
βββ proxy-cli.bat # Windows convenience script
βββ proxy-cli.sh # Linux/macOS convenience script
βββ install.bat # Windows installation script
βββ install.sh # Linux/macOS installation script
βββ dist/ # Directory for built executables
βββ proxy-cli.exe # Standalone executable (Windows)
- "Module not found" errors: Ensure you activated the virtual environment
- Permission errors on Windows when setting system proxy: Run as Administrator
- Rich formatting not working in some terminals: The tool will still function but with basic text formatting
- For local proxy issues: Verify that localhost:8080 is available and not in use by other applications
- Windows 10/11 Command Prompt, PowerShell
- macOS Terminal
- Linux (Ubuntu, CentOS) Terminal
- User-friendly numbered options (0-5) for easy navigation
- Guided workflows for all proxy management tasks
- Input validation and helpful error messages
- Rich visual formatting with colors and emojis
- Detailed usage documentation accessible from the menu (option 5)
- Complete feature overview with explanations
- Security best practices and troubleshooting tips
- Command-line examples for advanced users
- Fixed pausing issues - Scripts now only pause when showing the welcome menu
- Better error handling and user feedback
- Cross-platform compatibility improvements
MIT License - see LICENSE file for details.
Rezaul Karim
Email: work.rezaul@outlook.com
Powered By: REZ LAB