Today I try to install specific laravel version with composer create-project laravel/laravel=5.1.8 your-project-name --prefer-dist, because some of the plugins have
composer create-project laravel/laravel=5.1.8 your-project-name --prefer-dist
Use the following command:
composer create-project laravel/laravel my_project 5.1.8
You can also specify a version and up, for example 5.1 and its patches, like so (recommended):
composer create-project laravel/laravel my_project 5.1.*