Skip to content

metalcloud-cli version

Display CLI version, configuration details, and environment information

Display comprehensive version and configuration information for the Metalcloud CLI.

This command shows:

  • CLI version information and compatible Metalsoft version range
  • Current configuration settings (endpoint, security mode, logging)
  • User authentication details (when authenticated)
  • Relevant environment variables (proxy settings)

The command uses the current configuration from:

  • Configuration file (if present)
  • Environment variables
  • Command-line flags from previous commands

No additional flags are supported by this command. All information is gathered from the current CLI configuration and environment.

Examples:

metalcloud-cli version

metalcloud-cli ver

View version info with different verbosity (set globally)

Section titled “View version info with different verbosity (set globally)”

metalcloud-cli —verbosity debug version

Check version with specific endpoint configuration

Section titled “Check version with specific endpoint configuration”

metalcloud-cli —endpoint https://my.metalcloud.com version

metalcloud-cli version [flags]
-h, --help help for version
-k, --api_key string MetalCloud API key
-c, --config string Config file path
-d, --debug Set to enable debug logging
-e, --endpoint string MetalCloud API endpoint
-f, --format string Output format. Supported values are 'text','csv','md','json','yaml'. (default "text")
-i, --insecure_skip_verify Set to allow insecure transport
-l, --log_file string Log file path
-v, --verbosity string Log level verbosity (default "INFO")

Auto generated by spf13/cobra on 11-Aug-2025

Section titled “Auto generated by spf13/cobra on 11-Aug-2025”