LinuxCommandLibrary

ibmcloud-version

TLDR

Display version

$ ibmcloud [[v|version]]
copy

SYNOPSIS

ibmcloud-version [-a | --all]

PARAMETERS

-a, --all
    Display versions of the CLI and all installed plugins

DESCRIPTION

The ibmcloud-version command (also invoked as ibmcloud version) retrieves and displays version information for the IBM Cloud Command Line Interface (CLI). It shows the core CLI version, build details, Go runtime version, architecture, and operating system specifics. This is vital for compatibility checks, debugging, and confirming updates before using IBM Cloud services.

Without options, it provides a succinct output like:
ibmcloud version
Client Version: 1.42.0+amd64-linux
Build date: 2024-01-15T12:00:00Z
With the -a flag, it lists versions of all installed plugins, aiding in managing extensions for services like Kubernetes or Functions.

Primarily used by developers and admins interacting with IBM Cloud resources via CLI, ensuring the toolset aligns with API requirements.

CAVEATS

Requires IBM Cloud CLI to be installed and in PATH; not a standard coreutils command.

TYPICAL OUTPUT

ibmcloud-version
Client Version: 1.42.0
Plugin versions shown with -a.

INSTALLATION CHECK

Use to verify post-install: curl -sL https://ibm.biz/idmcloudcli | bash for Linux setup.

HISTORY

Developed as part of IBM Cloud CLI (rebranded from Bluemix 'bx' CLI in 2018); versions track CLI evolution with plugin ecosystem support added post-2019.

SEE ALSO

Copied to clipboard