===================================================================
Open your terminal using Ctrl+Alt+T
and type the following commands
composer global require "laravel/installer"
export PATH="~/.config/composer/vendor/bin:$PATH"
laravel new blog
cd blog
composer install
php artisan serve
Open a web browser and visit localhost:8000
to see the laravel welcome page
Terminate php server in terminal by pressing Ctrl+C
Thus you have successfully installed laravel globally.
I extend my heartfelt gratitude for your invaluable guidance. Your wisdom and support have illuminated my path, making a profound impact on my journey. Thanks to your insights, I feel better equipped to navigate challenges and pursue success. Your generosity in sharing knowledge is truly appreciated. I am fortunate to have you as a mentor.