Skip to content

Instantly share code, notes, and snippets.

@mcandre
Last active August 5, 2016 01:20
Show Gist options
  • Save mcandre/9d11979b53f10f0ebcda8854fc986b30 to your computer and use it in GitHub Desktop.
Save mcandre/9d11979b53f10f0ebcda8854fc986b30 to your computer and use it in GitHub Desktop.
How to curl webpages

Installation

PS admin C:\> choco install curl

Usage

Use curl.exe, as curl is a PowerShell token.

The same goes for wget; install via choco install wget in a terminal session with administrator privileges, then call as wget.exe to avoid stupid PowerShell built-in commands.

The same workaround is required for other unix programs as well, including tree.exe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment