Support the ongoing development of →
Laravel Installation
Last updated 2 years ago.
moderator Solution

The curl command pipes the result from to bash and execute it.

If I read the web routes url that you provided you can see that example-app can be anything you want to change the name. And you can add a php variable to the url to change the PHP version. (Example: )

But it will always execute the laravel new command form the Laravel installer. ( )

And that will be the latest version.

So in short: You can't create a project for an older Laravel version with the sail / curl install method.

(Personally I should advice you to create every new project with the latest version but I don't know your reasons to use an older version.)

Solution selected by @slinkmagic

Thanks, tvbeek.

I too think you are right that the latest version should be used. I will suggest to the company to use 9.x.

Please help me if I have any more questions after using 9.x. :)

tvbeek liked this reply


@slinkmagic If you post your questions on this forum you have a good change to get an answer :)


Sign in to participate in this thread!


Your banner here too?

shiosaba slinkmagic Joined 25 Mar 2022


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.