Skip to Content

Install the MultiApps Cloud Foundry CLI Plugin

Download and install the Command Line Interface (CLI) plugin, which allows you to deploy MTA archives from the command line.
You will learn
qmacroDJ AdamsDecember 6, 2021
Created by
IObert
April 8, 2019
Contributors
qmacro
IObert
  • Step 1

    Make sure you installed the Cloud Foundry CLI successfully:

    Bash
    Copy
    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

  • Step 2

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

    Bash
    Copy
    cf install-plugin -f https://github.com/cloudfoundry-incubator/multiapps-cli-plugin/releases/latest/download/multiapps-plugin.osx
    
  • Step 3

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

    Bash
    Copy
    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.

  • Step 4

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

    Bash
    Copy
    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?

Back to top