1) Using Composer
Linux User
php composer.phar create-project --repository-url="http://packages.zendframework.com" zendframework/skeleton-application path/to/install
Windows User
composer create-project --repository-url="http://packages.zendframework.com" zendframework/skeleton-application path/to/installE.g.composer create-project --repository-url="http://packages.zendframework.com" zendframework/skeleton-application c:\uniserver\www\my-first-zf22)Using Gitgit clone --recursive git://github.com/zendframework/ZendSkeletonApplication.git path/to/install
E.g.
git clone --recursive git://github.com/zendframework/ZendSkeletonApplication.git c:\uniserver\www\my-first-zf2
3)Manual
Setup the Skeleton Source Code
Download the zip file and extract into your development directory
https://github.com/zendframework/ZendSkeletonApplication/zipball/master
Setup the Zend framework 2
Download the Zend Framework 2 from here https://packages.zendframework.com/Extract the zip file into your desire directory and add the directory into your php include_path.