Install the HopX CLI to manage cloud sandboxes from your terminal. The CLI supports multiple installation methods and works on Linux, macOS, and Windows (including WSL).Documentation Index
Fetch the complete documentation index at: https://docs.hopx.ai/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Python 3.12+ - Required for CLI operation
- Terminal access - Command-line interface
- Internet connection - For installation and API access
Quick Install (Recommended)
The quick install script handles everything automatically, including PEP 668 environments on macOS/modern Linux:- Detects your platform (Linux, macOS, Windows/WSL)
- Installs the CLI using the best method for your system
- Adds the CLI to your PATH
- Verifies the installation
Alternative Installation Methods
uv (Fastest)
uv is a fast Python package installer:pipx (Isolated)
pipx installs Python applications in isolated environments:pip (User Install)
Install directly with pip:On macOS and modern Linux systems with PEP 668, you may need to use
--user flag or a virtual environment. The quick install script handles this automatically.Verify Installation
After installation, verify the CLI is working:Update CLI
Update to the latest version:Post-Installation Setup
After installation, complete first-time setup:- Guide you through authentication
- Help you create an API key
- Configure default settings
- Test your connection
Troubleshooting
Command Not Found
Ifhopx command is not found:
Linux/macOS:
Python Version Issues
The CLI requires Python 3.12+:Permission Errors
If you encounter permission errors:PEP 668 Errors (macOS/Linux)
On systems with PEP 668 (external package managers), use--user or pipx:
Installation Verification
Test the installation:Platform-Specific Notes
Linux
Works on all major Linux distributions. The quick install script detects your distribution and uses the appropriate method.macOS
Works on macOS 10.15+. The quick install script handles Homebrew and system Python correctly.Windows
Works on Windows 10+ and Windows Subsystem for Linux (WSL). For native Windows, use WSL or ensure Python 3.12+ is installed.Related
- CLI Overview - Learn about the CLI
- CLI Quickstart - Get started with your first command
- API Key Setup - Get your API key for authentication
Next Steps
- Complete CLI Quickstart to run your first command
- Learn about Authentication for CLI access
- Explore Command Reference for all available commands

