Step 1: Install the Greengrass Development Kit CLI - Amazon IoT Greengrass
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Step 1: Install the Greengrass Development Kit CLI

The Greengrass Development Kit CLI (GDK CLI) provides features that help you develop custom Greengrass components. You can use the GDK CLI to create, build, and publish custom components.

If you haven't installed the GDK CLI on your development computer, complete the following steps to install it.

To install the latest version of the GDK CLI
  1. On your development computer, run the following command to install the latest version of the GDK CLI from its GitHub repository.

    python3 -m pip install -U git+https://github.com/aws-greengrass/aws-greengrass-gdk-cli.git@v1.6.2
  2. Run the following command to verify that the GDK CLI installed successfully.

    gdk --help

    If the gdk command isn't found, add its folder to PATH.

    • On Linux devices, add /home/MyUser/.local/bin to PATH, and replace MyUser with the name of your user.

    • On Windows devices, add PythonPath\\Scripts to PATH, and replace PythonPath with the path to the Python folder on your device.