how to install artisan code example
Example: laravel instal
composer global require laravel/installer
laravel new example-app
php artisan serve
composer global require laravel/installer
laravel new example-app
php artisan serve