https://pulumi.com logo
#general
Title
# general
f

full-dress-10026

10/05/2018, 4:04 PM
Is there a way to install a specific version of the CLI?
b

big-piano-35669

10/05/2018, 4:16 PM
There is (for the Bash-based installer). E.g.
curl -fsSL <https://get.pulumi.com> | bash -s -- --version 0.15.3
The Windows/PowerShell installer doesn't yet support this (tracked by https://github.com/pulumi/get.pulumi.com/issues/27). There are manual installation steps at https://pulumi.io/quickstart/install.html (select Manual Install in the dropdown) that will work for any OS.
f

full-dress-10026

10/05/2018, 4:17 PM
Perfect. Is there a version of
curl -fsSL <https://get.pulumi.com> | bash -s -- --version 0.15.3
that will simply install the latest? i.e.
curl -fsSL <https://get.pulumi.com> | bash -s -- --version latest
b

big-piano-35669

10/05/2018, 4:18 PM
If you run without any
--version <x>
, it will select the latest. So just
curl -fsSL <https://get.pulumi.com> | sh
There isn't a
latest
tag or anything, though, so if you're scripting it, you'd need to conditionally use one form or the other.
👌 1
5 Views