Before You Begin

Before you get started using Pulumi, let’s run through a few quick steps to ensure your environment is set up correctly.

Install Pulumi

Install Pulumi on macOS through Homebrew:

$ brew install pulumi

Install Pulumi on Linux by running the installation script:

$ curl -fsSL | sh

Install Pulumi on Windows using elevated permissions 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, install the required language runtime, if you have not already.

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.

Finally, configure Pulumi with Microsoft Azure.

Configure Pulumi to access your Microsoft Azure account

Pulumi requires cloud credentials to manage and provision resources. Pulumi can authenticate to Azure using a user account or service principal that has Programmatic access with rights to deploy and manage your Azure resources.

In this guide, you will need a user account with permissions to create and populate Blob storage containers and provide anonymous access to a Blob file.

When developing locally, we recommend that you install the Azure CLI and then authorize access with a user account.

az login

After successfully logging in, you are ready to go.

For additional information on authenticating with Azure, or to login with a service principal, see Azure Setup.

Next, you’ll create a new project.