Installation and Setup

The current Pulumi SDK version is 0.14.2. For older SDK versions, please see Previous SDK Versions.

The installer script downloads and installs Pulumi, or upgrades to the latest version if you’ve already installed it.

macOS and Linux

Run the following command to install the latest version of Pulumi:

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

This will install the pulumi CLI to ~/.pulumi/bin and add it to your path.

Windows

Run the following command (in cmd.exe) to install the latest version of Pulumi:

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://get.pulumi.com/install.ps1'))" && SET "PATH=%PATH%;%USERPROFILE%\.pulumi\bin"

This will install the pulumi.exe CLI to %USERPROFILE%\.pulumi\bin and add it to your path.

Cloud Configuration

After installation, you will want to configure Pulumi for your cloud provider:

Manual Installation

If you prefer, you can download and install Pulumi manually:

macOS x64

macOS Sierra 10.12 or later is required. More information is below.

Linux x64

Pre-built binaries for most Linux distros. More information is below.

Windows x64

Windows 8 or 10 are supported. More information is below.

Windows install

Windows 8 and 10 are supported.

  1. Download Pulumi 0.14.2 for Windows x64.

  2. Copy the extracted zipfile contents to a folder such as C:\pulumi.

  3. Add C:\pulumi\bin to your path via System Properties -> Advanced -> Environment Variables -> User Variables -> Path -> Edit.

macOS install

macOS Sierra (10.12) or later is required.

  1. Download Pulumi 0.14.2 for macOS.

  2. Unzip the tarball and run the install script. After installation, you may delete the extracted folder.

    $ tar -xzf pulumi-v0.14.2-darwin-x64.tar.gz
    $ ./pulumi/install.sh 
    
  3. Add /usr/local/pulumi/bin to your path:

    echo "export PATH=\$PATH:/usr/local/pulumi/bin" >> ~/.profile
    

Linux install

We provide a pre-built binary for Linux.

  1. Download Pulumi 0.14.2 for Linux x64.

  2. Unzip the tarball and run the install script. After installation, you may delete the extracted folder.

    $ tar -xzf pulumi-v0.14.2-linux-x64.tar.gz
    $ ./pulumi/install.sh
    
  3. Add /usr/local/pulumi/bin to your path:

    echo "export PATH=\$PATH:/usr/local/pulumi/bin" >> ~/.profile
    

Verify the install

After installing Pulumi, verify the tool is on your path:

$ pulumi version
v0.14.2

Uninstalling Pulumi

To uninstall Pulumi, delete the .pulumi folder in your home directory. If you used the manual installer, you should also delete the pulumi folder that was created.