Install CLI
You install the IBM® webMethods Cloud Container CLI (wmcc-cli) using the NPM registry.
Overview
This section describes tasks such as installing the CLI and specifying credentials to connect to IBM webMethods Cloud Container.
Before you begin
Before you install wmcc-cli from the NPM registry, do the following:
- Install the NodeJS runtime environment version 10.13 or later on your computer along with NPM (Node's package manager).

IBM webMethods Cloud Container CLI is available for the following operating system environments:
Windows
Linux®
macOS
- Open a command line interface and type the following command to install wmcc-cli:
npm install -g @softwareag/wmcc-cli
Specify the credentials to connect to IBM webMethods Cloud Container
To connect to IBM webMethods Cloud Container, you must configure the credentials in one of the following ways:
Specify the credentials in the config.json file
- Create a config.json file under %appdata%/wmcc-cli/ location for Windows or /home/wmcc-cli/ in LInux.
- Add new profiles in the config.json file.
The following is an example of default and referenced profile in the configuration file.
{
"default": {
"url": "https://{subdomain}.container.webmethodscloud.com",
"userName": "userName",
"password": "password"
},
"someotherProfile": {
"url": "https://{subdomain}.container.webmethodscloud.com",
"userName": "userName",
"password": "password"
}
}
By default, the 'default' settings are read from the configuration file. To enable the referenced profile, run the following command:
wmcc-cli --profile someotherProfile
Specify credentials as runtime arguments
- When you start the CLI, credentials are passed as a runtime argument. For example:
wmcc-cli --mode interactive --url <url> --userName <userName>
--password <password>