run composer install laravel code example
Example 1: laravel install
composer global require laravel/installer
Example 2: laravel download
composer global require "laravel/installer=~1.1"
composer global require laravel/installer
composer global require "laravel/installer=~1.1"