how to install laravel version to 6 code example
Example 1: install laravel 7
composer create-project --prefer-dist laravel/laravel:^7.0 Your project name
Example 2: how to install laravel
composer global require "laravel/installer=~1.1"
composer create-project --prefer-dist laravel/laravel:^7.0 Your project name
composer global require "laravel/installer=~1.1"