Skip to content

Latest commit

 

History

History
145 lines (104 loc) · 4.89 KB

index.md

File metadata and controls

145 lines (104 loc) · 4.89 KB
title installer_version
Installation and Setup
0.14.2

The current Pulumi SDK version is {{ page.installer_version }}. 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 {#instructions}

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

macOS x64

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

DOWNLOAD

Linux x64

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

DOWNLOAD

Windows x64

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

DOWNLOAD

Windows install {#windows}

Windows 8 and 10 are supported.

  1. Download Pulumi {{page.installer_version}} 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 {#mac}

macOS Sierra (10.12) or later is required.

  1. Download Pulumi {{page.installer_version}} for macOS.

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

    $ tar -xzf pulumi-v{{page.installer_version}}-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 {#linux}

We provide a pre-built binary for Linux.

  1. Download Pulumi {{page.installer_version}} for Linux x64.

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

    $ tar -xzf pulumi-v{{page.installer_version}}-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
v{{page.installer_version}}

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.