Hacker News new | ask | show | jobs
by Taren 3868 days ago
Alright, let's be fair here. If you have a sensible execution policy set which you basically have to the first time you use powershell it is only:

Invoke-WebRequest https://dist.asp.net/dnvm/dnvminstall.ps1 | Invoke-Expression

or this for short:

iwr https://dist.asp.net/dnvm/dnvminstall.ps1 | iex

Also, the powershell package manager is quite nice. So far it is basically chocolatey for me but if there are some more it can handle in the future... https://github.com/OneGet/oneget/issues/77

2 comments

Yeah, unfortunately that nice clean syntax requires a fairly recent version of PowerShell so the code we actually use has to be a bit verbose for compat :)

Source/Disclaimer: I work for the ASP.NET team

heh, the Microsoft curl|sh.
Yeah, they copied a lot of the syntax over. To the point that there is an alias for curl by default. Probably a good thing, though.