Install composer
https://getcomposer.org/download/
sudo apt install composer
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === 'dac665fdc30fdd8ec78b38b9800061b4150413ff2e3b6f88543c636f7cd84f6db9189d43a81e5503cda447da73c7e5b6') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');
any location make folder
mkdir foldername
cd foldername
run command
composer create-project laravel/laravel=11 ProjectName
or
composer create-project laravel/laravel=11 laravel
Run Server your pc ls show folder or project folder cd project foldername
cd laravel
php artisan serve
INFO Server running on [http://127.0.0.1:8000].