To install the laravel you first install compose and then write the following command
composer global require laravel/installer
it will install laravel globally to the system so that anywhere in the system we can use the laravel framework
New App
to create new app with laravel you have to type the following command in the terminal
laravel new {project_name}