vincent15000's avatar

Command "laravel new test" for v9.x ?

Hello,

I'm trying to install a test project with Laravel V9.x but it doesn't work.

laravel new test

It installs me the v8.x version.

Do I have something special to do to have the v9 with the laravel command ?

Thanks for your help ;).

V

0 likes
6 replies
Sinnbeck's avatar

Did you ensure you have the newest version? composer global require laravel/installer

1 like
wingly's avatar
wingly
Best Answer
Level 29

What's your php version?

2 likes
vincent15000's avatar

@wingly Oh ... Exact !!! My PHP version is 7.4 on my Ubuntu distribution. And Laravel 9.x needs at least PHP 8.x.

1 like
wingly's avatar

I guess you figured it out :)

1 like

Please or to participate in this conversation.