If you are new to the world of UNIX, you may find it difficult to understand at first. This guide is not meant to be comprehensive, so we recommend that you use the many available Internet resources to become acquainted with UNIX basics (search for "UNIX basics" or "UNIX tutorial").
To install a basic Cygwin environment, run the
setup.exe program and click
at each page. The default settings are correct for most users. If you
want to know more about what each option means, see
the section called “Internet Setup”. Use setup.exe
any time you want to update or install a Cygwin package. If you are
installing Cygwin for a specific purpose, use it to install the tools
that you need. For example, if you want to compile C++ programs, you
gcc-g++ package and probably a text
nano. When running
setup.exe, clicking on categories and packages in the
package installation screen will provide you with the ability to control
what is installed or updated.
Another option is to install everything by clicking on the
Default field next to the
category. However, be advised that this will download and install
several hundreds of megabytes of software to your computer. The best
plan is probably to click on individual categories and install either
entire categories or packages from the categories themselves.
After installation, you can find Cygwin-specific documentation in
Developers coming from a Windows background will be able to write console or GUI executables that rely on the Microsoft Win32 API instead of Cygwin using the mingw32 or mingw64 cross-compiler toolchains. The -shared option to GCC allows to write Windows Dynamically Linked Libraries (DLLs). The resource compiler windres is also provided.