Installing Zowe CLI and Zowe CLI plug-ins
Installing Zowe CLI and Zowe CLI plug-ins
Follow these guidelines to install Zowe™ CLI on your computer.
If you want to get started using Zowe CLI quickly, see Zowe CLI quick start. You can learn about new CLI features in the release notes.
-
As you install Zowe CLI, you might encounter error messages that relate to
cpu-features
andssh
. You can safely ignore error messages of this type; the installation completes successfully. This behavior can occur when you install CLI from npm and also from a local package. -
Linux users might need to prepend
sudo
tonpm
commands. For more information, see Known Zowe CLI issues.
Installing Zowe CLI and Zowe CLI plug-ins from a local package
To install Zowe CLI from a local package:
-
Meet the Zowe CLI software requirements.
-
Navigate to Download Zowe. In the Client-side component installer section, click the Zowe <X.Y.Z> CLI Core button (where <X.Y.Z> specifies the release number).
-
Read the End User License Agreement for Zowe and click I agree to download the core package.
zowe-cli-package-next-YYYYMMDD.zip
is downloaded to your computer (where YYYYMMDD indicates the year, month, and day of the build). -
If installing Zowe CLI plug-ins, meet the software requirements to install Zowe CLI plug-ins.
-
If installing Zowe CLI plug-ins, navigate to Download Zowe and click the Zowe <X.Y.Z> CLI Plugins button (where <X.Y.Z> specifies the release number).
-
If installing Zowe CLI plug-ins, read the End User License Agreement for Zowe and click I agree to download the plug-ins package.
zowe-cli-plugins-next-YYYYMMDD.zip
is downloaded to your computer. -
Unzip the contents of
zowe-cli-package-<X.Y.Z>.zip
(andzowe-cli-plugins-<X.Y.Z>.zip
, if downloaded) to a working directory. -
To install Zowe CLI core, open a command-line window and issue the following commands to the working directory that was used the previous step:
npm install -g zowe-cli.tgz
noteIf an
EACCESS
error displays, see Resolving EACCESS permissions errors when installing packages globally in npm Docs. -
To install all available Zowe CLI plug-ins, issue the following command to the working directory that was used in Step 7:
zowe plugins install cics-for-zowe-cli.tgz db2-for-zowe-cli.tgz zos-ftp-for-zowe-cli.tgz mq-for-zowe-cli.tgz
Zowe CLI and the optional plug-ins are installed on your computer.
Installing Zowe CLI and Zowe CLI plug-ins from an npm online registry
To install Zowe CLI from an npm registry:
-
To install Zowe CLI core, open a command-line window and issue the following command:
npm install -g @zowe/cli@zowe-v3-lts
Zowe CLI is installed.
-
If installing Zowe CLI plug-ins, meet the software requirements to install Zowe CLI plug-ins.
-
If installing all available Zowe CLI plug-ins, issue the following command:
zowe plugins install @zowe/cics-for-zowe-cli@zowe-v3-lts @zowe/db2-for-zowe-cli@zowe-v3-lts @zowe/mq-for-zowe-cli@zowe-v3-lts @zowe/zos-ftp-for-zowe-cli@zowe-v3-lts
Zowe CLI and the optional plug-ins are installed on your computer.
Other installation options
There are some users who might prefer to install Zowe CLI on the mainframe, or on an operating system where secure credential storage is not required or cannot be installed from its package.
For those users, mainframe installation offers the ability to install Zowe CLI in one place yet still be accessible to multiple mainframe developers. This can help with training purposes, or for scripts that run on both a local computer and the mainframe. These users often request instructions on mainframe installation, and they are provided here.
Note, however, that Zowe CLI was not designed for mainframe installation and unexpected behavior can occur.
Installing Zowe CLI on the mainframe is not supported by Zowe conformant support providers. By choosing this installation method, you need to perform your own independent troubleshooting if any problems arise.
Installing Zowe CLI on z/Linux
Installation steps for Zowe CLI depend on whether your z/Linux environment requires the secure credential storage.
Installing with secure credential storage
- Follow the steps in Configuring secure credential storage on headless Linux operating systems.
- Follow the steps in Installing Zowe CLI and Zowe CLI plug-ins from an npm online registry or Installing Zowe CLI and Zowe CLI plug-ins from a local package.
Installing without secure credential storage
- Follow the steps in Installing Zowe CLI and Zowe CLI plug-ins from an npm online registry or Installing Zowe CLI and Zowe CLI plug-ins from a local package.
- Follow the steps in Configuring Zowe CLI where secure credential storage is not available.
Installing Zowe CLI on a USS system, or an OS without secure credential storage
Follow the steps in Configuring Zowe CLI where secure credential storage is not available.
Next steps
After installing Zowe CLI, set environment variables, configure Zowe profiles, and, optionally, enable daemon mode.