Zowe CLI --version command does not display Release Version
search cancel

Zowe CLI --version command does not display Release Version

book

Article ID: 437381

calendar_today

Updated On:

Products

Zowe

Issue/Introduction

When running the zowe --version command, the output displays the NPM package version (e.g., 7.XX.XX) instead of the expected Zowe Release version (e.g., v2.XX.X). 

Environment

 

  • Product: Zowe CLI

  • Version: v2.x

 

Resolution

Solution 1: Update Zowe CLI to v3 (zowe-v3-lts).

The ability to report the Zowe Release version is a feature natively available in newer releases. By upgrading to Zowe v3, you can use the following command to get the exact version needed for security audits:

  • Command: zowe --version

  • Result: The output will contain a "zoweVersion" field (e.g., "v3.4.1") which explicitly confirms the Zowe Release.