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
Theinit command is an interactive setup wizard that helps you configure the HopX CLI for first-time use. It guides you through:
- Authentication - Browser-based OAuth login
- API Key Creation - Create and store your first API key
- Configuration - Set default settings
- Verification - Test your connection (unless
--skip-testis used)
Examples
When to Use
- First-time setup - Run
hopx initafter installing the CLI - Reconfiguration - Run
hopx initto reconfigure your CLI settings - New environment - Run
hopx initwhen setting up on a new machine
Manual Setup Alternative
If you prefer manual setup, you can configure the CLI step by step:Related
- CLI Installation - Install the CLI
- CLI Quickstart - Get started guide
- Authentication - Authentication commands
- Configuration - Configuration commands
Next Steps
- Complete CLI Quickstart to run your first command
- Learn about Authentication for API key management
- Explore Configuration to customize CLI settings

