Skip to main content
Version: 2.x

PX CLI Release Notes

PX CLI is a unified command-line interface for secure, remote access to all Portworx services. You can manage Portworx Enterprise, PX-CSI and Portworx Backup clusters without SSH access to nodes, using TLS-encrypted connections and native Kubernetes RBAC integration. The CLI supports multiple output formats and runs as either a standalone binary (px) or a kubectl plugin (kubectl px).

If you’re setting up PX CLI for the first time, see Install PX CLI. If you already use PX CLI, upgrade to the latest version. For upgrade instructions, see Upgrade PX CLI.

PX CLI 2.0.0​

November 12, 2026

What's new​

PX CLI​

  • Upgrade with px upgrade: The px upgrade command replaces px utilities upgrade, which is removed. You can now upgrade px and each component separately:

    • px upgrade upgrades px and kubectl-px.
    • px upgrade <component> upgrades one component: pxe, pxb, or csi.
    • px upgrade --all upgrades every installed component that is behind.

    Use --version to select a version and --list-versions to list the available versions. The upgrade runs in your terminal on Linux, macOS, and Windows. If an upgrade fails or you interrupt it, PX CLI restores the previous binaries. Use px config to set the download repository, the upgrade timeout, and the notice about newer versions. To move from PX CLI 1.x to 2.x, see Upgrade PX CLI. For the px config options, see Configure the upgrade settings.

PX PXE CLI​

This release adds commands to list Kube Datastores and virtual machines, and changes how px pxctl selects a node.

  • List and describe Kube Datastores: Use px pxe get kubedatastore (aliases kds and kubedatastores) to list Kube Datastores with their volume counts, and px pxe describe kubedatastore to show the details of one. Use -o wide to include the affinity and pending-move columns. For more information, see px pxe get and px pxe describe.

  • List and describe virtual machines: Use px pxe get virtualmachine (aliases vm and vms) to list the virtual machines that have Portworx volumes, along with the Kube Datastores that their volumes use, and px pxe describe virtualmachine to show the details of one. For more information, see px pxe get and px pxe describe.

  • Filter volumes by virtual machine or Kube Datastore: px pxe get volume now supports the --vm flag to show the volumes of a virtual machine, and the --kube-datastore flag (alias --kds) to show the volumes on a Kube Datastore. For more information, see px pxe get volume.

  • SDK version: px pxe version --sdk shows the SDK version and details. For more information, see px pxe version.

  • px pxctl node flag renamed: This is a breaking change. The -n and --node flags of px pxctl, which select the Portworx pod to run pxctl in, are renamed to -N and --px-node. The old names collided with the --node flag of several pxctl subcommands, such as cordon-attachments, uncordon-attachments, and drain-attachments submit.

  • Clean JSON output and --px.v flag for px pxctl: px pxctl no longer prints the Running pxctl on node <node> line in its output, so you can parse JSON output with tools such as jq. The message is now an info-level log. Use the new --px.v verbosity flag, for example --px.v=3, to see it.

PX PXB CLI​

This release adds bulk deletion for backups, more filters for backup schedules, and new commands for restores.

  • Bulk backup deletion: px pxb delete backup can now delete multiple backups. Select the backups with --include-filter, --include-objects, --exclude-filter, --exclude-objects, --backup-location-ref, or --cluster-scope, narrow them with --status, --owners, --backup-object-type, --backup-schedule-refs, --schedule-policy-refs, --start-time, or --end-time, and confirm with --acknowledge. For more information, see px pxb delete backup.

  • More filters for backup schedules: px pxb delete backupschedule, px pxb resume backupschedule, px pxb suspend backupschedule, and px pxb update backupschedule now support --backup-location-refs and --owners, and px pxb delete backupschedule supports --run-state, to select schedules in bulk. For more information, see px pxb delete backupschedule.

  • px pxb get commands for restores: Use px pxb get restore-cr to download the restore custom resource for a restore, or print its location with --print-location-only. Use px pxb get restoreResourceDetail to show the per-virtual-machine resources of a virtual machine restore in JSON or YAML. For more information, see px pxb get restore-cr and px pxb get restoreResourceDetail.

In this topic: