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