Via Composer Create-Project
Alternatively, you may also install Laravel by issuing the Composer create-project
command in your terminal:
composer create-project --prefer-dist laravel/laravel project_name "optional_version"
Via Laravel Installer
First, download the Laravel installer using Composer:
composer global require laravel/installer
laravel new project_name