config command. View and modify settings, manage configuration profiles, and configure default values for commands.
Command Syntax
Subcommands
show
Show current configuration.
Syntax:
0- Success
set
Set a configuration value.
Syntax:
KEY- Configuration key (required)VALUE- Configuration value (required)
0- Success2- Invalid key or value
get
Get a configuration value.
Syntax:
KEY- Configuration key (required)
0- Success2- Key not found
path
Show configuration file path.
Syntax:
0- Success
init
Initialize configuration (interactive setup).
Syntax:
0- Success
profiles
Manage configuration profiles.
profiles list
List all configuration profiles.
Syntax:
profiles create
Create a new configuration profile.
Syntax:
PROFILE_NAME- Profile name (required)
profiles use
Switch to a configuration profile.
Syntax:
PROFILE_NAME- Profile name (required)
profiles delete
Delete a configuration profile.
Syntax:
PROFILE_NAME- Profile name (required)
Configuration Keys
Common configuration keys:default_template- Default template for sandbox creationdefault_timeout- Default timeout in secondsoutput_format- Default output format (table,json,plain)base_url- API base URL (default:https://api.hopx.dev)
Shell Scripting Examples
Configure for Different Environments
Use Profile for Single Command
Related
- CLI Quickstart - Get started with CLI
- CLI Installation - Installation and initial setup
- Authentication - Configure authentication
Next Steps
- Learn about Authentication to configure API keys
- Explore Sandbox Management to use configured defaults
- Review Environment Variables for sandbox configuration

