how to check laravel version in laravel docs 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