Want to learn about running containers in Lambda? Join our free hands-on workshop. Register Now

Before You Begin

Before we get started using Pulumi, let’s run through a few quick steps to ensure our environment is setup correctly.

Install Pulumi

Install Pulumi on macOS through Homebrew:

$ brew install pulumi

Install Pulumi on Linux by running the installation script:

$ curl -fsSL https://get.pulumi.com | sh

Install Pulumi on Windows through the Chocolatey package manager:

> choco install pulumi

For alternative installation instructions (e.g. script-based installation, binaries, etc.) or troubleshooting, see Download and Install.

Next, we’ll install the required language runtime.

Install Language Runtime

Choose Your Language

Install Node.js.

Install Python version 3.6 or later. To reduce potential issues with setting up your Python environment on Windows or macOS, you should install Python through the official Python installer.

Install Go.

Install .NET Core 3.1 SDK or later.

Next, we’ll configure Azure.

Configure Azure

Configure Azure so the Pulumi CLI can connect to Azure. If you have previously configured the Azure CLI, az, Pulumi will respect and use your configuration settings.

Next, we’ll create a new project.