The Automation API is now available. No CLI. No human-in-the-loop. Just your code. Learn More

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 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, you’ll install the required language runtime, if you haven’t already.

Install Language Runtime

Choose Your Language

Install Node.js.

Install Python version 3.6 or later.

Install Go.

Install .NET Core 3.1 SDK or later.

Finally, you’ll configure AWS.

Configure AWS

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

If you have multiple AWS profiles set up, specify a different profile using one of the following ways:

  • Set AWS_PROFILEas an environment variable, or
  • After creating your project in the next step, run pulumi config set aws:profile <profilename>. See AWS Configuration for more configuration options.

Next, you’ll create a new project.