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.
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.
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.
After installation, you will want to configure Pulumi for your cloud provider:
If you prefer, you can download and install Pulumi manually:
Windows 8 and 10 are supported.
-
Copy the extracted zipfile contents to a folder such as
C:\pulumi
. -
Add
C:\pulumi\bin
to your path via System Properties -> Advanced -> Environment Variables -> User Variables -> Path -> Edit.
macOS Sierra (10.12) or later is required.
-
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
-
Add
/usr/local/pulumi/bin
to your path:echo "export PATH=\$PATH:/usr/local/pulumi/bin" >> ~/.profile
We provide a pre-built binary for Linux.
-
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
-
Add
/usr/local/pulumi/bin
to your path:echo "export PATH=\$PATH:/usr/local/pulumi/bin" >> ~/.profile
After installing Pulumi, verify the tool is on your path:
$ pulumi version
v{{page.installer_version}}
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.