To install Laravel first install composer
You can install composer by given link : https://getcomposer.org/download/
Then run below commands in command prompt :
composer global require laravel/installer
laravel new laravel_10_project
cd laravel_10_project
php artisan serve
OR You can use below Command :
composer create-project --prefer-dist laravel/laravel laravel_10_project
composer create-project laravel/laravel:^10.0 laravel_10_project