Skip to content

Instantly share code, notes, and snippets.

@dgleba
Last active September 14, 2017 02:33
Show Gist options
  • Save dgleba/2c7c5f916105525d0bd871d3e3b018f1 to your computer and use it in GitHub Desktop.
Save dgleba/2c7c5f916105525d0bd871d3e3b018f1 to your computer and use it in GitHub Desktop.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
works...
download cygwin-x86_64.exe
put it in c:\p2\cygwin64localpackages\
mkdir c:\p2\cygwin64localpackages\
wget -N http://www.cygwin.com/setup-x86_64.exe
powershell
cd \p2
cd cygwin64localpackages
# this downloaded, but didn't get the correct size of file.
iwr -outf setup-x86_64.exe http://www.cygwin.com
exit
C:\p2\cygwin64localpackages\setup-x86_64.exe -q -n -N -d -A -R c:\p2\cygwin64 -l c:\p2\cygwin64localpackages -P rsync,expect,git,wget,tcl curl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment