Can't install desired version of Laravel [duplicate]
Asked Answered
W

4

6

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

Wisteria answered 1/9, 2019 at 17:47 Comment(0)
N
2

I recently, updated all of my projects to laravel 6.0,

Laravel-6.0-Installation-Ubuntu

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.*"
Navy answered 3/9, 2019 at 20:47 Comment(0)
N
1

From today you can install laravel version 6 with this command:

composer create-project --prefer-dist laravel/laravel blog
Nord answered 3/9, 2019 at 17:4 Comment(5)
:) Thank you for help, like always helping, <3 Happy Simplicity.Navy
Thank you too @Navy :)Nord
@Navy sorry to bother but what did you mean with "Happy Simplicity"?Nord
Well as all frameworks moving up and upgrading, our coding styles becoming more minimal and of course simple.Navy
Ok I understood, sorry but I am not a mother tongue, I agree with you.Nord
S
0

It's not loaded into Packagist as an official version yet. Therefore, you need to use the "dev-develop" version which contains the latest unstable commit from GitHub:

$ composer create-project laravel/laravel laravel_6.0 dev-develop
Sorel answered 1/9, 2019 at 18:11 Comment(0)
N
-1

re setup the composer. Show php 7 version when installing.

Nadabas answered 12/1, 2020 at 19:40 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.