

# Step 3: Install the Amazon IoT Greengrass Core software
<a name="install-greengrass-v2"></a>

**Tip**  
We recommend you try out [Amazon IoT Greengrass AI Agents Context Pack](https://github.com/aws-greengrass/greengrass-agent-context-pack) to quickly set up and experiment with Amazon IoT Greengrass. The agent context pack will enable AI agents to set up Greengrass Nucleus and Nucleus Lite, deploy components, and troubleshoot common issues.

Follow the steps in this section to set up your Raspberry Pi as a Amazon IoT Greengrass core device that you can use for local development. In this section, you download and run an installer that does the following to configure the Amazon IoT Greengrass Core software for your device:
+ Installs the Greengrass nucleus component. The nucleus is a mandatory component and is the minimum requirement to run the Amazon IoT Greengrass Core software on a device. For more information, see [Greengrass nucleus component](greengrass-nucleus-component.md).
+ Registers your device as an Amazon IoT thing and downloads a digital certificate that allows your device to connect to Amazon. For more information, see [Device authentication and authorization for Amazon IoT Greengrass](device-auth.md).
+ Adds the device's Amazon IoT thing to a thing group, which is a group or fleet of Amazon IoT things. Thing groups enable you to manage fleets of Greengrass core devices. When you deploy software components to your devices, you can choose to deploy to individual devices or to groups of devices. For more information, see [Managing devices with Amazon IoT](https://docs.amazonaws.cn/iot/latest/developerguide/iot-thing-management.html) in the *Amazon IoT Core Developer Guide*.
+ Creates the IAM role that allows your Greengrass core device to interact with Amazon services. By default, this role allows your device to interact with Amazon IoT and send logs to Amazon CloudWatch Logs. For more information, see [Authorize core devices to interact with Amazon services](device-service-role.md).
+ Installs the Amazon IoT Greengrass command line interface (`greengrass-cli`), which you can use to test custom components that you develop on the core device. For more information, see [Greengrass Command Line Interface](gg-cli.md).

The Amazon IoT Greengrass Core software and local development tools run on your device. Next, you can develop a Hello World Amazon IoT Greengrass component on your device.