composer specify laravel version code example
Example 1: create laravel project specific version
composer create-project laravel/laravel="5.1.*" appName
Example 2: install laravel
composer global require laravel/installer
composer create-project laravel/laravel="5.1.*" appName
composer global require laravel/installer