Skip to main content
Run the interactive setup wizard using the init command. This guides you through first-time CLI configuration including authentication, API key creation, and initial settings.

Command Syntax

Options

  • --no-browser - Headless mode: manually paste callback URL (for servers without browsers)
  • --skip-test - Skip the sandbox test step

Description

The init command is an interactive setup wizard that helps you configure the HopX CLI for first-time use. It guides you through:
  1. Authentication - Browser-based OAuth login
  2. API Key Creation - Create and store your first API key
  3. Configuration - Set default settings
  4. Verification - Test your connection (unless --skip-test is used)

Examples

Expected Output:

When to Use

  • First-time setup - Run hopx init after installing the CLI
  • Reconfiguration - Run hopx init to reconfigure your CLI settings
  • New environment - Run hopx init when setting up on a new machine

Manual Setup Alternative

If you prefer manual setup, you can configure the CLI step by step:

Next Steps