Skip to content

Instantly share code, notes, and snippets.

@bradbrowne
Created October 7, 2019 05:29
Show Gist options
  • Save bradbrowne/53d09bfa2067b290e5cd2e2dcf9fed09 to your computer and use it in GitHub Desktop.
Save bradbrowne/53d09bfa2067b290e5cd2e2dcf9fed09 to your computer and use it in GitHub Desktop.
Download Rust from behind proxy using PowerShell by setting Environment Variable
$proxy='http://bradb:password@wmn4:8080'
$ENV:HTTP_PROXY=$proxy
$ENV:HTTPS_PROXY=$proxy
cd ~\Downloads
.\rustup-init.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment