install laravel globally windows code example
Example 1: install laravel globally
composer global require laravel/installer
Example 2: install laravel on windows
composer global require "laravel/installer=~1.1"
composer global require laravel/installer
composer global require "laravel/installer=~1.1"