docs icon indicating copy to clipboard operation
docs copied to clipboard

Provider a powershell command to install/update

Open mikhailshilkov opened this issue 6 years ago • 3 comments

I installed a new Pulumi CLI version several dozens of times, but I still don't know how to do so easily. I basically google "pulumi install windows", then copy-paste the long unreadable command.

The command wouldn't work in Powershell that I already have open, so I have to open a cmd window which will run another Powershell window. If I want to run in Powershell directly, I need to cut out the iex ((New-Object System.Net.WebClient).DownloadString('https://get.pulumi.com/install.ps1')) command correctly and exactly.

Ideas:

  1. Provide a Powershell command to copy-paste.
  2. If I already have a CLI installed, there could be a command to upgrade it without google.
  3. Chocolatey (and/or other package managers) support as in pulumi/pulumi#1536

mikhailshilkov avatar Sep 05 '19 19:09 mikhailshilkov

@mikhailshilkov as we ship chocolatey, can we close this out?

stack72 avatar Dec 31 '20 01:12 stack72

I guess a Powershell command in the docs would still make sense. Should I move to docs?

mikhailshilkov avatar Dec 31 '20 08:12 mikhailshilkov

yeah I think that works

stack72 avatar Dec 31 '20 17:12 stack72