Hacker News new | past | comments | ask | show | jobs | submit login

Assuming you're on a machine with curl or wget installed. I haven't used Windows in 20 years, but I don't believe it comes with either one by default.



Invoke-WebRequest, aliased as iwr, shipped in Windows as part of PowerShell for 6 years, will do it with no browser.


As of some recent Windows 10 build (edit: 1803 or insider 17063+), curl.exe (need to specify full executable name not just "curl", which is aliased to Invoke-WebRequest by default) is shipped by default as well. I believe it came around the same time as OpenSSH. You'll also find a tar.exe binary.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: