Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

AWS IoT Greengrass Development Kit Command-Line Interface commands

Focus mode
AWS IoT Greengrass Development Kit Command-Line Interface commands - AWS IoT Greengrass

The AWS IoT Greengrass Development Kit Command-Line Interface (GDK CLI) provides a command line interface that you can use to create, build, and publish Greengrass components on your development computer. GDK CLI commands use the following format.

gdk <command> <subcommand> [arguments]

When you install the GDK CLI, the installer adds gdk to the PATH so you can run the GDK CLI from the command line.

You can use the following arguments with any command:

  • Use -h or --help for information about a GDK CLI command.

  • Use -v or --version to see what version of GDK CLI is installed.

  • Use -d or --debug to output verbose logs that you can use to debug the GDK CLI.

This section describes the GDK CLI commands and provides examples for each command. The synopsis for each command shows its arguments and their usage. Optional arguments are shown in square brackets.

Available commands
PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.