Skip to main content
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).

Prerequisites

  • Python 3.12+ - Required for CLI operation
  • Terminal access - Command-line interface
  • Internet connection - For installation and API access
The quick install script handles everything automatically, including PEP 668 environments on macOS/modern Linux:
This script:
  • 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
Expected Output:

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:
Or reinstall using your original installation method:

Post-Installation Setup

After installation, complete first-time setup:
The setup wizard will:
  1. Guide you through authentication
  2. Help you create an API key
  3. Configure default settings
  4. Test your connection
Or set up manually:

Troubleshooting

Command Not Found

If hopx command is not found: Linux/macOS:
Windows:

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.

Next Steps