Laravel Installer now includes support for Jetstream

News

September 3rd, 2020

jetstream.jpg

Today the Laravel team released a new major version of “laravel/installer” that includes support for quickly starting Jetstream projects. With this new version when you run “laravel new project-name” you’ll get Jetstream options. For example:

laravel new foo --jet --dev

Then it’ll ask you which Jetstream you prefer:

Which Jetstream stack do you prefer?
  [0] Livewire
  [1] inertia
> livewire

Will your application use teams? (yes/no) [no]:
...

If you already have the installer installed, to get the version all you should need to run is composer global update but that didn’t work for me. Instead, I had to uninstall then reinstall:

composer global remove laravel/installer 
composer global require laravel/installer

Filed in:

Eric L. Barnes

Eric is the creator of Laravel News and has been covering Laravel since 2012.