3 ms·
Could be worse - like when MS added curl as a powershell alias. https://github.com/PowerShell/PowerShell/pull/1901 https://github.com/PowerShell/PowerShell/pull
by TheCycoONE 7y ago
Could be worse - like when MS added curl as a powershell alias. https://github.com/PowerShell/PowerShell/pull/1901 https://github.com/PowerShell/PowerShell/pull/1901
- signal11 7y agoWindows 10 builds have included a 'real' curl for about a year now (build 1803 onwards IIRC)[1] [1] https://daniel.haxx.se/blog/2018/01/13/microsoft-curls-too/ https://daniel.haxx.se/blog/2018/01/13/microsoft-curls-too/
- smittywerben 7y agoJust to reiterate- in Windows 8/Server 2012 (PS ~3-5), writing "curl" would just alias to "Invoke-WebRequest". Prior discussion from 2016 on hn[0]. But since December 2017, Windows 10 build 1803 includes curl.exe (along with ssh!) These deprecated my use of chocolatey, and hopefully moves people away from Putty. [0] https://news.ycombinator.com/item?id=12319670 https://news.ycombinator.com/item?id=12319670
- Spivak 7y agoI really don't see what all the drama was over. Those aliases are incredibly valuable to me. I can never remember the PS equivalents of unix-y commands and those aliases let me use my current muscle memory. Sure the options are different but it's really not all that different than switching between GNU/Linux, MacOS, and BSD and having to deal with differences. PS> cd C:\Users\ PS> ls PS> wget https://example.com And it makes discovery super easy when you can Get-Help just about every unix command and it will show you more-or-less the appropriate equivalent. The thread just looks like a bunch of people with a bone to pick against MS trying to take some moral high-ground with a change that was added to genuinely help users.