cygwin安装apt-cyg
1.wget rawgit.com/transcode-open/apt-cyg/master/apt-cyg
https://github.com/transcode-open/apt-cyg
https://github.com/transcode-open/apt-cyg
curl https://raw.githubusercontent.com/transcode-open/apt-cyg/master/apt-cyg > \
apt-cyg && install apt-cyg /bin
--用来测试:apt-cyg install nano
或者把setup-x86_64.exe(cygwin的安装exe)放在D:\Cygwin\bin(你的路径)下面,然后运行setup-x86_64.exe -q -P yum
apt-cyg install vim