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: Thepx upgradecommand replacespx utilities upgrade, which is removed. You can now upgradepxand each component separately:px upgradeupgradespxandkubectl-px.px upgrade <component>upgrades one component:pxe,pxb, orcsi.px upgrade --allupgrades every installed component that is behind.
Use
--versionto select a version and--list-versionsto 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. Usepx configto 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 thepx configoptions, 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(aliaseskdsandkubedatastores) to list Kube Datastores with their volume counts, andpx pxe describe kubedatastoreto show the details of one. Use-o wideto 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(aliasesvmandvms) to list the virtual machines that have Portworx volumes, along with the Kube Datastores that their volumes use, andpx pxe describe virtualmachineto 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 volumenow supports the--vmflag to show the volumes of a virtual machine, and the--kube-datastoreflag (alias--kds) to show the volumes on a Kube Datastore. For more information, see px pxe get volume. -
SDK version:
px pxe version --sdkshows the SDK version and details. For more information, see px pxe version. -
px pxctlnode flag renamed: This is a breaking change. The-nand--nodeflags ofpx pxctl, which select the Portworx pod to runpxctlin, are renamed to-Nand--px-node. The old names collided with the--nodeflag of severalpxctlsubcommands, such ascordon-attachments,uncordon-attachments, anddrain-attachments submit. -
Clean JSON output and
--px.vflag forpx pxctl:px pxctlno longer prints theRunning pxctl on node <node>line in its output, so you can parse JSON output with tools such asjq. The message is now an info-level log. Use the new--px.vverbosity 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 backupcan 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, andpx pxb update backupschedulenow support--backup-location-refsand--owners, andpx pxb delete backupschedulesupports--run-state, to select schedules in bulk. For more information, see px pxb delete backupschedule. -
px pxb getcommands for restores: Usepx pxb get restore-crto download the restore custom resource for a restore, or print its location with--print-location-only. Usepx pxb get restoreResourceDetailto 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.