Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I can install a cygwin package when I first install cygwin, but is there something like:

cyginstall git

kind of like apt-get?

share|improve this question

3 Answers 3

up vote 15 down vote accepted

You should be able to use setup.exe w/o the GUI:

setup.exe -q -n -N -d -R c:\cygwin -s http://yourFavoriteMirror \ 
-l c:\localPackageDir -P  <comma-separated list of packages to install>

This is from cygwin mailing list (and follow up post)

share|improve this answer
Awesome. @giant_squid's answer is helpful, but this one deserves the check mark. – Jim Stewart Mar 23 '13 at 0:54
lynx -source > apt-cyg
install apt-cyg /bin
apt-cyg install bc

Upgrading and installing packages through the Cygwin command line?

share|improve this answer

You can run setup.exe again and add/remove package, as well as the first time ;)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.