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 CLIIssue the following command:
#
(Optional) Identify the currently installed versions of Zowe CLI plug-insIssue the following command:
#
Update Zowe CLI from the online registryYou 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-incremental
version:Reinstall the plug-ins and update existing plug-ins using the following command:
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 versionOptionally, 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:
#
Update Zowe CLI from a local packageTo 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.