rpk version

Prints the current rpk and Redpanda version.

This command prints the current rpk version and allows you to list the Redpanda version running on each node in your cluster.

To list the Redpanda version of each node in your cluster you may pass the Admin API hosts using flags, profile, or environment variables.

To get only the rpk version, use rpk --version.

Usage

rpk version [flags]

Global flags

Value Type Description

--config

string

Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml.

-X, --config-opt

stringArray

Override rpk configuration settings; -X help for detail or -X list for terser detail.

--ignore-profile

bool

Ignore rpk.yaml and redpanda.yaml; use default settings.

--profile

string

rpk profile to use.

-v, --verbose

bool

Enable verbose logging.