This page is a reference for Cygwin's setup project, which is a tool for installing Cygwin over the internet, or from a local directory.
If you want information on how to use setup to install Cygwin, read the Setting Up Cygwin page. For more information on creating packages that setup understands, read the Cygwin Packages page. Instructions on creating a local mirror with or without custom Cygwin packages can be found on the package server page.
setup source code is available via git. The sources can be viewed using gitweb.
For development, check out the sources like this:
git clone git://cygwin.com/git/cygwin-apps/setup.gitand, if you have commit rights on the repository (you will know if you do), configure pushing:
git remote set-url origin --push ssh://firstname.lastname@example.org/git/cygwin-apps/setup.git
For instructions on how to build setup, see the README file included in its source.