Skip to main content
Version: v1.7.x

Updating Zowe CLI

Zoweâ„¢ CLI is updated continuously. You can update Zowe CLI to a more recent version using online registry method or the local package method. However, you can only update Zowe CLI using the method that you used to install Zowe CLI.

(Optional) Identify the currently installed version of Zowe CLI#

Issue the following command:

zowe -V

(Optional) Identify the currently installed versions of Zowe CLI plug-ins#

Issue the following command:

zowe plugins list

Update Zowe CLI from the online registry#

You can update Zowe CLI to the latest version from the online registry on Windows, Mac, and Linux computers.

Note: The following steps assume that you set the npm registries for the @brightside scopes as described in Installing Zowe CLI from an online registry.

Follow these steps:

  1. Issue the following command to update Zowe CLI to the most recent @lts-incremental version:

    npm install -g @brightside/core@lts-incremental
  2. Reinstall the plug-ins and update existing plug-ins using the following command:

    zowe plugins install @brightside/cics@lts-incremental @brightside/db2@lts-incremental
  3. Recreate any user profiles that you created before you updated to the latest version of Zowe CLI.

Update or revert Zowe CLI to a specific version#

Optionally, you can update Zowe CLI (or revert) to a known version. The following example illustrates the syntax to update Zowe CLI to version 3.3.1:

npm install -g @brightside/core@3.3.1

Update Zowe CLI from a local package#

To update Zowe CLI from an offline (.tgz), local package, uninstall your current package then reinstall from a new package using the Install CA Brightside from a Local Package instructions. For more information, see Uninstalling Zowe CLI from the desktop and Installing Zowe CLI from a local package.

Important! Recreate any user profiles that you created before the update.