Menu

Running curl from Command Prompt, PowerShell, and PowerShell SE
🖼️
0

Running curl from Command Prompt, PowerShell, and PowerShell SE

Reading 0:00
15s threshold

Windows 11 and 10 already come with curl

https://curl.se/windows/microsoft.html

To run curl from Command Prompt, PowerShell, and PowerShell SE, type

curl -v uri

where

-v is verbose mode and uri is the one of interest.

Try it today with

uri = google.com

uri = yahoo.com

or use it on other sites, serps, …

If CMD gives you less detailed results, use PS or PS SE

Try also with/without a scheme and www. alias, with rss feeds, uri videos, etc

If you run old versions of PowerShell read about alias drawbacks

(https://daniel.haxx.se/blog/2016/08/19/removing-the-powershell-curl-alias/)

I use Windows 11 without worrying about it.

UPDATES

  1. The -v flag can be omitted with PS or PS SE.
  2. The following are all aliases in PS and PS SE: curl, wget, and iwr
  3. Examples: In PS or PS SE, try: curl yahoo.com, wget yahoo.com, or iwr yahoo.com
Read More