I can't Install Laravel 6.0, when I run this command:
composer create-project laravel/laravel laravel_6.0
I want to install v6.0
but it comes with v5.8.17
.
How can I download the latest version of laravel? My Php
version is 7.2.10
You will need to make sure your server meets the following requirements:
And than First, download the Laravel installer using Composer:
composer global require laravel/installer
Once installed, the laravel new
command will create a fresh Laravel installation in the directory you specify.
Alternatively, you may also install Laravel by issuing the Composer create-project command in your terminal:
composer create-project --prefer-dist laravel/laravel blog
Or
composer create-project --prefer-dist laravel/laravel blog "6.0.*"
From today you can install laravel version 6 with this command:
composer create-project --prefer-dist laravel/laravel blog
I recently, updated all of my projects to laravel 6.0,
I'm using, Ubuntu 19.04 by following command it works for my system
composer create-project --prefer-dist laravel/laravel your-project-name
Here are some few ways to install laravel by specifying version
composer create-project laravel/laravel=6.0 your-project-name --prefer-dist
composer create-project --prefer-dist laravel/laravel:6.0 your-project-name
composer create-project --prefer-dist laravel/laravel your-project-name "6.*"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With