Download and Install

This page contains detailed instructions for installing Pulumi on your machine. For links to detailed release notes, see the Available Versions page.

Installing Pulumi

macOS Sierra (10.12) or later is required.

Homebrew

You can install Pulumi through the Homebrew package manager:

$ brew install pulumi

This will install the pulumi CLI to the usual place (often /usr/local/bin/pulumi) and add it to your path.

Subsequent updates can be installed in the usual way:

$ brew upgrade pulumi

MacPorts

You can install Pulumi through the MacPorts package manager:

$ sudo port install pulumi

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

Subsequent updates can be installed through the upgrade outdated command:

$ sudo port upgrade outdated

Installation Script

Alternatively, you can run our installation script.

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

This will install the pulumi CLI to ~/.pulumi/bin and add it to your path. When it can’t automatically add pulumi to your path, you will be prompted to add it manually. See How to permanently set $PATH on Unix for guidance.

The installer script can be rerun to subsequently install new updates.

Manual Installation

If you do not wish to use the previous options, you can install Pulumi manually.

  1. Download Pulumi 2.23.1 for macOS. For prior versions and release notes, see the Available Versions page.
  1. Extract the tarball and move the binaries in the pulumi directory to a directory included in your system’s $PATH.

Installation Script

To install, run our installation script:

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

This will install the pulumi CLI to ~/.pulumi/bin and add it to your path. When it can’t automatically add pulumi to your path, you will be prompted to add it manually. See How to permanently set $PATH on Unix for guidance.

Manual Installation

Alternatively, you can install Pulumi manually. We provide a prebuilt binary for Linux.

  1. Download Pulumi 2.23.1 for Linux x64. For prior versions and release notes, see the Available Versions page.
  1. Extract the tarball and move the binaries in the pulumi directory to a directory included in your system’s $PATH.

Windows 8 and 10 are supported.

Chocolatey

You can install Pulumi using elevated permissions through the Chocolatey package manager:

> choco install pulumi

This will install the pulumi CLI to the usual place (often $($env:ChocolateyInstall)\lib\pulumi) and generate the shims (usually $($env:ChocolateyInstall)\bin) to add Pulumi your path.

Subsequent updates can be installed in the usual way:

> choco upgrade pulumi

Installation Script

  1. Open a new command prompt window (WIN+R: cmd.exe):

  2. Run our installation script:

> @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; 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.

Manual Installation

Alternatively, you can install Pulumi manually.

  1. Download Pulumi 2.23.1 for Windows x64. For prior versions and release notes, see the Available Versions page.
  1. Unzip the file and extract the contents to a folder such as C:\pulumi.

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

Verifying your Installation

After installing Pulumi, verify everything is in working order by running the pulumi CLI:

$ pulumi version
v2.23.1
$ pulumi version
v2.23.1
> pulumi version
v2.23.1

Pulumi Not Found Error

If you get an error that pulumi could not be found, it means your path has not been configured correctly. Verify that your system’s $PATH contains the directory containing the pulumi CLI installed earlier.

New Version Warning

If a new version of Pulumi is available, the CLI produces the following example warning when running any of the available commands:

warning: A new version of Pulumi is available. To upgrade from version '0.17.26' to '2.23.1', run
   $ curl -sSL https://get.pulumi.com | sh

or visit https://pulumi.com/docs/reference/install/ for manual instructions and release notes.

warning: A new version of Pulumi is available. To upgrade from version '0.17.26' to '2.23.1', run
   $ curl -sSL https://get.pulumi.com | sh

or visit https://pulumi.com/docs/reference/install/ for manual instructions and release notes.

warning: A new version of Pulumi is available. To upgrade from version '0.17.26' to '2.23.1', run
   > "%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'))"

or visit https://pulumi.com/docs/reference/install/ for manual instructions and release notes.

Upgrading Pulumi

If you are upgrading to Pulumi 3.0, please see our migration guide.

Installing Betas and Previous Versions

You can find the list of versions on the Available Versions page.

Installation Script

$ curl -fsSL https://get.pulumi.com | sh -s -- --version <version>

Installation Script

To install, run our installation script:

$ curl -fsSL https://get.pulumi.com | sh -s -- --version <version>

Chocolatey

You can specify a specific version with Chocolatey package manager:

> choco install pulumi --version <version>

Installation Script

  1. Open a new command prompt window (WIN+R: cmd.exe):

  2. Run our installation script (replace <version> with the version number):

> @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $version = '<version>'; iex ((New-Object System.Net.WebClient).DownloadString('https://get.pulumi.com/install.ps1')).Replace('${latestVersion}', $version)" && SET "PATH=%PATH%;%USERPROFILE%\.pulumi\bin"

Uninstalling Pulumi

To uninstall Pulumi, remove the .pulumi folder from your home directory. If you installed Pulumi manually, you should also remove the pulumi folder that was created.