composer create-project laravel/laravel="5.1.*" appName
composer create-project laravel/laravel=7.0 my-project-name --prefer-dist
composer create-project --prefer-dist laravel/laravel projectName "6.0.*"
composer create-project --prefer-dist laravel/laravel projectName "7.0.*"
composer create-project --prefer-dist laravel/laravel projectName "8.0.*"
//Just change the 'x' for the version that you want
composer create-project laravel/laravel="x.*" Project
composer create-project laravel/laravel your-project-name version
composer create-project laravel/laravel="x.*" project-name