Do the following:
$ git clone https://github.com/zendframework/ZendSkeletonApplication.git zf2
$ cd zf2
$ git checkout origin/release-2.4
You will receive a message:
HEAD is now on ff7b0e4 ... Pin until 2.4.11 series
After that, just run:
$ composer install
You will have ZF 2.4.11 installed.
.