laravel create project command with version code example
Example 1: laravel create project command with version
composer create-project --prefer-dist laravel/laravel blog "6.*"
Example 2: create laravel project specific version
composer create-project laravel/laravel="5.1.*" appName
Example 3: install laravel on windows
composer global require laravel/installer
Example 4: install laravel on windows
composer global require "laravel/installer=~1.1"