REM Download cygwin setup.exe to your desktop from http://www.cygwin.com/, REM Tailor USER packages, and then run this script REM Additional user packages: SET USER=vim,openssh,minterm REM Remove any previous version of cygwin rmdir /s /q c:\cygwin REM Install %HOMEDRIVE%%HOMEPATH%\Desktop\setup.exe -q -R %SystemDrive%\cygwin -P ruby,sqlite3,libsqlite3-devel,wget,make,gcc,git,curl,%USER% REM Initial login completes the cygwin setup %SystemDrive%\cygwin\bin\bash -c -l # REM Additional installation steps copy %HOMEDRIVE%%HOMEPATH%\newcygwin.sh %SystemDrive%\cygwin\home\%USERNAME%\ %SystemDrive%\cygwin\bin\bash -c -l ./newcygwin.sh REM based on: http://www.tcm.phy.cam.ac.uk/~mr349/cygwin_install.html