composer laravel version code example
Example 1: laravel create project command with version
composer create-project --prefer-dist laravel/laravel blog "6.*"
Example 2: laravel installer version
Laravel Installer Version Check
laravel -version
ex. laravel -version
Result : Laravel Installer 4.1.1
Example 3: install laravel on windows
composer global require "laravel/installer=~1.1"