Question: cygwin how to install packages from command line?
Answer: Copy the Cygwin setup program to your Cygwin directory. For 32 bit, copy setup-x86.exe to C:\cygwin . ... 
Use the setup program to install new packages from the command line.