The release version of KlayGE can be downloaded here.
You can retrieve the development version of KlayGE through Mercurial, a distributed source control system. There are three repositories currently: