composer create-project laravel/laravel example-app
cd example-app
php artisan serve
composer global require laravel/installer
laravel new example-app
cd example-app
php artisan serve
just run this command(make sure to have Composer installed on your machine from: https://getcomposer.org/download/):
composer create-project laravel/laravel project-name