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 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, you’ll install the required language runtime, if you haven’t already.
Install Language Runtime
Choose Your Language
If you're having trouble setting up Node.js up on your machine, see Installing Node.js via Package Manager for alternative installation options.
Install Python version 3.6 or later.
pip is required to install dependencies. If you installed Python from source, with an installer
from python.org, or via
Homebrew you should already have
If Python is installed using your OS package manager, you may have to install
see Installing pip/setuptools/wheel with Linux Package Managers. For example, on Debian/Ubuntu you must run
sudo apt install python3-venv python3-pip.
If you're having trouble setting up Python on your machine, see Python 3 Installation & Setup Guide for detailed installation instructions on various operating systems and distributions.
Install .NET Core 3.1 SDK or later.
Pulumi will need the
dotnet executable in order to build and run your Pulumi .NET
application. Ensure that the
dotnet executable can be found on your path after
Finally, you’ll configure AWS.
If you have multiple AWS profiles set up, specify a different profile using one of the following ways:
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.