composer create-project laravel/laravel example-app
cd example-app
php artisan serve
composer create-project --prefer-dist laravel/laravel:^7.0 blog
composer create-project --prefer-dist laravel/laravel blog
//here blog is you project name you can change this figure
//to whatever you want to make the name of your project
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
composer create-project laravel/laravel new_project