Updating Zowe CLI
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
- (Optional) Identify the currently installed versions of Zowe CLI plug-ins
- Update Zowe CLI from the online registry
- Update or revert Zowe CLI to a specific version
- Update Zowe CLI from a local package
(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 listUpdate 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:
Issue the following command to update Zowe CLI to the most recent
@lts-incrementalversion:npm install -g @brightside/core@lts-incrementalReinstall the plug-ins and update existing plug-ins using the following command:
zowe plugins install @brightside/cics@lts-incremental @brightside/db2@lts-incrementalRecreate 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.1Update 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.