install laravel with version command code example
Example 1: install particular version of laravel
composer create-project laravel/laravel="5.1.*" myProject
Example 2: laravel installation
composer create-project --prefer-dist laravel/laravel blog