Skip to Content

Install the MultiApps Cloud Foundry CLI Plugin

test
0 %
Install the MultiApps Cloud Foundry CLI Plugin
Details

Install the MultiApps Cloud Foundry CLI Plugin

October 8, 2021
Created by
April 8, 2019
Download and install the Command Line Interface (CLI) plugin, which allows you to deploy MTA archives from the command line.

You will learn

QR code


Step 1: Verify that the Cloud Foundry CLI is installed

Make sure you installed the Cloud Foundry CLI successfully:

cf --version

Now you should see the release number of the CLI you are using.

You can go to this tutorial to install the Cloud Foundry CLI if necessary

Log on to answer question
Step 2: Install the plugin

Install the plugin from the OS-specific binary, using the following command:

cf install-plugin -f https://github.com/cloudfoundry-incubator/multiapps-cli-plugin/releases/latest/download/multiapps-plugin.osx
cf install-plugin -f https://github.com/cloudfoundry-incubator/multiapps-cli-plugin/releases/latest/download/multiapps-plugin.win64
cf install-plugin -f https://github.com/cloudfoundry-incubator/multiapps-cli-plugin/releases/latest/download/multiapps-plugin.linux64
cf install-plugin -f https://github.com/cloudfoundry-incubator/multiapps-cli-plugin/releases/latest/download/multiapps-plugin.win32
cf install-plugin -f https://github.com/cloudfoundry-incubator/multiapps-cli-plugin/releases/latest/download/multiapps-plugin.linux32
Log on to answer question
Step 3: Verify the installation of the plugin

List all Cloud Foundry CLI plugins to see whether the installation worked.

cf plugins | grep multiapps   
cf plugins | find /I "multiapps"
cf plugins | grep multiapps   

You should now see the following output:

listed plugins

This list shows you all the new commands you added to the CLI. E.g., now you can run cf deploy and cf mta from the command line.

Log on to answer question
Step 4: Inspect the deploy command options

Run the following command to inspect all options for the cf deploy command:

cf deploy --help
The output of the command will show you all available options. One of which is called "--version-rule".
What values are allowed for this option?
×

Next Steps

Back to top