Created
August 12, 2012 07:46
-
-
Save peterwooley/3330530 to your computer and use it in GitHub Desktop.
Run the latest Cygwin setup.exe to install or upgrade Cygwin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run the latest Cygwin setup.exe to install or upgrade Cygwin | |
# Make sure to run `Set-ExecutionPolicy RemoteSigned` in PowerShell | |
# prior to the execution of this script. | |
$file = "$env:temp\setup.exe" | |
(new-object System.Net.WebClient).DownloadFile("http://cygwin.com/setup.exe", $file) | |
& $file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment