Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

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



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.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: