how to install laravel on windows code example

Example 1: install laravel

composer create-project --prefer-dist laravel/laravel blog

Example 2: install laravel

composer create-project --prefer-dist laravel/laravel blog "6.*"

Example 3: laravel install by composer

composer create-project --prefer-dist laravel/laravel blog 
cd example-app
php artisan serve

Example 4: install laravel on windows

composer global require laravel/installer

Example 5: laravel instal

composer global require laravel/installer

laravel new example-app

php artisan serve

Example 6: laravel installer

laravel new blog