Integration Cloud 6.1.0 | Switch to Cloud Deployment | Cloud Deployment CLI | Install Cloud Deployment CLI
 
Install Cloud Deployment CLI
Overview
You install the Cloud Deployment CLI (wmcc-cli) using the NPM registry. This section describes tasks such as installing the Cloud Deployment CLI and specifying credentials to connect to Cloud Deployment.
Actors
Administrators
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).
The Cloud Deployment 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 wmcc-cli
Specify the credentials to connect to Cloud Deployment
To connect to Cloud Deployment, you must configure the credentials in one of the following ways:
*Specify the credentials in 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}.webmethodscloud.com",
"userName": "userName",
"password": "password”
},
"someotherProfile": {
"url": "https://{subdomain}.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 –-mode interactive –-url <url> –-userName <userName>
--password <password>
Note:
Runtime arguments will have the highest priority. However, If runtime arguments are not passed, then the default profile from %appdata%/wmcc-cli/config.json is used.