Windows and MacOS: Create a project with the Laravel 12 Laragon/Herd Inertia installer

Video thumbnail

We are going to start this training this course by creating our project in Inertia, so for this remember to have your Laravel installer already installed, excuse the redundancy here:

composer global require laravel/installer

In recent versions, the installer asks you first if you want to create a project with Vue or React:

$ laravel new inertiastore

A screen like the following will appear:

 _                               _
 | |                             | |
 | |     __ _ _ __ __ ___   _____| |
 | |    / _` | '__/ _` \ \ / / _ \ |
 | |___| (_| | | | (_| |\ V /  __/ |
 |______\__,_|_|  \__,_| \_/ \___|_|


Which starter kit would you like to install?


○ None                                                     
○ React                                                    
● Vue                                                      
○ Livewire  

Select:

Vue

Next, it will ask you which authentication system you want to use:

Which authentication provider do you prefer? [Laravel's built-in authentication]:
 [laravel] Laravel's built-in authentication
 [workos ] WorkOS (Requires WorkOS account)

You can put any but in the book we will use:

laravel

Next, it will ask you which package you want to use for unit testing:

Which testing framework do you prefer? [Pest]:
 [0] Pest
 [1] PHPUnit

You can select any, in the book we selected option "1".

If you want to prepare the Node ecosystem:

Would you like to run npm install and npm run build? (yes/no) [yes]:
>

Set:

yes

Create a project in Laravel

In the previous option, we created a project in Inertia by selecting “Vue” as an option, if you do not want to create a project in Inertia but in Laravel without any additions, select “none”:

None                                                     
○ React                                                    
● Vue                                                      
○ Livewire  

Unlike the previous step, if you select none, Laravel asks for the database. The next thing it tells us here is which database we want to use. Since we are once again in a development environment, we are testing with all of this, it is recommended that you do not complicate your life too much and choose SQL Lite, especially if we are using the one that by default or, unlike Aragon, does not also have a database system that we could use, unless you want to pay for the Pro version. However, SQL Lite, both for development and also even in production, is more than enough in most cases. Otherwise, here we have MySQL, Maria db, PostgreSQL, which is also very famous, and Microsoft's SQL Server.

So, we are going to choose SQL Lite, whose main difference is that the entire database is located in a file local to the project, as we will see later. We press Enter and here it tells you if you want to execute the following commands, as it happened before:

Would you like to run npm install and npm run build? (yes/no) [yes]:
>

And that's it, with the previous steps, you have now created a base Laravel project without any additions.

Here's a video showing how you can create a project with Laragon:

Video thumbnail

I agree to receive announcements of interest about this Blog.

Let's create a Laravel Inertia project with Laravel.

- Andrés Cruz

En español

This material is part of my complete course and book; You can purchase them from the books and/or courses section, Curso y Libro primeros pasos con Laravel 12 Inertia 2 + Vue.js y Tailwind.css - 2025.