Is there a way to install a specific version of th...
# general
f
Is there a way to install a specific version of the CLI?
b
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
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
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