Thomas' Tech Tips

How to list installed Cygwin packages

29 April 2022 - Thomas Damgaard

Even though Windows Subsystem for Linux exists, I still use Cygwin a lot.

When I have to use Cygwin on a new machine, I like to install the same packages as I have on my regular Windows machine.

In order to do that, I need a list of installed packages.

This can be obtained with this command:

cygcheck -c -d|sed -e "1,2d" -e 's/ .*$//' > installed_packages.txt
Filed under: cygwin, howto, tips, windows

Back to article list