Use the following steps to create an IoTC package.

Prerequisites

Ensure that you have created a specification file.

Procedure

  • From the Command Line Interface tool, run the following command:
    package-cli package create <path-to-spec>
    Here, <path-to-spec> is the path to the YML file.
    Optionally, you can specify an output file using the -o flag. By default, the current directory is used as the output path. The resulting file is named {name}-{version}.iotcp.

What to do next

Upload the package using the VMware Pulse IoT Center UI or by using the Package Management CLI tool.